yes, seems like they are sorted by tag. But that’s not useful, since you cannot use numbers in a tag. This tag is just the workaround for abbreviations that include numbers.
From: ntg-context <ntg-context-bounces@ntg.nl> on behalf of luigi scarso <luigi.scarso@gmail.com>
Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Date: Thursday, June 10, 2021 at 11:35
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [NTG-context] Incorrect sorting in completelistofabbreviations for numbers
On Thu, Jun 10, 2021 at 11:08 AM Markus Brandt <markus.brandt@sit.tu-darmstadt.de> wrote:
Hi everyone,
I think I've found a sorting bug in \completelistofabbreviations in the
latest LMTX (and probably also MKIV). When using this minimal example
\abbreviation[OTT]{123}{One, Two, and Three}
\abbreviation{ABC}{A, B, and C}
\abbreviation{ZYX}{Z, Y, and X}
\starttext
\completelistofabbreviations[criterium=all]
\stoptext
I get
ABC A, B, and C
123 One, Two, and Three
ZYX Z, Y, and X
Numbers should go before letters. Do you know any workaround/fix for
that?
aren't they sorted by the tag ?
By default the synonim is the tag; only the first one has an explicit tag (OTT)
so the order is ABC, OTT, ZXY, which looks ok.
--
luigi
___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________