ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* In-paragraph display
@ 2002-12-01  9:06 Giuseppe Bilotta
  2002-12-02 14:34 ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Giuseppe Bilotta @ 2002-12-01  9:06 UTC (permalink / raw)


Hello,

I'm going to bring the discussion back to a sore point that really
needs to be cleared.

When dealing with displayed material (equations, itemizations,
quotations etc) the following four cases are (or rather should be)
different:

==============================

Case 1:

some text before
\startdisplay
  displayed material
\stopdisplay
some text after

==============================

Case 2:

some text before

\startdisplay
  displayed material
\stopdisplay
some text after

==============================

Case 3:

some text before
\startdisplay
  displayed material
\stopdisplay

some text after

==============================

Case 4:

some text before

\startdisplay
  displayed material
\stopdisplay

some text after

==============================

The reason why they should be different is that

(1) in case 1 the display is part of the paragraph which includes
both the text before, the displayed material, and the text after

(2) in case 2 the display is part of a the paragraph which begins
with the displayed material and includes the text after, but not
the text before

(3) in case 3 the display is part of a the paragraph which begins
with the displayed material and includes the text before, but not
the text after

(4) in case 4 the display forms a paragraph on its own

Why is this important? Assume for example that the paragraphs are
set to have an indent (\setupindenting[medium], for example) and
that the indentnext option is set to true. In this case "some text
after" would only be indented in cases (3) and (4), but not in
cases (1) and (2), since in cases (3) and (4) it starts a new
paragraph while in cases (1) and (2) it is part of the previous
paragraph.

Is it just an impression of mine, or is it true that this is not
the case in ConTeXt? The behaviour in all three cases seems to be
the same ...

-- 
Giuseppe "Oblomov" Bilotta

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2002-12-03 19:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-01  9:06 In-paragraph display Giuseppe Bilotta
2002-12-02 14:34 ` Hans Hagen
2002-12-02 17:03   ` Re[2]: " Giuseppe Bilotta
2002-12-02 17:40     ` Hans Hagen
2002-12-03  0:37       ` Re[3]: " Giuseppe Bilotta
2002-12-03  1:18         ` Bruce D'Arcus
2002-12-03  9:25           ` Re[5]: " Giuseppe Bilotta
2002-12-03 10:46             ` Hans Hagen
2002-12-03 11:12               ` Re[6]: " Giuseppe Bilotta
2002-12-03 12:48                 ` Hans Hagen
2002-12-03 15:24                   ` Re[7]: " Giuseppe Bilotta
2002-12-03 19:47           ` Re[3]: " Simon Pepping
2002-12-03 11:00         ` Hans Hagen
2002-12-03 15:24           ` Re[4]: " Giuseppe Bilotta

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).