\setupenumerations, alternative=serried is ignored when setting up multiple enumerations
Hi list, While learning the very basics of context, I stumbled upon the following bug: When I try to use \setupenumerations in the latest beta (2013.03.22 12:06) for multiple enumerations, the alternative=... is ignored for all but the first enumeration. A minimal example demonstrating what I mean is attached. This bug, however, seems not to be present in the TL version (2012.05.30) of context. I don't know if this is a well-known bug and apologize in advance if this happens to be the case. Tobias
Hi Tobias,
When I try to use \setupenumerations in the latest beta (2013.03.22 12:06) for multiple enumerations, the alternative=... is ignored for all but the first enumeration.
It's not just the enumeration; e.g. the color key, too is applied to only to the first enumeration class named. I haven't seen the idiom \setupenumerations[a,b][...] before; I have always used \setupenumerations[a][...] \setupenumerations[b][...] which works fine. Does the manual you were using mention anywhere that the [a,b] idiom should work? If it doesn't, perhaps you simply made a misassumption; if it does, someone more knowledgeable should tell us whether it is the manual or the code that is wrong. Thanks anyhow for bringing this up on the mailing list, of course. And have fun learning ConTeXt! Cheers, Sietse (Slightly changed MWE below, which shows the behaviour of serried) \defineenumeration[a] [text=a] \defineenumeration [b] [text=b] % This only sets up a \setupenumerations [a,b][alternative=serried, color=red] % This sets up both a and b % \setupenumerations [a][alternative=serried, color=red] % \setupenumerations [b][alternative=serried, color=red] \starttext \starta \input ward \stopa \startb \input ward \stopb \stoptext
Am 26.03.2013 um 12:52 schrieb Sietse Brouwer
Hi Tobias,
When I try to use \setupenumerations in the latest beta (2013.03.22 12:06) for multiple enumerations, the alternative=... is ignored for all but the first enumeration.
It's not just the enumeration; e.g. the color key, too is applied to only to the first enumeration class named.
I haven't seen the idiom \setupenumerations[a,b][...] before; I have always used \setupenumerations[a][...] \setupenumerations[b][...] which works fine. Does the manual you were using mention anywhere that the [a,b] idiom should work? If it doesn't, perhaps you simply made a misassumption; if it does, someone more knowledgeable should tell us whether it is the manual or the code that is wrong. Thanks anyhow for bringing this up on the mailing list, of course. And have fun learning
It’s a bug in the command handler, I will post a detailed description of error on the developer list. Wolfgang
Hi Sietse, Wolfgang, Thanks for your replies! Indeed, I do not have a reference to some manual. However, there is this old thread http://www.ntg.nl/pipermail/ntg-context/2010/046090.html and reading \setupenumerations in plural form, I just supposed that it should work for multiple enumerations, too. Tobias On Tue, Mar 26, 2013 at 6:09 PM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote:
Am 26.03.2013 um 12:52 schrieb Sietse Brouwer
: Hi Tobias,
When I try to use \setupenumerations in the latest beta (2013.03.22 12:06) for multiple enumerations, the alternative=... is ignored for all but the first enumeration.
It's not just the enumeration; e.g. the color key, too is applied to only to the first enumeration class named.
I haven't seen the idiom \setupenumerations[a,b][...] before; I have always used \setupenumerations[a][...] \setupenumerations[b][...] which works fine. Does the manual you were using mention anywhere that the [a,b] idiom should work? If it doesn't, perhaps you simply made a misassumption; if it does, someone more knowledgeable should tell us whether it is the manual or the code that is wrong. Thanks anyhow for bringing this up on the mailing list, of course. And have fun learning
It’s a bug in the command handler, I will post a detailed description of error on the developer list.
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________
participants (3)
-
Sietse Brouwer
-
Tobias Columbus
-
Wolfgang Schuster