* alternative=d gives "attr"
@ 2012-07-30 10:32 Steffen Wolfrum
2012-07-30 10:46 ` luigi scarso
2012-07-30 10:47 ` Marco Patzer
0 siblings, 2 replies; 6+ messages in thread
From: Steffen Wolfrum @ 2012-07-30 10:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: alternative=d gives "attr"
2012-07-30 10:32 alternative=d gives "attr" Steffen Wolfrum
@ 2012-07-30 10:46 ` luigi scarso
2012-07-30 10:51 ` Steffen Wolfrum
2012-07-30 10:47 ` Marco Patzer
1 sibling, 1 reply; 6+ messages in thread
From: luigi scarso @ 2012-07-30 10:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 553 bytes --]
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum <context@st.estfiles.de>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
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 980 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: alternative=d gives "attr"
2012-07-30 10:46 ` luigi scarso
@ 2012-07-30 10:51 ` Steffen Wolfrum
2012-07-30 10:56 ` Wolfgang Schuster
0 siblings, 1 reply; 6+ messages in thread
From: Steffen Wolfrum @ 2012-07-30 10:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 30.07.2012 um 12:46 schrieb luigi scarso:
>
>
> On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum <context@st.estfiles.de> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: alternative=d gives "attr"
2012-07-30 10:51 ` Steffen Wolfrum
@ 2012-07-30 10:56 ` Wolfgang Schuster
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2012-07-30 10:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 30.07.2012 um 12:51 schrieb Steffen Wolfrum <context@st.estfiles.de>:
>
> Am 30.07.2012 um 12:46 schrieb luigi scarso:
>
>>
>>
>> On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum <context@st.estfiles.de> 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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: alternative=d gives "attr"
2012-07-30 10:32 alternative=d gives "attr" Steffen Wolfrum
2012-07-30 10:46 ` luigi scarso
@ 2012-07-30 10:47 ` Marco Patzer
2012-07-30 11:28 ` Steffen Wolfrum
1 sibling, 1 reply; 6+ messages in thread
From: Marco Patzer @ 2012-07-30 10:47 UTC (permalink / raw)
To: ntg-context
On 2012-07-30 Steffen Wolfrum <context@st.estfiles.de> 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 --}
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-07-30 11:28 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-30 10:32 alternative=d gives "attr" Steffen Wolfrum
2012-07-30 10:46 ` luigi scarso
2012-07-30 10:51 ` Steffen Wolfrum
2012-07-30 10:56 ` Wolfgang Schuster
2012-07-30 10:47 ` Marco Patzer
2012-07-30 11:28 ` Steffen Wolfrum
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).