[NTG-context] \setupitemgroup...

Otared Kavian otared at gmail.com
Wed Oct 7 12:36:16 CEST 2015


Hi Wolfgang and Willi,

Indeed I didn’t pay attention to the content of the example given by Willi… Indeed everything works fine once the spurious \startitemize\stopitemize are replaced with with \startitem\stopitem…

The full working example is here:

\setupitemgroup
      [itemize]
      [1]
      [packed,n]
      [after=]

\setupitemgroup
      [itemize]
      [2]
      [packed,a]
      [after=]
\setupitemgroup
      [itemize]
      [3]
      [packed,r]
      [after=]
      

\starttext
	\startitemize
		\startitem
			Level 1
			\startitemize
				\startitem
				Level 2
				\stopitem
				\startitem
				Level 2
				\stopitem
				\startitemize
					\startitem
						Level 3
					\stopitem
					\startitem
						Level 3
					\stopitem
				\stopitemize
			\stopitemize			
		\stopitem
		\startitem
			Level 1
		\stopitem
	\stopitemize
		More text \dots
\stoptext

> On 07 Oct 2015, at 12:13, Willi Egger <context at boede.nl> wrote:
> 
> Wolfgan and Otared,
> 
> thanks! - stupid me, this version i had before, but then I concentrated on the level two and  messed it up.
> 
> It appears, that the level two does not accept any symbol like 1,r,a. 
> 
> Kind regards
> 
> Willi
>> On 7 okt. 2015, at 11:45, Wolfgang Schuster <schuster.wolfgang at gmail.com> wrote:
>> 
>>> Otared Kavian 7. Oktober 2015 um 11:27
>>> Hi Wolfgang and Willi,
>>> 
>>> Indeed the observation made by Wolfgang is correct, but even upon following those instructions, somehow the level 2 does not work as expected:
>>> 
>> You forgot the \item for the second level entries.
>> 
>> Wolfgang
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist : ntg-context at 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
>> ___________________________________________________________________________________
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context at 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
> ___________________________________________________________________________________



More information about the ntg-context mailing list