ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \typesetbuffer adds \starttext ... \stoptext
@ 2011-01-30 18:52 Peter Münster
  2011-01-30 18:57 ` Wolfgang Schuster
  2011-01-30 19:23 ` Vnpenguin
  0 siblings, 2 replies; 6+ messages in thread
From: Peter Münster @ 2011-01-30 18:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

It would be nice, if \typesetbuffer wouldn't add anything to the buffer.

Here an example, where the outer \starttext ... \stoptext environment
deranges:

\starttext
\startbuffer[pdf-pages]
  \setuppapersize[A7, landscape]
  \showframe
  \starttext
  page 1 \page page 2
  \stoptext
\stopbuffer
\typesetbuffer[pdf-pages][page=2, frame=on, width=10cm]
\stoptext

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

* Re: \typesetbuffer adds \starttext ... \stoptext
  2011-01-30 18:52 \typesetbuffer adds \starttext ... \stoptext Peter Münster
@ 2011-01-30 18:57 ` Wolfgang Schuster
  2011-01-30 19:20   ` Peter Münster
  2011-01-30 19:23 ` Vnpenguin
  1 sibling, 1 reply; 6+ messages in thread
From: Wolfgang Schuster @ 2011-01-30 18:57 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 30.01.2011 um 19:52 schrieb Peter Münster:

> Hello,
> 
> It would be nice, if \typesetbuffer wouldn't add anything to the buffer.
> 
> Here an example, where the outer \starttext ... \stoptext environment
> deranges:

Why, context ignores the inner starttext/stoptext pair.

Wolfgang

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

* Re: \typesetbuffer adds \starttext ... \stoptext
  2011-01-30 18:57 ` Wolfgang Schuster
@ 2011-01-30 19:20   ` Peter Münster
  2011-01-30 22:05     ` Wolfgang Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2011-01-30 19:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Wolfgang Schuster <schuster.wolfgang@googlemail.com> writes:

>> It would be nice, if \typesetbuffer wouldn't add anything to the buffer.
>> 
>> Here an example, where the outer \starttext ... \stoptext environment
>> deranges:
>
> Why, context ignores the inner starttext/stoptext pair.

Wrong interpretation of the problem: it's the
\setuppapersize[][samesized] that is broken...

Nevertheless: are there situations, where the outer starttext/stoptext
could cause some trouble?

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

* Re: \typesetbuffer adds \starttext ... \stoptext
  2011-01-30 18:52 \typesetbuffer adds \starttext ... \stoptext Peter Münster
  2011-01-30 18:57 ` Wolfgang Schuster
@ 2011-01-30 19:23 ` Vnpenguin
  2011-01-30 19:30   ` Wolfgang Schuster
  1 sibling, 1 reply; 6+ messages in thread
From: Vnpenguin @ 2011-01-30 19:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, Jan 30, 2011 at 19:52, Peter Münster <pmlists@free.fr> wrote:
> Hello,
>
> It would be nice, if \typesetbuffer wouldn't add anything to the buffer.

Yep, I agree that. Don't know why need add something to buffer ?
___________________________________________________________________________________
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] 6+ messages in thread

* Re: \typesetbuffer adds \starttext ... \stoptext
  2011-01-30 19:23 ` Vnpenguin
@ 2011-01-30 19:30   ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-01-30 19:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 30.01.2011 um 20:23 schrieb Vnpenguin:

> On Sun, Jan 30, 2011 at 19:52, Peter Münster <pmlists@free.fr> wrote:
>> Hello,
>> 
>> It would be nice, if \typesetbuffer wouldn't add anything to the buffer.
> 
> Yep, I agree that. Don't know why need add something to buffer ?

\typesetbuffer add \starttext before and \stoptext after the buffer
because it write the buffer content to a external file and process
this file as a separate document which can be included as figure.

This is a useful feature for documentation.

Wolfgang


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

* Re: \typesetbuffer adds \starttext ... \stoptext
  2011-01-30 19:20   ` Peter Münster
@ 2011-01-30 22:05     ` Wolfgang Schuster
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2011-01-30 22:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 30.01.2011 um 20:20 schrieb Peter Münster:

> Nevertheless: are there situations, where the outer starttext/stoptext
> could cause some trouble?

Don’t think so because when you use the project structure you have

\startproduct

\startcomponent
…
\stopcomponent

\startcomponent
…
\stopcomponent

\stopproduct

where both \startproduct and \startcomponent act as \starttext
and only the first is is used as real \starttext while the others
are ignored.

Wolfgang


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

end of thread, other threads:[~2011-01-30 22:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-30 18:52 \typesetbuffer adds \starttext ... \stoptext Peter Münster
2011-01-30 18:57 ` Wolfgang Schuster
2011-01-30 19:20   ` Peter Münster
2011-01-30 22:05     ` Wolfgang Schuster
2011-01-30 19:23 ` Vnpenguin
2011-01-30 19:30   ` Wolfgang Schuster

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