ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: apply typing environment to \typebuffer
Date: Thu, 16 Jan 2014 00:43:48 +0100	[thread overview]
Message-ID: <15814857-5F9F-4ABC-B893-F0D147017DCB@gmail.com> (raw)
In-Reply-To: <52D6E4A7.5060205@gmx.es>


Am 15.01.2014 um 20:42 schrieb Pablo Rodriguez <oinos@gmx.es>:

> 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]

This is the worst thing you can do because \definetyping[buffer] creates the new environment

   \startbuffer … \stopbuffer

which overwrites the existing buffer environment.

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
___________________________________________________________________________________


      parent reply	other threads:[~2014-01-15 23:43 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
2014-01-15 19:50     ` Peter Münster
2014-01-15 20:11       ` Pablo Rodriguez
2014-01-15 23:43     ` Wolfgang Schuster [this message]

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=15814857-5F9F-4ABC-B893-F0D147017DCB@gmail.com \
    --to=schuster.wolfgang@gmail.com \
    --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).