ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: itemize behaviour
Date: Thu, 5 Jul 2012 20:16:51 +0200	[thread overview]
Message-ID: <B69AA505-7D01-47E1-B64C-1708CF5BD596@gmail.com> (raw)
In-Reply-To: <C51359CE-8C7E-4130-8D13-07A6D04D51D2@uva.nl>


Am 03.07.2012 um 21:43 schrieb Meer, H. van der:

> I do not understand the workings of the itemize.
> What I want is two nested itemlists. The outer one unpacked, the inner one packed. In the inner one the itemlist should be joinedup with the text before it.
> I do not get this working, see the examples. The inner list is separated from the "Intro to inner list". It looks like the joinedup in the second example has no effect, because deleting it makes no difference. Switching the joinedup over to the outer itemize in the third example pulls everything together and destroys the unpacked of the first list.
> 
> How to achieve the following?
> ----------------------------------
> - Intro to inner list
>   o one inner list
>   o two inner list
> 
> - second outer item
> ----------------------------------

You need the “paragraph” option.

\starttext

\setupitemgroup[itemize][1][4,unpacked]
\setupitemgroup[itemize][2][5,packed,paragraph]

\startitemize
	\startitem
		Intro to inner list.
		\startitemize
			\startitem one inner list \stopitem
			\startitem two inner list \stopitem
		\stopitemize
	\stopitem
	\startitem
		second outer item
	\stopitem
\stopitemize

\stoptext

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
___________________________________________________________________________________


  reply	other threads:[~2012-07-05 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03 19:43 Meer, H. van der
2012-07-05 18:16 ` Wolfgang Schuster [this message]
2012-07-05 19:47   ` Meer, H. van der
2012-07-06  4:49     ` Wolfgang Schuster

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=B69AA505-7D01-47E1-B64C-1708CF5BD596@gmail.com \
    --to=schuster.wolfgang@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).