# [NTG-context] include two pages from typesetbuffer

Pablo Rodríguez oinos at web.de
Fri Aug 9 21:39:23 CEST 2013

```On 08/08/2013 10:40 PM, Hans Hagen wrote:
> On 8/8/2013 10:15 PM, Hans Hagen wrote:
>> On 8/8/2013 9:01 PM, Pablo Rodríguez wrote:
>>> Dear list,
>>>
>>> I would like to be able to include the first two pages of a typeset
>>> buffer (included with \typesetbuffer[sample][frame=on]).
>>>
>>> Is there any way to do this? I’d like to avoid to save the buffer to a
>>> file.
>>
>> \typesetbuffer[sample][frame=on,page=1]
>> \typesetbuffer[sample][frame=on,page=2]
>
> as that runs the buffer twice the next beta will provide  this:

Many thanks, Hans, for the new feature.

I can wikify it, if you want me to do it. But I have a question before.

Wouldn’t it be easier that ConTeXt detects when a buffer has already
been typeset and automatically does all the work internally?