ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sytse Knypstra <sytse.knypstra@home.nl>
To: ntg-context@ntg.nl
Subject: How to place background text on proper page
Date: Fri, 6 Nov 2015 23:50:35 +0100	[thread overview]
Message-ID: <563D2EBB.8030507@home.nl> (raw)

Dear list members,

In the following minimal example the last block (on the background) is 
placed on page 3 while there is ample room for it on page 2.
Only when the \page command in line 6 is uncommented, this block is 
placed on page 2.
Is there a better way to force placement on page 2 or should I always 
put a \page command at the bottom of the previous page?
My '\page solution' has the disadvantage that, when applied in the 
middle of a sentence, the last line on the page is usually not aligned.

\define\block{\input knuth \blank}
\starttext

\block
\block
\block   % still on page 1
%\page

\block   % partially on page 2
\startbackground

\block   % only on page 2 if \page is uncommented
\stopbackground

\stoptext

Thanks in advance,
Sytse Knypstra
___________________________________________________________________________________
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:[~2015-11-06 22:50 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=563D2EBB.8030507@home.nl \
    --to=sytse.knypstra@home.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).