Taco Hoekwater <t...@elvenkind.com> writes: > Wolfgang Schuster wrote: >>>> >>>> So, \doifnextcharelse vs \doifnextoptionalelse. > > I still think Hans should fix that in the core, but ... > >>> Any progress on this? I'm seeing the same behavior. >> >> \startmode[whisper] >> ask Taco for a after key and use \autoinsertnextspace >> \stopmode > > can you try this in the header just to see how if it works out? > > \usemodule[bib] > \let\normaldocite\docite > \def\docite[#1][#2]% > {\normaldocite[#1][#1]\autoinsertnextspace } > > ... > \starttext
Thanks for helping out with this. Is the second "#1" supposed to be "#2"? In any case, this fix gives an error: ! You can't use `macro parameter character #' in horizontal mode. \p!doifinstringelse ...tringelse \...@ea #...@ea 1#1## 2##3\war {\unless \if #...@... \rawdodoifinsetelse ...ingelse \@@@instring {,#1,} \...@ea \firstoftwoarguments ... \addtocommalist #1#2->\rawdoifinsetelse {#1}#2 \resetglobal {\dodoglobal \ede... \doifreferencefoundelse ...ce \ifreferencefound #2 \else #3\fi \egroup \dores... \redoloop ->\expandrecursecontent \endofloop <to be read again> { ... l.1184 \completepublications[criterium=all] Jesse -- Jesse Alama (al...@stanford.edu) ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________