alternative=d gives "attr"
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Hi, \starttext \subject{Contents} \setuplist[section][alternative=d] \placecontent \section{One} \section{Two} \stoptext while the minimal example above works nicely, my more complex project adds a "attr" in front off the section number (ie. "a"): attr a) Test one 47 attr b) Test two 51 Any idea where this "attr2 comes from, and how to get rid of it?? Second question: how can I add a separator, like this: a) Test one 47 – b) Test two 51 Thanks, Steffen
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum
Hi,
\starttext \subject{Contents} \setuplist[section][alternative=d] \placecontent \section{One} \section{Two} \stoptext
while the minimal example above works nicely, my more complex project adds a "attr" in front off the section number (ie. "a"):
attr a) Test one 47 attr b) Test two 51
Any idea where this "attr2 comes from, and how to get rid of it??
With latest mkiv I see this: Contents 1 One 1 2 Two 1 1 One 2 Two -- luigi
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Am 30.07.2012 um 12:46 schrieb luigi scarso:
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum
wrote: Hi, \starttext \subject{Contents} \setuplist[section][alternative=d] \placecontent \section{One} \section{Two} \stoptext
while the minimal example above works nicely, my more complex project adds a "attr" in front off the section number (ie. "a"):
attr a) Test one 47 attr b) Test two 51
Any idea where this "attr2 comes from, and how to get rid of it??
With latest mkiv I see this: Contents 1 One 1 2 Two 1 1 One 2 Two
me too. only my real project gives instead:
attr a) Test one 47 attr b) Test two 51
... and none of my style/environment files contain the phrase "attr"!! Steffen
![](https://secure.gravatar.com/avatar/27c34cb91f1e92bd850fe60b3d9ef336.jpg?s=120&d=mm&r=g)
Am 30.07.2012 um 12:51 schrieb Steffen Wolfrum
Am 30.07.2012 um 12:46 schrieb luigi scarso:
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum
wrote: Hi, \starttext \subject{Contents} \setuplist[section][alternative=d] \placecontent \section{One} \section{Two} \stoptext
while the minimal example above works nicely, my more complex project adds a "attr" in front off the section number (ie. "a"):
attr a) Test one 47 attr b) Test two 51
Any idea where this "attr2 comes from, and how to get rid of it??
With latest mkiv I see this: Contents 1 One 1 2 Two 1 1 One 2 Two
me too. only my real project gives instead:
attr a) Test one 47 attr b) Test two 51
... and none of my style/environment files contain the phrase "attr"!!
It comes from the lists code which contain something like “\hbox attr …” but since “attr” is a valid parameter for a box like “stretch” it shouldn’t appear in the output. Wolfgang
![](https://secure.gravatar.com/avatar/d39338246f50cca667c8256c313d7cfd.jpg?s=120&d=mm&r=g)
On 2012-07-30 Steffen Wolfrum
Any idea where this "attr2 comes from, and how to get rid of it??
Sorry, no clue.
Second question: how can I add a separator, like this:
a) Test one 47 – b) Test two 51
\setuplist [section] [alternative=d, textcommand=\SectionCommand] \define[1]\SectionCommand{#1 --} Marco
![](https://secure.gravatar.com/avatar/e79f226aa442b589932230491affa641.jpg?s=120&d=mm&r=g)
Am 30.07.2012 um 12:47 schrieb Marco Patzer:
On 2012-07-30 Steffen Wolfrum
wrote: Hi Steffen,
Any idea where this "attr2 comes from, and how to get rid of it??
Sorry, no clue.
Second question: how can I add a separator, like this:
a) Test one 47 – b) Test two 51
\setuplist [section] [alternative=d, textcommand=\SectionCommand]
\define[1]\SectionCommand{#1 --}
sorry, but this results in: 1 One – 1 2 Two – 1 what I am looking for is this: 1 One 1 – 2 Two 1 ie. a seperator between consecutive entries Steffen
participants (4)
-
luigi scarso
-
Marco Patzer
-
Steffen Wolfrum
-
Wolfgang Schuster