Framed Text Split Over Multiple Pages
Hey list, I'd like my framed text to be split over multiple pages rather than leaving a big empty page before it starts so that it can fill its own whole page when large enough. This is what I am using and works fine, with the exception of no inline page breaks: \definestartstop [SubDocument] [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] Then used as such: \startSubDocument ... \stopSubDocument -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On Tue, 4 Oct 2011, Kip Warner wrote:
Hey list,
I'd like my framed text to be split over multiple pages rather than leaving a big empty page before it starts so that it can fill its own whole page when large enough.
This is what I am using and works fine, with the exception of no inline page breaks:
Can you explain what you mean by inline pagebreak? Aditya
On Tue, 2011-10-04 at 20:54 -0400, Aditya Mahajan wrote:
Can you explain what you mean by inline pagebreak?
Aditya
Hey Aditya. I mean that I would like framed text to be split over multiple pages whenever possible. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 5-10-2011 23:52, Kip Warner wrote:
On Tue, 2011-10-04 at 20:54 -0400, Aditya Mahajan wrote:
Can you explain what you mean by inline pagebreak?
Aditya
Hey Aditya. I mean that I would like framed text to be split over multiple pages whenever possible.
http://wiki.contextgarden.net/TextBackground ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Wed, 2011-10-05 at 23:58 +0200, Hans Hagen wrote:
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
On Wed, 5 Oct 2011, Kip Warner wrote:
On Wed, 2011-10-05 at 23:58 +0200, Hans Hagen wrote:
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?
Are you using MkII or MkIV? Is metapost working? \starttext \startMPcode draw fullcircle scaled 3cm ; \stopMPcode \stoptext Aditya
On Wed, 2011-10-05 at 18:30 -0400, Aditya Mahajan wrote:
Are you using MkII or MkIV? Is metapost working?
\starttext \startMPcode draw fullcircle scaled 3cm ; \stopMPcode \stoptext
$ context --version ... mtx-context | current version: 2011.06.27 23:49 It errors with that code you gave me. I can't seem to find the specific error message as ConTeXt dumps tonnes and tonnes of pages of console output that it's probably buried somewhere in. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com
On 5-10-2011 02:20, Kip Warner wrote:
Hey list,
I'd like my framed text to be split over multiple pages rather than leaving a big empty page before it starts so that it can fill its own whole page when large enough.
you can search for 'textbackground' (which is another mechanism) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Kip Warner