On 2011-07-06 <00:22:39>, Kip Warner wrote:
> Hey list,
> 
> I'd like to get framed text to break over a page, but I'm not sure how
> to do this. Right now, I am using:

Hi again,

there’s also the background mechanism which has been explicitly
(see pack-rul.mkiv) designed with page breaks in mind. Example:

···8<····························································

\setupbackground[
  corner=rectangular,
  frame=on,
  background=,
]


\starttext
\startbackground
  \dorecurse{42}{\input dawkins \endgraf}
\stopbackground
\stoptext

···8<····························································

Hth, Philipp






> 
> \def\StartSpecialFramedText%
> {
> \crlf
> \startframedtext
>     [width=broad,
>      bottom=\vss,
>      top=\vss,
>      align=right,
>      corner=rectangular]
> \it 
> }
> 
> \def\StopSpecialFramedText%
> {
> \stopframedtext
> \crlf
> }
> 
> ...
> 
> \StartSpecialFramedText
> Some
> ...
> text
> \StopSpecialFramedText
> 
> But the problem is that does not page break, but seems to want to stay
> all together on a single page.
> 
> -- 
> Kip Warner -- Software Engineer
> OpenPGP encrypted/signed mail preferred
> http://www.thevertigo.com



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


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgpPvutfVgrdo.pgp
Description: PGP signature

___________________________________________________________________________________
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 via email to