Am 04.12.2009 um 09:23 schrieb Taco Hoekwater:

> Michael Green wrote:
>> When using refcommand=authoryears and Mk IV the first reference is
>> formatted incorrectly.
>> 
>> There is the left parenthesis, then a line break, then the rest of the
>> reference followed by the right parenthesis.
> 
> Here is the cause: the first \cite in mkiv internally runs
> \usepublications[\jobname]. This inputs bib-test.bbl, which
> contains a \par, and that is where the new line comes from.
> 
> A workaround is to add
> 
>   \usepublications[\jobname]
> 
> in the document preamble.
> 
> It works in mkii because in mkii, that command is executed at
> \starttext.
> 
> For Hans: perhaps \usemodule[bib] should run the command? I know that
> is supposed to be obsolete, but I assume you do not want to use the
> odd logic from mkii in mkiv.

How about this:

\def\preloadbiblist
  {\globallet\preloadbiblist\relax
   \pushendofline
   \dousepublications\jobname
   \popendofline}

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to