At 05:25 PM 3/10/2003 +0100, you wrote:

to do as much of the job as possible, by itself. I therefore wish
to urge Hans to implement a new indentnext option, "auto", which
should give a behaviour similar to the one shown on this example:

btw, here are shorter defs:


\def\startdisplay
  {\relax\ifvmode\else\endgraf\noindent\fi\ignorespaces}

\def\stopdisplay
  {\par\doifnextcharelse\par\donothing\noindent}

watch the \relax (prevents lookahead) and \doifnextcharelse

anyway,

isn't a \stopdisplay followed by an empty line still supposed to be a display?, so the full model is:

\startparagraph

text or not

\startdisplay

\stopdisplay

text or not

\stopparagraph

the startparagraph and stopparagraph can be kind of automatic, but that's just an added bonus for those who want to use empty lines as signals (something which is not common, for instance in xml where proper tagging takes place).

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                       information: http://www.pragma-ade.com/roadmap.pdf
                    documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to