[NTG-context] alternative=d gives attr

2012-07-30 Thread 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??

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
___


Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread luigi scarso
On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@st.estfiles.dewrote:

 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
___
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
___

Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Marco Patzer
On 2012-07-30 Steffen Wolfrum cont...@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
___

Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Steffen Wolfrum

Am 30.07.2012 um 12:46 schrieb luigi scarso:

 
 
 On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@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
___


Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Wolfgang Schuster

Am 30.07.2012 um 12:51 schrieb Steffen Wolfrum cont...@st.estfiles.de:

 
 Am 30.07.2012 um 12:46 schrieb luigi scarso:
 
 
 
 On Mon, Jul 30, 2012 at 12:32 PM, Steffen Wolfrum cont...@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
___


Re: [NTG-context] alternative=d gives attr

2012-07-30 Thread Steffen Wolfrum

Am 30.07.2012 um 12:47 schrieb Marco Patzer:

 On 2012-07-30 Steffen Wolfrum cont...@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 --}

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
___
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
___