On Mon, 9 Aug 2004, Taco Hoekwater wrote:

> On Sun, 8 Aug 2004 19:25:27 +0200 (CEST), Peter wrote:
> 
> > * The lost space after \cite[...], is it a bug or a feature?
> 
> It is unintentional, and I will try to fix that behaviour in the future.

Hello Taco,
it seems that the bug is still there. After quite some time of
investigation, here comes my workaround:

\usemodule[bib]
\let\citeO\cite% original cite command
\unprotect
\def\cite{\bgroup
  \def\inspectnextcharacter{% removed treatment of blanks
    \ifx\nexttoken\charactertoken
      [EMAIL PROTECTED]
    \else
      [EMAIL PROTECTED]
    \fi}%
  \dodoubleempty\doMyCite}
\def\doMyCite[#1][#2]{%
  [EMAIL PROTECTED]@SecondArgument{n}\fi
  \egroup
  [EMAIL PROTECTED]
\protect
\starttext
bla \cite[options][key1] bla \cite[key2] bla
\placepublications
\stoptext

I think there are other commands with that behaviour, but I don't remember
which ones...

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to