alternative=d gives "attr"
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
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
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
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
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
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