From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/61223 Path: news.gmane.org!not-for-mail From: Peter =?utf-8?Q?M=C3=BCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: problem with \setuptyping[option=LUA, escape=//] Date: Thu, 26 Aug 2010 09:06:36 +0200 Message-ID: <20100826070636.GA22994@gaston.couberia.bzh> References: <20100825130408.GA18151@gaston.couberia.bzh> <4C7537D8.6020209@wxs.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: dough.gmane.org 1282806421 7975 80.91.229.12 (26 Aug 2010 07:07:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Aug 2010 07:07:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 26 09:06:59 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OoWY6-0001qL-CC for gctc-ntg-context-518@m.gmane.org; Thu, 26 Aug 2010 09:06:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A3096CA640; Thu, 26 Aug 2010 09:06:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8h7LzyYG028M; Thu, 26 Aug 2010 09:06:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 13B66CA638; Thu, 26 Aug 2010 09:06:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AD3E4CA638 for ; Thu, 26 Aug 2010 09:06:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8qfWoEtPRL9v for ; Thu, 26 Aug 2010 09:06:42 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9FE26CA619 for ; Thu, 26 Aug 2010 09:06:42 +0200 (CEST) Original-Received: from smtp21.orange.fr (smtp21.orange.fr [80.12.242.46]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o7Q76cOV019419 for ; Thu, 26 Aug 2010 09:06:38 +0200 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2102.orange.fr (SMTP Server) with ESMTP id C19331C00A74 for ; Thu, 26 Aug 2010 09:06:37 +0200 (CEST) Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2102.orange.fr (SMTP Server) with ESMTP id B3FE01C00C4F for ; Thu, 26 Aug 2010 09:06:37 +0200 (CEST) Original-Received: from gaston.couberia.bzh (ARennes-551-1-28-32.w92-135.abo.wanadoo.fr [92.135.227.32]) by mwinf2102.orange.fr (SMTP Server) with ESMTP id 7F4961C00A74 for ; Thu, 26 Aug 2010 09:06:37 +0200 (CEST) X-ME-UUID: 20100826070637521.7F4961C00A74@mwinf2102.orange.fr Original-Received: by gaston.couberia.bzh (Postfix, from userid 1000) id 0485E30629; Thu, 26 Aug 2010 09:06:36 +0200 (CEST) Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <4C7537D8.6020209@wxs.nl> User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.12.242.46; 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: 0rCWT6CWy - f47be36d584f - 20100826 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:61223 Archived-At: On Wed, Aug 25 2010, Hans Hagen wrote: > \definetyping[LUA] > \setuptyping[LUA][option=LUA,escape={/btex,/etex}] > > Hopefully you wikify this Hello Hans, I don't know what to wikify, because I don't understand what is supposed to work and what is not. Here another example with strange behaviour: \startbuffer[typefile-test] btex-etex: // /btex \em sometex /etex xxx-yyy: // XXX \em sometex YYY zzz: // ZZZ \em sometex \stopbuffer \savebuffer[typefile-test][typefile-test] \definetyping[LUA] \starttext \section{file=zzz} \start \setuptyping[file][option=LUA, escape=ZZZ] \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=xxx-yyy} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape={XXX,YYY}] \startLUA btex-etex: // /btex \em sometex /etex xxx-yyy: // XXX \em sometex YYY zzz: // ZZZ \em sometex \stopLUA \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=btex-etex} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape={/btex,/etex}] \startLUA btex-etex: // /btex \em sometex /etex xxx-yyy: // XXX \em sometex YYY zzz: // ZZZ \em sometex \stopLUA \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=zzz} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape=ZZZ] \typefile{typefile-test} % problem here \stop \section{file=zzz, lua=zzz} \start \setuptyping[file][option=LUA, escape=ZZZ] \setuptyping[LUA][option=LUA, escape=ZZZ] \startLUA \stopLUA \typefile{typefile-test} % now it works \stop \stoptext 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________