ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Breaking textframes across pages
@ 2010-03-05 22:25 Matthias Weber
  0 siblings, 0 replies; only message in thread
From: Matthias Weber @ 2010-03-05 22:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

only message in thread, other threads:[~2010-03-05 22:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-05 22:25 Breaking textframes across pages Matthias Weber

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