On 4/17/2023 7:06 AM, Aditya Mahajan via ntg-context wrote:
On Sun, 16 Apr 2023, Aditya Mahajan via ntg-context wrote:
On Sat, 15 Apr 2023, Jim via ntg-context wrote:
%------------------------------------------------------------------------
\setupindenting[medium,yes]
\setupitemize[indentnext=auto]
\startitemize
\item One
\stopitemize
This paragraph should be indented - due to the blank line after
\type{\stopitemize}.
\startitemize
\item Two
\stopitemize
This paragraph should not be indented.
%------------------------------------------------------------------------
Works in mkiv but appears to be a bug in lmtx. I haven't debugged what is going
wrong.
`indentnext=auto` doesn't appear to work for any environment.
can you test with this patch
\permanent\protected\protected\def\spac_indentation_check_next_indentation
{\global\enforced\let\dorechecknextindentation\relax
\begingroup
\autoparagraphmode\zerocount
\doifelsenextchar\par\endgroup{\endgroup\spac_indentation_variant_no}} %
messy check as next is seldom \par
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________