On 01/15/2014 01:12 AM, Marco Patzer wrote:
> On 2014–01–14 Pablo Rodriguez wrote:
> 
>> I have a presentation that defines a typing environment and I would like
>> to know who to apply it to \typebuffer.
> 
> Use:
> 
>   \setuptyping
>     [buffer]
>     [option=TEX]

Many thanks for your reply, Marco.

This is exactly what I wanted. Although I’m afraid that this breaks the
\typesetbuffer (since it typesets an empty buffer).

Here is a more detailed sample:

\definetyping[buffer][option=TEX,before=\startframedtext,after=\stopframedtext]
\setuptyping[buffer][style=\tt\setupinterlinespace,align={right,broad}]

\starttext
\startbuffer[basic-document]
\mainlanguage[es]
\setuppapersize[A5,landscape]
\setuppagenumbering[location=bottom]

\starttext

\chapter{Introducción}

\ConTeXt\ is {\en\em a document generation system}.

\stoptext
\stopbuffer

\typebuffer[basic-document]

\typesetbuffer[basic-document][frame=on,scale=750]

\stoptext

I guess this might be a bug.

Could anyone confirm this?


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to