No indent with first paragraph with \item
![](https://secure.gravatar.com/avatar/3b89ade8854fe10b5e3f8c87c6fa82f5.jpg?s=120&d=mm&r=g)
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? -- Cecil Westerhof
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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_envi... What you need is \setupindenting[big,yes] \setupitemize[1][indenting=next] \starttext \startitemize \item \input knuth \stopitemize \stoptext Aditya
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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_envi...
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. I don't know what is the best solution. Perhaps changing \normalexpanded{\noexpand\setupindenting[\v!reset,\v!yes,\currentitemindenting]}% to \normalexpanded{\noexpand\setupindenting[\v!reset,\v!next,\v!yes,\currentitemindenting]}% Then, \setupitemize[1][indenting=first] will indent the first line, indenting=yes, will not (untested). Another option is to change reset so that it sets indentfirstparagraph to false, but that might create havoc at other places. Aditya
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
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_envi...
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
![](https://secure.gravatar.com/avatar/3b89ade8854fe10b5e3f8c87c6fa82f5.jpg?s=120&d=mm&r=g)
2011/3/24 Aditya Mahajan
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_envi...
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. -- Cecil Westerhof
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Thu, 24 Mar 2011, Cecil Westerhof wrote:
2011/3/24 Aditya Mahajan
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_envi...
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.
Well, you did not add indenting=next key.... Aditya
![](https://secure.gravatar.com/avatar/3b89ade8854fe10b5e3f8c87c6fa82f5.jpg?s=120&d=mm&r=g)
2011/3/24 Aditya Mahajan
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_envi...
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
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 24.03.2011 um 18:26 schrieb Cecil Westerhof:
\startitemize \item Alleen een test
This is the paragraph which is not indented.
\input knuth
This starts the second paragraph which is now indented. There is nothing wrong here. To prevent indentation you can add \noindentation at the begin of the second paragraph. Wolfgang
![](https://secure.gravatar.com/avatar/3b89ade8854fe10b5e3f8c87c6fa82f5.jpg?s=120&d=mm&r=g)
2011/3/24 Wolfgang Schuster
\startitemize \item Alleen een test
This is the paragraph which is not indented.
\input knuth
This starts the second paragraph which is now indented.
There is nothing wrong here. To prevent indentation you can add \noindentation at the begin of the second paragraph.
When using: \startitemize \item Alleen een test \input knuth \head Alleen een test \input knuth \stopitemize Then the first paragraph of knuth is not indented by head, but is indented by item. This I find not consistent. I would prefer item to work like head. -- Cecil Westerhof
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 24.03.2011 um 18:46 schrieb Cecil Westerhof:
Then the first paragraph of knuth is not indented by head, but is indented by item. This I find not consistent. I would prefer item to work like head.
\item ≠ \head If both would behave the same way there is no need to have two commands. Wolfgang
participants (3)
-
Aditya Mahajan
-
Cecil Westerhof
-
Wolfgang Schuster