ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Displayed material, again
Date: Tue, 11 Mar 2003 00:24:30 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20030311001735.0303a7e8@server-1> (raw)
In-Reply-To: <1913256291.20030310172500@iol.it>

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 | pragma@wxs.nl
                       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
-------------------------------------------------------------------------

  parent reply	other threads:[~2003-03-10 23:24 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-10 16:25 Giuseppe Bilotta
2003-03-10 16:50 ` Bruce D'Arcus
2003-03-10 20:22   ` Re[2]: " Giuseppe Bilotta
2003-03-10 22:15     ` s-mag-01 Bruce D'Arcus
2003-03-11  8:00       ` s-mag-01 Hans Hagen
2003-03-11 14:11         ` s-mag-01 Bruce D'Arcus
2003-03-11 14:31           ` s-mag-01 Hans Hagen
2003-03-11 14:34         ` s-mag-01 Bruce D'Arcus
2003-03-11 14:46           ` Fonts again in ConTeXt Patrick Gundlach
2003-03-11 15:10             ` Bruce D'Arcus
2003-03-12 13:04               ` Maarten Sneep
2003-03-12 13:23                 ` Bruce D'Arcus
2003-03-12 13:26                   ` Maarten Sneep
2003-03-12 14:05                     ` Patrick Gundlach
2003-03-12 15:11                       ` Hans Hagen
2003-03-12 15:43                         ` Patrick Gundlach
2003-03-12 19:35                           ` Jens-Uwe Morawski
2003-03-13  8:31                             ` Patrick Gundlach
2003-03-14  8:27                               ` Hans Hagen
2003-03-12 20:26                           ` Hans Hagen
2003-03-13  8:54                             ` Patrick Gundlach
2003-03-13 12:37                               ` Hans Hagen
2003-03-13 15:07                                 ` John Culleton
2003-03-13 15:52                                   ` Hans Hagen
2003-03-21 18:05                                 ` Patrick Gundlach
2003-03-22 11:10                                   ` Hans Hagen
2003-03-14 21:34                             ` Henning Hraban Ramm
2003-03-14 21:24                           ` Henning Hraban Ramm
2003-03-21 18:06                             ` Patrick Gundlach
2003-03-12 15:09                 ` Hans Hagen
2003-03-11 15:02           ` s-mag-01 Adam Lindsay
2003-03-11 20:52             ` s-mag-01 Hans Hagen
2003-03-11  9:13       ` s-mag-01 Patrick Gundlach
2003-03-10 17:00 ` Displayed material, again Hans Hagen
2003-03-10 23:24 ` Hans Hagen [this message]
2003-03-11 10:08   ` Re[2]: " Giuseppe Bilotta
2003-03-11 10:52     ` Hans Hagen
2003-03-11 11:47       ` Re[3]: " Giuseppe Bilotta
2003-03-11 14:57         ` Hans Hagen
2003-03-11 17:04           ` Re[4]: " Giuseppe Bilotta
2003-03-12 20:36             ` Hans Hagen
2003-03-13  9:36               ` Re[5]: " Giuseppe Bilotta
2003-03-13 12:23                 ` Hans Hagen
2003-03-11 15:12         ` Re[3]: " Hans Hagen
2003-03-12 21:07         ` Hans Hagen
2003-03-13  9:38           ` Re[4]: " Giuseppe Bilotta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20030311001735.0303a7e8@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).