ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: apply typing environment to \typebuffer
Date: Wed, 15 Jan 2014 20:42:31 +0100	[thread overview]
Message-ID: <52D6E4A7.5060205@gmx.es> (raw)
In-Reply-To: <20140115001207.GG2768@homerow>

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	other threads:[~2014-01-15 19:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14 21:53 Pablo Rodriguez
2014-01-15  0:12 ` Marco Patzer
2014-01-15 19:42   ` Pablo Rodriguez [this message]
2014-01-15 19:50     ` Peter Münster
2014-01-15 20:11       ` Pablo Rodriguez
2014-01-15 23:43     ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52D6E4A7.5060205@gmx.es \
    --to=oinos@gmx.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).