[NTG-context] Text in a box now broken

Kip Warner kip at thevertigo.com
Wed Nov 23 20:02:18 CET 2011


On Wed, 2011-11-23 at 11:03 +0100, Hans Hagen wrote:
> it depends .. if you have small boxes, you as well use a regular 
> framedtext (with background) or when you span pages you can use 
> textbackgrounds ... the backgrounds you use is some compromise 

Hmm, I am using boxes that sometimes span multiple pages. This is what I
was using originally. How would it look if it used textbackgrounds?

\definestartstop
    [TimelineDocument]
    [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]

\starttext
\startTimelineDocument
Some stuff in a box.
\stopTimelineDocument
\stoptext

-- 
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/20111123/d7ff4163/attachment.pgp>


More information about the ntg-context mailing list