[NTG-context] Framed Text Split Over Multiple Pages

Kip Warner kip at thevertigo.com
Thu Oct 6 00:06:58 CEST 2011


On Wed, 2011-10-05 at 23:58 +0200, Hans Hagen wrote:
> http://wiki.contextgarden.net/TextBackground

Thanks Hans. I saw it already, but I couldn't get the frame to appear
around the text.

Can you show me the textbackground equivalent that has page breaks to
the following that I have been using?

\definestartstop
    [SomeFramedText]
    [before={
        \crlf
        \setupbackground[frame=on,
                         before=\blank,
                         after=\blank,
                         corner=round,
                         topoffset=0.5cm,
                         leftoffset=0.5cm,
                         rightoffset=0.5cm,
                         bottomoffset=0.5cm]
        \startbackground
            },
     after={
        \stopbackground
        \crlf
           },
     commands={\setupalign[yes]},
     style=italic]

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20111005/a2003106/attachment.pgp>


More information about the ntg-context mailing list