From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ConTeXt <ntg-context@ntg.nl>
Subject: sorting bug in mkiv
Date: Sun, 25 Nov 2007 09:42:13 +0100 [thread overview]
Message-ID: <20071125094213.8b2eb21e.schuster.wolfgang@googlemail.com> (raw)
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 other threads:[~2007-11-25 8:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20071125094213.8b2eb21e.schuster.wolfgang@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).