ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: nested itemize
Date: Sun, 30 Nov 2014 21:58:38 +0100	[thread overview]
Message-ID: <1A8A8D0A-AE3F-4945-92C8-B3146E638743@gmail.com> (raw)
In-Reply-To: <CAHy-LL-vMNBJF1fKi9MYxTqw85k=9Opdikw+iNuYaVOkreNRGg@mail.gmail.com>


> On 29 Nov 2014, at 11:43, Mikael P. Sundqvist <mickep@gmail.com> wrote:
> […]
> 
> To Otared: Thank you also for replying. Your code indeed compiles, but
> the nested itemize starts on a new line, i.e.
> 
> 1
>   a
> 
> instead of
> 
> 1 a
> 
> as expected.
> 
> /Mikael

Hi again, answering partly to myself, I found the following example (which, as you may guess, was given somtime ago by… Wolfgang S.…), where one can construct itemizations with different levels of subitems: however it doesn’t give exactly what you suggest.

%%% begin subitems.tex
\setupitemgroup[itemize][1][n,repeat][width=1em]
\setupitemgroup[itemize][2][a,repeat][width=2em]
\setupitemgroup[itemize][3][n]       [width=3em]

\starttext

\startitemize
	\item Item one
	\startitemize
		\item subitem one of item one
		\startitemize
			\item sub-subitem one of subitem one
			\item sub-subitem two of subitem one
		\stopitemize
		\item subitem two of item one
		\startitemize
			\item sub-subitem one of subitem two
			\item sub-subitem two of subitem two
		\stopitemize
	\stopitemize
	\item Item two
	\startitemize
		\item subitem one of item two
		\startitemize
			\item sub-subitem one of subitem one
			\item sub-subitem two of subitem one
		\stopitemize
	\stopitemize
\stopitemize

\stoptext 
%%% end subitems.tex
___________________________________________________________________________________
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
___________________________________________________________________________________

  parent reply	other threads:[~2014-11-30 20:58 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28 18:01 Mikael P. Sundqvist
2014-11-29  9:48 ` Otared Kavian
2014-11-29 10:04 ` Hans Hagen
2014-11-29 10:43   ` Mikael P. Sundqvist
2014-11-29 10:49     ` Hans Hagen
2014-11-30 20:48     ` Otared Kavian
2014-11-30 20:58     ` Otared Kavian [this message]
2014-12-01  7:01       ` Mikael P. Sundqvist
  -- strict thread matches above, loose matches on Subject: below --
2022-09-02  9:08 Nested itemize Alexandre Christe via ntg-context
2022-09-02  9:22 ` fv leung via ntg-context
2012-04-06 15:40 Procházka Lukáš Ing. - Pontex s. r. o.
2012-04-06 16:13 ` Wolfgang Schuster
2012-04-07 15:08   ` Procházka Lukáš

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1A8A8D0A-AE3F-4945-92C8-B3146E638743@gmail.com \
    --to=otared@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).