[NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread 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:

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


Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Wolfgang Schuster

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
___


Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Peter Münster
Wolfgang Schuster schuster.wolfg...@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
___


Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Vnpenguin
On Sun, Jan 30, 2011 at 19:52, Peter Münster pmli...@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
___


Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Wolfgang Schuster

Am 30.01.2011 um 20:23 schrieb Vnpenguin:

 On Sun, Jan 30, 2011 at 19:52, Peter Münster pmli...@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
___


Re: [NTG-context] \typesetbuffer adds \starttext ... \stoptext

2011-01-30 Thread Wolfgang Schuster

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
___