ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* New Section Causes the Previous Page to Break Differently
@ 2010-01-29 23:29 Tad Ashlock
  0 siblings, 0 replies; only message in thread
From: Tad Ashlock @ 2010-01-29 23:29 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 2113 bytes --]

Hi All,

I can create a document with text that ends at the bottom of a page.
Like so (also attached as tadtest2a.tex):

============================================================
\showframe

\starttext

\section{section 1}

\input bryson\par\blank
\input davis\par\blank
\input linden\par\blank
\input weisman\par
\input linden

This should be a the top of page 2.

\stoptext
============================================================

(I hope the vertical spacing works out the same on your machine as it
does on mine.  I'm using the latest minimals, 2010.01.25 11:09.)

But if I happen to start a new section after that text, then part of
the last paragraph from the first page gets pushed to the second page,
leaving the text on page 1 short.

Here is an example (also attached as tadtest2b.tex):

============================================================
\showframe

\starttext

\section{section 1}

\input bryson\par\blank
\input davis\par\blank
\input linden\par\blank
\input weisman\par
\input linden

\section{section 2}

This should be the first sentence of page 2, but it's not.

\stoptext
============================================================

This also happens for itemized lists.  First the full page version
(also attached as tadtest2c.tex):

============================================================
\showframe

\starttext

\section{section 1}

\startitemize[n]
\item \input bryson
\item \input davis
\item \input dawkins
\item \input weisman
\stopitemize

This should be a the top of page 2.

\stoptext
============================================================

Now the "spill-over" version (also attached as tadtest2d.tex):

============================================================
\showframe

\starttext

\section{section 1}

\startitemize[n]
\item \input bryson
\item \input davis
\item \input dawkins
\item \input weisman
\stopitemize

\section{section 2}

This should be the first sentence of page 2, but it's not.

\stoptext
============================================================

If this is the expected behavior, is there any way to disable it?

Thanks,
Tad

[-- Attachment #2: tadtest2a.tex --]
[-- Type: application/x-tex, Size: 212 bytes --]

[-- Attachment #3: tadtest2b.tex --]
[-- Type: application/x-tex, Size: 258 bytes --]

[-- Attachment #4: tadtest2c.tex --]
[-- Type: application/x-tex, Size: 220 bytes --]

[-- Attachment #5: tadtest2d.tex --]
[-- Type: application/x-tex, Size: 266 bytes --]

[-- Attachment #6: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-29 23:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-29 23:29 New Section Causes the Previous Page to Break Differently Tad Ashlock

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