Re: [NTG-context] how to make pagebreak for \setupstyping

2008-11-19 Thread Zhaopeng Xing
Thank you. I will try it.

2008/11/18 Aditya Mahajan [EMAIL PROTECTED]

 On Tue, 18 Nov 2008, Zhaopeng Xing wrote:

  Hi,
 
  I am using the following setup to typeset very long codes. The problem
 is,
  it can only appear on one page. Can anybody help me to split the resulted
  codes onto several pages?
  Thanks.

 Use \start-stop textbackgrounds rather than framedtexts. framedtexts
 cannot split across papes. textbackgrounds are documented in the details
 manaul.

 Aditya

  \setuptyping
 
  [before={\startframedtext[width=\makeupwidth,
 
  background=screen,
 
  backgroundscreen=.96,
 
  style=\tfxx, frame=off]},
 
  after={\stopframedtext}]
 
  \starttyping
  very long codes
  \stoptyping
 

 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] how to make pagebreak for \setupstyping

2008-11-18 Thread Zhaopeng Xing
Hi,

I am using the following setup to typeset very long codes. The problem is,
it can only appear on one page. Can anybody help me to split the resulted
codes onto several pages?
Thanks.

 \setuptyping

[before={\startframedtext[width=\makeupwidth,

background=screen,

backgroundscreen=.96,

style=\tfxx, frame=off]},

after={\stopframedtext}]

\starttyping
very long codes
\stoptyping
-- 
Zhaopeng XING

Tinbergen Institute
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] how to make pagebreak for \setupstyping

2008-11-18 Thread Aditya Mahajan
On Tue, 18 Nov 2008, Zhaopeng Xing wrote:

 Hi,

 I am using the following setup to typeset very long codes. The problem is,
 it can only appear on one page. Can anybody help me to split the resulted
 codes onto several pages?
 Thanks.

Use \start-stop textbackgrounds rather than framedtexts. framedtexts 
cannot split across papes. textbackgrounds are documented in the details 
manaul.

Aditya

 \setuptyping

 [before={\startframedtext[width=\makeupwidth,

 background=screen,

 backgroundscreen=.96,

 style=\tfxx, frame=off]},

 after={\stopframedtext}]

 \starttyping
 very long codes
 \stoptyping

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___