* No indent with first paragraph with \item
@ 2011-03-24 9:59 Cecil Westerhof
2011-03-24 14:20 ` Aditya Mahajan
0 siblings, 1 reply; 10+ messages in thread
From: Cecil Westerhof @ 2011-03-24 9:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 233 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 255 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No indent with first paragraph with \item
2011-03-24 9:59 No indent with first paragraph with \item Cecil Westerhof
@ 2011-03-24 14:20 ` Aditya Mahajan
2011-03-24 14:29 ` Aditya Mahajan
2011-03-24 16:02 ` Cecil Westerhof
0 siblings, 2 replies; 10+ messages in thread
From: Aditya Mahajan @ 2011-03-24 14:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: TEXT/PLAIN, Size: 523 bytes --]
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
Aditya
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No indent with first paragraph with \item
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
1 sibling, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2011-03-24 14:29 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1215 bytes --]
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.
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
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No indent with first paragraph with \item
2011-03-24 14:29 ` Aditya Mahajan
@ 2011-03-24 14:40 ` Wolfgang Schuster
0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2011-03-24 14:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No indent with first paragraph with \item
2011-03-24 14:20 ` Aditya Mahajan
2011-03-24 14:29 ` Aditya Mahajan
@ 2011-03-24 16:02 ` Cecil Westerhof
2011-03-24 16:06 ` Aditya Mahajan
1 sibling, 1 reply; 10+ messages in thread
From: Cecil Westerhof @ 2011-03-24 16:02 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1305 bytes --]
2011/3/24 Aditya Mahajan <adityam@umich.edu>
> 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
>
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
[-- Attachment #1.2: Type: text/html, Size: 1934 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No indent with first paragraph with \item
2011-03-24 16:02 ` Cecil Westerhof
@ 2011-03-24 16:06 ` Aditya Mahajan
2011-03-24 17:26 ` Cecil Westerhof
0 siblings, 1 reply; 10+ messages in thread
From: Aditya Mahajan @ 2011-03-24 16:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1446 bytes --]
On Thu, 24 Mar 2011, Cecil Westerhof wrote:
> 2011/3/24 Aditya Mahajan <adityam@umich.edu>
>
>> 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
>>
>
> 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
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: No indent with first paragraph with \item
2011-03-24 16:06 ` Aditya Mahajan
@ 2011-03-24 17:26 ` Cecil Westerhof
2011-03-24 17:40 ` Wolfgang Schuster
0 siblings, 1 reply; 10+ messages in thread
From: Cecil Westerhof @ 2011-03-24 17:26 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-03-24 17:56 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-24 9:59 No indent with first paragraph with \item 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
2011-03-24 17:40 ` Wolfgang Schuster
2011-03-24 17:46 ` Cecil Westerhof
2011-03-24 17:56 ` Wolfgang Schuster
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).