On Wed, 10 Jun 2009, Matthijs Kooijman wrote:

> > \setuptyping[option=TEX]
> 
> This is what I am using now, but this changes the global settings and requires
> resetting them afterwards. Not so pretty. I was hoping for a better method to
> achieve this, but I'm starting to doubt there is one currently.

2 ideas:

- With \setuptyping[file][option=TEX] the global setting is only for
  \typefile or \typebuffer.
- Use grouping, for example:
  \def\myTypeBuffer#1{\bgroup \setuptyping[...] \typebuffer[#1] \egroup}

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/

___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to