ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: No indent with first paragraph with \item
Date: Thu, 24 Mar 2011 15:40:28 +0100	[thread overview]
Message-ID: <B7AF2878-2584-4BAB-86AD-D8FCA0AE282A@googlemail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1103241021270.7470@ybpnyubfg.ybpnyqbznva>


Am 24.03.2011 um 15:29 schrieb Aditya Mahajan:

> On Thu, 24 Mar 2011, Aditya Mahajan wrote:
> 
>> On Thu, 24 Mar 2011, Cecil Westerhof wrote:
>> 
>>> When using \startitemize … \stopitemize there is no indent for the first
>>> paragraph when using \head, but there is when using \item. How can I make
>>> that by \item the first paragraph also has no indentation?
>> 
>> See http://wiki.contextgarden.net/Indentation#Setting_up_indentation_inside_environments
>> 
>> What you need is
>> 
>> \setupindenting[big,yes]
>> \setupitemize[1][indenting=next]
>> 
>> \starttext
>> \startitemize
>> \item \input knuth
>> \stopitemize
>> \stoptext
> 
> Actually, in MkII indenting=yes does the right thing (no indentation of the first line). I would consider MkIV behavior a bug.

This is a feature of MkIV to allow one to indent the first paragraph of an \item (was a feature request) which isn’t possible with MkII.

\starttext
\startitemize[indenting={yes,medium}]
\item \input knuth
\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:[~2011-03-24 14:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-24  9:59 Cecil Westerhof
2011-03-24 14:20 ` Aditya Mahajan
2011-03-24 14:29   ` Aditya Mahajan
2011-03-24 14:40     ` Wolfgang Schuster [this message]
2011-03-24 16:02   ` Cecil Westerhof
2011-03-24 16:06     ` Aditya Mahajan
2011-03-24 17:26       ` Cecil Westerhof
2011-03-24 17:40         ` Wolfgang Schuster
2011-03-24 17:46           ` Cecil Westerhof
2011-03-24 17:56             ` 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=B7AF2878-2584-4BAB-86AD-D8FCA0AE282A@googlemail.com \
    --to=schuster.wolfgang@googlemail.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).