ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Framed text split over multiple pages
@ 2019-03-13 22:58 Romain Diss
  2019-03-14  0:23 ` Aditya Mahajan
  0 siblings, 1 reply; 15+ messages in thread
From: Romain Diss @ 2019-03-13 22:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Is there a simple way to split a large \startframedtext environment over
multiple pages. It doesn't work out of the box and I didn't find any
option make it work in the wiki nor in the documentation I read.

Thanks.

-- 
Romain Diss
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Framed Text Split Over Multiple Pages
@ 2011-10-05  0:20 Kip Warner
  2011-10-05  0:54 ` Aditya Mahajan
  2011-10-05  7:32 ` Hans Hagen
  0 siblings, 2 replies; 15+ messages in thread
From: Kip Warner @ 2011-10-05  0:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1017 bytes --]

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

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 15+ messages in thread

end of thread, other threads:[~2019-03-18 20:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-13 22:58 Framed text split over multiple pages Romain Diss
2019-03-14  0:23 ` Aditya Mahajan
2019-03-18 15:03   ` Background under bibliography (like in mkiv-publications.pdf) Romain Diss
2019-03-18 18:15     ` Aditya Mahajan
2019-03-18 18:37       ` Alan Braslau
2019-03-18 20:41         ` Romain Diss
2019-03-18 20:45       ` Romain Diss
  -- strict thread matches above, loose matches on Subject: below --
2011-10-05  0:20 Framed Text Split Over Multiple Pages Kip Warner
2011-10-05  0:54 ` Aditya Mahajan
2011-10-05 21:52   ` Kip Warner
2011-10-05 21:58     ` Hans Hagen
2011-10-05 22:06       ` Kip Warner
2011-10-05 22:30         ` Aditya Mahajan
2011-10-05 22:35           ` Kip Warner
2011-10-05  7:32 ` Hans Hagen

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