ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: bibliography authoryears problem
Date: Fri, 4 Dec 2009 19:31:05 +0100	[thread overview]
Message-ID: <76287CDD-6553-4E8C-A08D-06AAD0FD99AC@googlemail.com> (raw)
In-Reply-To: <4B18C6F1.5090803@elvenkind.com>


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	other threads:[~2009-12-04 18:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-03  0:26 Michael Green
2009-12-03 17:27 ` Bernhard Rosensteiner
2009-12-03 17:36   ` Hans Hagen
2009-12-03 18:51 ` Taco Hoekwater
2009-12-04  8:23 ` Taco Hoekwater
2009-12-04 18:31   ` Wolfgang Schuster [this message]
2009-12-04 18:35     ` Hans Hagen
2009-12-04 18:43     ` Hans Hagen
     [not found] <mailman.860.1259862604.22155.ntg-context@ntg.nl>
2009-12-03 19:14 ` Michael Green
     [not found] <mailman.3.1259924403.8230.ntg-context@ntg.nl>
2009-12-04 18:19 ` Michael Green
2009-12-04 18:32   ` Hans Hagen
2009-12-04 18:38     ` Wolfgang Schuster
2009-12-04 18:46       ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=76287CDD-6553-4E8C-A08D-06AAD0FD99AC@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).