how to make pagebreak for \setupstyping
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
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
Thank you. I will try it.
2008/11/18 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
___________________________________________________________________________________
-- Zhaopeng XING Tinbergen Institute
participants (2)
-
Aditya Mahajan
-
Zhaopeng Xing