ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to make pagebreak for \setupstyping
@ 2008-11-18 10:35 Zhaopeng Xing
  2008-11-18 13:15 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Zhaopeng Xing @ 2008-11-18 10:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

[-- Attachment #1.2: Type: text/html, Size: 990 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to make pagebreak for \setupstyping
  2008-11-18 10:35 how to make pagebreak for \setupstyping Zhaopeng Xing
@ 2008-11-18 13:15 ` Aditya Mahajan
  2008-11-19  9:36   ` Zhaopeng Xing
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2008-11-18 13:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to make pagebreak for \setupstyping
  2008-11-18 13:15 ` Aditya Mahajan
@ 2008-11-19  9:36   ` Zhaopeng Xing
  0 siblings, 0 replies; 3+ messages in thread
From: Zhaopeng Xing @ 2008-11-19  9:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Thank you. I will try it.

2008/11/18 Aditya Mahajan <adityam@umich.edu>

> 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

[-- Attachment #1.2: Type: text/html, Size: 2164 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-19  9:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-18 10:35 how to make pagebreak for \setupstyping Zhaopeng Xing
2008-11-18 13:15 ` Aditya Mahajan
2008-11-19  9:36   ` Zhaopeng Xing

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