Re: [NTG-context] Framed text split over multiple pages

2019-03-13 Thread Aditya Mahajan

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.


Use backgrounds or textbackgrounds.

Aditya
___
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
___


Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Hans Hagen

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


Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Kip Warner
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


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Hans Hagen

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


Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Kip Warner
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


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Aditya Mahajan

On Wed, 5 Oct 2011, Kip Warner wrote:


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?


Are you using MkII or MkIV? Is metapost working?

\starttext
\startMPcode
draw fullcircle scaled 3cm ;
\stopMPcode
\stoptext

Aditya
___
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
___


Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-05 Thread Kip Warner
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


signature.asc
Description: This is a digitally signed message part
___
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
___

Re: [NTG-context] Framed Text Split Over Multiple Pages

2011-10-04 Thread Aditya Mahajan

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