# [NTG-context] Automatic next indent

Giuseppe Bilotta gip.bilotta at iol.it
Fri Oct 7 17:15:22 CEST 2005

Hello all, and Hans in particular:

Some time ago

http://www.mail-archive.com/ntg-context@ref.ntg.nl/msg01744.html

some commmon indentnext options. I would *really* this to be
taken into consideration.

Rationale: things like formulas, itemgroups and the like
(basically, everything that allows indentnext) are
"displays". "Displays" are parts of the document that are
embedded in a paragraph but are "put in display" by
appropriate indenting & other tricks. Now, there are cases
in which the paragraph continues after the display, and
cases when it doesn't.

So for example

"""
Some text in a paragraph, plus other text,
still in the same paragraph
and a displayed thing
and a continuation of the same paragraph
with some more text and other text
"""

would be different from

"""
Some text in a paragraph, plus other text,
still in the same paragraph
and a displayed thing

In a separate pragraph, we have some other text
"""

Note that the two cases should be handled separately: in the
first case, I *don't* want any indentation nor any blank
line; in the second case, I might want either or both.

indentnext=auto would NOT put an indent in cases like this:

"""
some paragraph
\startdisplayedmaterial
displayed stuff (formula or itemgroup or anything else)
\stopdisplayedmaterial
still same paragraph
"""

but WOULD put an indent here

"""
some paragraph
\startdisplayedmaterial
displayed stuff (formula or itemgroup or anything else)
\stopdisplayedmaterial

Different paragraph
"""

Hans, can you please consider it for inclusion? The patch is
somewhat out of date, given the age, but the principle
should be obvious.

--
Giuseppe "Oblomov" Bilotta