ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tad Ashlock <tad.ashlock@gmail.com>
To: ntg-context@ntg.nl
Subject: New Section Causes the Previous Page to Break Differently
Date: Fri, 29 Jan 2010 16:29:53 -0700	[thread overview]
Message-ID: <2b4e76bb1001291529t16a5d6desb160017af01c3d7c@mail.gmail.com> (raw)

[-- 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
___________________________________________________________________________________

                 reply	other threads:[~2010-01-29 23:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2b4e76bb1001291529t16a5d6desb160017af01c3d7c@mail.gmail.com \
    --to=tad.ashlock@gmail.com \
    --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).