ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tiny failure with bib module
@ 2010-08-27 10:13 Mojca Miklavec
  2010-08-27 13:42 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: Mojca Miklavec @ 2010-08-27 10:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear Taco,

the following minimal example:

\usemodule[bib]

\startpublication
	[k=key,t=book]
	\title{Title}
	\author[]{Author}[A.]{}{The}
\stoppublication

\starttext
\cite[alternative=data][key]
\stoptext

creates an error in mkii (and works fine in mkiv):

! Undefined control sequence.
\@@pvdatabook ...up }{\egroup . }{\insertcrossref
                                                  { in~}{}{. }}}{\insertseri...

\dotypesetapublication ...ve {\getvalue {pbdt-#1}}
                                                  \fi \egroup
\next1 #1,->\dobibdata {#1}
                           \doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
                                                  ]\relax \global \advance \...

\bibdataref ...e \processcommalist [#1]\dobibdata
                                                  \bibalternative \v!right
\docite ...alue {bib\@@currentalternative ref}[#2]
                                                  \else \processcommalist [#...
l.12 \cite[alternative=data][key]

?

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tiny failure with bib module
  2010-08-27 10:13 tiny failure with bib module Mojca Miklavec
@ 2010-08-27 13:42 ` Taco Hoekwater
  2010-08-27 14:55   ` Mojca Miklavec
  2010-08-27 22:38   ` Hans Hagen
  0 siblings, 2 replies; 4+ messages in thread
From: Taco Hoekwater @ 2010-08-27 13:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 08/27/2010 12:13 PM, Mojca Miklavec wrote:
> Dear Taco,
>
> the following minimal example:
>
> \usemodule[bib]
>
> \startpublication
> 	[k=key,t=book]
> 	\title{Title}
> 	\author[]{Author}[A.]{}{The}
> \stoppublication
>
> \starttext
> \cite[alternative=data][key]
> \stoptext
>
> creates an error in mkii (and works fine in mkiv):
>
> ! Undefined control sequence.
> \@@pvdatabook ...up }{\egroup . }{\insertcrossref


This should help, somewhere after \usemodule:

   \let\insertcrossref\bibinsertcrossref

Best wishes,
Taco

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tiny failure with bib module
  2010-08-27 13:42 ` Taco Hoekwater
@ 2010-08-27 14:55   ` Mojca Miklavec
  2010-08-27 22:38   ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Mojca Miklavec @ 2010-08-27 14:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Fri, Aug 27, 2010 at 15:42, Taco Hoekwater <taco@elvenkind.com> wrote:
> On 08/27/2010 12:13 PM, Mojca Miklavec wrote:
>>
>> Dear Taco,
>>
>> the following minimal example:
>>
>> \usemodule[bib]
>>
>> \startpublication
>>        [k=key,t=book]
>>        \title{Title}
>>        \author[]{Author}[A.]{}{The}
>> \stoppublication
>>
>> \starttext
>> \cite[alternative=data][key]
>> \stoptext
>>
>> creates an error in mkii (and works fine in mkiv):
>>
>> ! Undefined control sequence.
>> \@@pvdatabook ...up }{\egroup . }{\insertcrossref
>
>
> This should help, somewhere after \usemodule:
>
>  \let\insertcrossref\bibinsertcrossref

This does help somehow: it stops complaining, but the result is totally broken.

Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: tiny failure with bib module
  2010-08-27 13:42 ` Taco Hoekwater
  2010-08-27 14:55   ` Mojca Miklavec
@ 2010-08-27 22:38   ` Hans Hagen
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2010-08-27 22:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Taco Hoekwater

On 27-8-2010 3:42, Taco Hoekwater wrote:
> On 08/27/2010 12:13 PM, Mojca Miklavec wrote:
>> Dear Taco,
>>
>> the following minimal example:
>>
>> \usemodule[bib]
>>
>> \startpublication
>> [k=key,t=book]
>> \title{Title}
>> \author[]{Author}[A.]{}{The}
>> \stoppublication
>>
>> \starttext
>> \cite[alternative=data][key]
>> \stoptext
>>
>> creates an error in mkii (and works fine in mkiv):
>>
>> ! Undefined control sequence.
>> \@@pvdatabook ...up }{\egroup . }{\insertcrossref
>
>
> This should help, somewhere after \usemodule:
>
> \let\insertcrossref\bibinsertcrossref

I've added

\let\insertcrossref\gobblethreearguments

to the mkii/mkiv files

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-08-27 22:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-27 10:13 tiny failure with bib module Mojca Miklavec
2010-08-27 13:42 ` Taco Hoekwater
2010-08-27 14:55   ` Mojca Miklavec
2010-08-27 22:38   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).