Second level itemization and continue
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
------------------------------------------------------------
produces
1. One
a. A
2. Two
a. B
Thanks,
Raghu.
--
N. Raghavendra
At 2018-04-27T02:16:12+05:30, N. Raghavendra wrote:
Is it possible to use the continue option for second level itemizations? I am unable to make it work.
I notice that the same question was asked five years ago, with no
solution posted.
https://mailman.ntg.nl/pipermail/ntg-context/2013/071646.html
Raghu.
--
N. Raghavendra
At 2018-04-27T02:16:12+05:30, N. Raghavendra wrote:
Is it possible to use the continue option for second level itemizations? I am unable to make it work.
I thought
http://wiki.contextgarden.net/Command/head#Example
looked like a solution, but it too doesn't work.
------------------------------------------------------------
\starttext
\startitemize[packed][headstyle=bold]
\head Birds
What is water? This is a difficult question to answer,
because water is impossible to define. One could ask
the same question about birds. What {\em are} birds?
We just don't know.
\startitemize[a]
\item Toucan
\item Quetzal
\item Cassowary
\stopitemize
\head Mammals \par
\startitemize[continue]
\item Anteater
\item Sloth
\item Capybara
\stopitemize
\stopitemize
\stoptext
------------------------------------------------------------
produces
• Birds
What is water? This is a difficult question to answer, because water is
impossible to define. One could ask the same question about birds. What
are birds? We just don’t know.
a. Toucan
b. Quetzal
c. Cassowary
• Mammals
a. Anteater
b. Sloth
c. Capybara
which is not the output shown in that Wiki page.
Raghu.
--
N. Raghavendra
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
At 2018-04-26T19:53:11-04:00, Aditya Mahajan wrote:
If you are willing to define a new itemgroup for the second level, then the following works:
Thanks, that indeed works perfectly!
Raghu.
--
N. Raghavendra
participants (2)
-
Aditya Mahajan
-
N. Raghavendra