[NTG-context] Second level itemization and continue

Aditya Mahajan adityam at umich.edu
Fri Apr 27 01:53:11 CEST 2018


On Fri, 27 Apr 2018, N. Raghavendra wrote:

> Is it possible to use the continue option for second level itemizations?
> I am unable to make it work.  For example, the following file
>
> ------------------------------------------------------------
> \starttext
>
> \startitemize [n]
>  \startitem One
>    \startitemize [a]
>      \startitem A \stopitem
>    \stopitemize
>  \stopitem
>  \startitem Two
>    \startitemize [continue]
>      \startitem B \stopitem
>    \stopitemize
>  \stopitem
> \stopitemize
>
> \stoptext

If you are willing to define a new itemgroup for the second level, then 
the following works:

\defineitemgroup[itemizeB]
\starttext

\startitemize [n]
   \startitem One
     \startitemizeB[a]
       \startitem A \stopitem
     \stopitemizeB
   \stopitem
   \startitem Two
     \startitemizeB[continue]
       \startitem B \stopitem
     \stopitemizeB
   \stopitem
\stopitemize

\stoptext

Aditya


More information about the ntg-context mailing list