ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Cecil Westerhof <cldwesterhof@gmail.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 18:26:08 +0100	[thread overview]
Message-ID: <AANLkTi=KCHuEOyM8MegfdKu9J-JBeHCwb47yRo2oGCWZ@mail.gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1103241205530.7470@ybpnyubfg.ybpnyqbznva>


[-- Attachment #1.1: Type: text/plain, Size: 1840 bytes --]

2011/3/24 Aditya Mahajan <adityam@umich.edu>
>
> 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
>>>
>>>
>> Does not work. I tried:
>>   \setupindenting[yes,medium]
>>   \setupitemize[1][indentnext=no]
>>   \setupitemgroup[itemize][indentnext=no]
>>
>>   \starttext
>>   ` Backtick\crlf
>>   ' Apostrophe\crlf
>>   ‘ Open curly quote\crlf
>>   ’ Close curly quote
>>
>>   ‘some quoted text’
>>
>>   “some doublequoted text”
>>
>>   \setupbodyfont[palatino,rm,12pt]
>>
>>   ‘some quoted text’
>>
>>   “some doublequoted text”
>>
>>   \startitemize
>>   \item Alleen een test
>>
>>   \input knuth
>>   \stopitemize
>>
>>   \stoptext
>>
>> But the first paragraph is still indented.
>>
>> I still find it strange that \head does not indent the first and \item
>> does.
>> I would expect them to behave the same.
>>
>  When using \startitemize … \stopitemize there is no indent for the first
>
> Well, you did not add indenting=next key....
>

That is the problem when you try different possibilities. :-{

I know have:
    \setupindenting[yes,medium]
    \setupitemize[1][indenting=next]
    %\setupitemize[1][indentnext=no]
    %\setupitemgroup[itemize][indentnext=no]

    \starttext

    \startitemize
    \item Alleen een test

    \input knuth
    \stopitemize

    \stoptext

Stil the same problem. I tried it also with what is now in comment.

-- 
Cecil Westerhof

[-- Attachment #1.2: Type: text/html, Size: 2707 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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 17:26 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
2011-03-24 16:02   ` Cecil Westerhof
2011-03-24 16:06     ` Aditya Mahajan
2011-03-24 17:26       ` Cecil Westerhof [this message]
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='AANLkTi=KCHuEOyM8MegfdKu9J-JBeHCwb47yRo2oGCWZ@mail.gmail.com' \
    --to=cldwesterhof@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).