[NTG-context] Prevent indentation after itemize

Aditya Mahajan adityam at umich.edu
Thu Apr 11 21:43:24 CEST 2019


On Thu, 11 Apr 2019, Procházka Lukáš Ing. wrote:

> Hello,
>
> On Thu, 11 Apr 2019 14:44:39 +0200, Aditya Mahajan <adityam at umich.edu> wrote:
>
>> On Thu, 11 Apr 2019, Procházka Lukáš Ing. wrote:
>>
>>> ... Great, perfect, thank you! Lukas
>>
>> The wiki page also explains the details of indentation:
>>
>> https://www.contextgarden.net/Indentation
>
> thank you for pointing the link.
>
> (From the manual and the Ctx test suite, I cannot see how exactly 
> "indentnext=auto" works. But thank you anyway.)

indentnext=auto means that the next paragraph will be indented when there 
is a blank space and not indented when there is no blank space.

So (untested)

\setupindenting[medium,yes]
\setupitemize[indentnext=auto]
\starttext
\startitem
   \item One
\stopitem

This paragraph should be indented.

\startitemize
   \item Two
\stopitemize
This paragraph should not be indented. 
\stoptext

Aditya


More information about the ntg-context mailing list