From: Matthias Weber <matweber@indiana.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Breaking textframes across pages
Date: Fri, 5 Mar 2010 17:25:08 -0500 [thread overview]
Message-ID: <B75B0A9E-9140-4ADF-A657-D865FDEE8938@indiana.edu> (raw)
Dear all,
if I understand correctly, framed texts
(\startframedtext ... startframedtext)
are not broken across pages. In contrast, when I set up an
emumeration to to be framed,
it is broken, but in such a way that the bottom margin of the first
part and the top margin of the second part are inconsistent
with any values I imposed. Below is a minimal example. I can see that
this might be on purpose, but when I have $e^{e^x}$
and the like in the first line on the new page, it gets too close to
the default margin. Is there an option that sets the broken margins?
Thanks,
Matthias
\setupcolors[state=start]
\setupbodyfont[10pt]
\definetextbackground
[defbackground]
[
before=\blank,
after=\blank,
leftoffset=5pt,
rightoffset=5pt,
topoffset=25pt, % I exaggerate here of course
bottomoffset=25pt,
frame=on,
framecolor=black,
location=paragraph]
\defineenumeration
[myframe]
[text=Note,
before={\starttextbackground[defbackground]},
after={\stoptextbackground},
way=bysection,
location=hanging,
letter=rm]
\starttext
\startmyframe
\input tufte
\stopmyframe
\input knuth
\input knuth
\input knuth
% make sure the next frame breaks
\startmyframe
\input tufte
\stopmyframe
\input knuth
\stoptext
___________________________________________________________________________________
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-03-05 22:25 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=B75B0A9E-9140-4ADF-A657-D865FDEE8938@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).