From: Matthias Weber <matweber@indiana.edu>
Subject: Re: Problem with backgrounds and page breaks
Date: Mon, 10 Jan 2005 13:35:50 -0500 [thread overview]
Message-ID: <738C2F1C-6336-11D9-89F5-0003934F9514@indiana.edu> (raw)
In-Reply-To: <41E2C02B.6080505@wxs.nl>
Thanks, Hans, this fixes it most of the time. But the problem still
occurs with one "new line"
less. (Example again at the bottom) :(
Matthias
On Jan 10, 2005, at 12:49 PM, Hans Hagen wrote:
> Matthias Weber wrote:
>
>> [before={\starttextbackground[exbackground]},
>
> try:
>
> [before={\testpage[2]\starttextbackground[exbackground]},
>
> that way a pagebreak is forced when less than three lines are left
>
> Hans
>
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
>
>
\mainlanguage [en]
\setupcolors[state=start]
\setupcolor[rgb]
% Exercises and Activities
\definecolor[exc] [r=.94,g=.9,b=.9]
\definetextbackground
[exbackground]
[backgroundcolor=exc,
corner=round,
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=5pt,
bottomoffset=5pt,
frame=on,
framecolor=darkgreen,
location=paragraph,
color=darkgreen]
\defineenumeration
[exercise]
[before={\testpage[2]\starttextbackground[exbackground]},
after={\stoptextbackground},
way=bysection,
text=Exercise,
start=1,
location=hanging,
letter=rm]
\setuppapersize[S6][S6]
\setupbodyfont[12pt]
\starttext
\input tufte \input tufte
new line
new line
%new line
\startexercise
Please explain how to get rid of the additional framed stuff on page 1.
\stopexercise
\input tufte
\stoptext
next prev parent reply other threads:[~2005-01-10 18:35 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-30 21:22 Wrap a url David Arnold
2004-11-02 9:34 ` Willi Egger
2004-11-02 14:17 ` David Arnold
2004-11-02 16:24 ` Hans Hagen
2004-11-02 17:47 ` David Arnold
2004-11-02 18:02 ` Hans Hagen
2004-12-03 14:30 ` Patrick Gundlach
2004-12-05 17:51 ` Willi Egger
2004-12-05 22:17 ` Patrick Gundlach
2004-12-06 21:19 ` Willi Egger
2004-12-05 17:52 ` Willi Egger
2004-12-06 12:40 ` using fonts Wolfgang Zillig
2004-12-06 13:41 ` Patrick Gundlach
2004-12-06 14:52 ` Adam Lindsay
2004-12-06 21:30 ` Re: using fonts -- installation Rob Ermers
2004-12-06 21:50 ` Adam Lindsay
2004-12-06 23:19 ` Rob Ermers
2004-12-06 23:23 ` h h extern
2004-12-06 23:27 ` h h extern
2004-12-07 8:09 ` r.ermers
2004-12-07 8:18 ` Adam Lindsay
2004-12-07 8:17 ` Adam Lindsay
2005-01-10 16:12 ` Problem with backgrounds and page breaks Matthias Weber
2005-01-10 17:49 ` Hans Hagen
2005-01-10 18:35 ` Matthias Weber [this message]
2005-01-10 18:57 ` Hans Hagen
2005-01-10 19:29 ` Matthias Weber
2004-12-06 14:45 ` using fonts Adam Lindsay
2004-12-06 14:50 ` Patrick Gundlach
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=738C2F1C-6336-11D9-89F5-0003934F9514@indiana.edu \
--to=matweber@indiana.edu \
--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).