From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51183 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Peter_M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: \typebuffer with typing style Date: Wed, 10 Jun 2009 17:53:46 +0200 (CEST) Message-ID: References: <20090608162017.GC12271@katherina.student.utwente.nl> <20090610135254.GA12271@katherina.student.utwente.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244649321 7611 80.91.229.12 (10 Jun 2009 15:55:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Jun 2009 15:55:21 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 10 17:55:19 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MEQ90-0002iG-2X for gctc-ntg-context-518@m.gmane.org; Wed, 10 Jun 2009 17:55:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CA151FB5A; Wed, 10 Jun 2009 17:55:16 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15450-06; Wed, 10 Jun 2009 17:54:16 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E3791FA4C; Wed, 10 Jun 2009 17:54:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4848C1FA4C for ; Wed, 10 Jun 2009 17:54:14 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15354-06 for ; Wed, 10 Jun 2009 17:53:49 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id BD8CA1FA41 for ; Wed, 10 Jun 2009 17:53:49 +0200 (CEST) Original-Received: from smtp2e.orange.fr (smtp2e.orange.fr [80.12.242.111]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5AFrmgv012729 for ; Wed, 10 Jun 2009 17:53:48 +0200 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2e01.orange.fr (SMTP Server) with ESMTP id 2A0E480000B1 for ; Wed, 10 Jun 2009 17:53:48 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-358-1-109-135.w90-1.abo.wanadoo.fr [90.1.248.135]) by mwinf2e01.orange.fr (SMTP Server) with ESMTP id B3F0480000B3 for ; Wed, 10 Jun 2009 17:53:47 +0200 (CEST) X-ME-UUID: 20090610155347737.B3F0480000B3@mwinf2e01.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 21851301C5; Wed, 10 Jun 2009 17:53:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.couberia.bzh (Postfix) with ESMTP id 0D7FC30194 for ; Wed, 10 Jun 2009 17:53:47 +0200 (CEST) X-X-Sender: peter@gaston.couberia.bzh In-Reply-To: <20090610135254.GA12271@katherina.student.utwente.nl> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.111; country=FR; region=A8; city=Guyancourt; latitude=48.7667; longitude=2.0667; http://maps.google.com/maps?q=48.7667,2.0667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 240904270 - f4ea975808d1 - 20090610 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:51183 Archived-At: 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 ___________________________________________________________________________________