From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64659 Path: news.gmane.org!not-for-mail From: "Thomas Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: mkiv: append to buffer Date: Sun, 19 Dec 2010 13:47:27 +0100 Message-ID: References: <0458BC42-65A5-439F-9562-3724C924A585@gmail.com> <20101219122126.GA20906@micropit.couberia.bzh> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1292766471 7539 80.91.229.12 (19 Dec 2010 13:47:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Dec 2010 13:47:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 19 14:47:47 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 1PUJc2-0007eZ-N4 for gctc-ntg-context-518@m.gmane.org; Sun, 19 Dec 2010 14:47:46 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0E134CA91B; Sun, 19 Dec 2010 14:47:46 +0100 (CET) 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 4DPxtvbDzzCx; Sun, 19 Dec 2010 14:47:43 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E47A7CA90D; Sun, 19 Dec 2010 14:47:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6E30CA90D for ; Sun, 19 Dec 2010 14:47:40 +0100 (CET) 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 QtnM7Vi4MPHu for ; Sun, 19 Dec 2010 14:47:29 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 4E90DCA8C2 for ; Sun, 19 Dec 2010 14:47:29 +0100 (CET) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBJDlSvi019708 for ; Sun, 19 Dec 2010 14:47:28 +0100 Original-Received: from [93.210.244.240] (account tschmit1@uni-bonn.de) by be2.uni-bonn.de (CommuniGate Pro WEBUSER 5.2.12) with HTTP id 6056673 for ntg-context@ntg.nl; Sun, 19 Dec 2010 13:47:27 +0100 X-Mailer: CommuniGate Pro WebUser v5.2.12 In-Reply-To: <20101219122126.GA20906@micropit.couberia.bzh> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.113; country=DE; region=07; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08DJ1LswV - 70e05d1df300 - 20101219 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:64659 Archived-At: On Sun, 19 Dec 2010 13:21:26 +0100 Peter M=FCnster wrote: > On Sun, Dec 19 2010, Thomas Schmitz wrote: > = >> and this doesn't: >> = >> \newtoks\mytoks >> = >> \def\TestMacro#1#2#3% >> {\item[#1] #2\par >> \appendtoks \in[#1]: {#3} \to\mytoks} > = > = > \doglobal \appendtoks \in[#1]: {#3} \to\mytoks} > = > Cheers, Peter Hooray, not it works!!! Thanks a lot, everyone, thanks = Peter - so easy, yet my knowledge of TeX wasn't advanced = enough to see this. Is it because I'm inside a group and = TeX empties the tokenlist once I get out of the group? All best Thomas ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________