Hi,

I found a bug in the mkiv code with the \definsorting macros. When I
try to output the sorted list with \placelistofsorts ConTeXt give me
only the name of the sort list but not the list entries.

\definesorting[test][tests]

\starttext

\test[One]{one}
\test[Two]{Two}
\test[Three]{3}

text \One\ text \Two\ text \Three\ text

\placelistoftests

\stoptext

This bug did also appear with the synonym mechanism. The old mkii code
works as expected but I found a interestins side effect of the old
mechanism. ConTeXt writes the whole list entries in galley files and
one can misuse this to output the list of synonyms before the commands
are definied;-)

\definesynonyms[test][tests][\testtext]

\starttext

%\placelistoftests

\test[One]{one}{number one}
\test{Two}{Two}
\test{Three}{Three}

text \One\ text \Two\ text \Three\ text \testtext{One} text

\placelistoftests

\stoptext

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to