From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72145 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: xtables in custom macros Date: Fri, 04 Nov 2011 11:11:46 +0100 Organization: Uni Bonn Message-ID: <4EB3BA62.2010405@uni-bonn.de> References: <20111103193727.232750@gmx.net> <20111103220143.44520@gmx.net> <4EB3B28C.2000908@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1320401520 10991 80.91.229.12 (4 Nov 2011 10:12:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Nov 2011 10:12:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 04 11:11:57 2011 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 1RMGke-0005CI-Ta for gctc-ntg-context-518@m.gmane.org; Fri, 04 Nov 2011 11:11:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2029FCB0B7; Fri, 4 Nov 2011 11:11:56 +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 xYVJ0A1Oo0nn; Fri, 4 Nov 2011 11:11:53 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7227ECB0B4; Fri, 4 Nov 2011 11:11:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 702E9CB0B4 for ; Fri, 4 Nov 2011 11:11:51 +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 8vRAAv4F8Kw9 for ; Fri, 4 Nov 2011 11:11:49 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 50F14CB0B3 for ; Fri, 4 Nov 2011 11:11:49 +0100 (CET) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pA4ABmSd024782 for ; Fri, 4 Nov 2011 11:11:48 +0100 Original-Received: from [150.217.251.38] (account tschmit1@uni-bonn.de HELO Thomass-MacBook-Air.local) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.2.12) with ESMTPSA id 2981189 for ntg-context@ntg.nl; Fri, 04 Nov 2011 11:11:48 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: <4EB3B28C.2000908@wxs.nl> X-Bayes-Prob: 0.4992 (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: 06FQWbMGI - 71b94e28b0f0 - 20111104 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:72145 Archived-At: On 11/4/11 10:38 AM, Hans Hagen wrote: > \def\test > {\setbuffer[demo] > \startxtable > \startxrow > \startxcell does not work \stopxcell > \stopxrow > \stopxtable > \endbuffer > \processxtablebuffer[demo]} Hans, is the solution to my xml problem along these lines as well? Example: \startbuffer[test] One Two Three Four
\stopbuffer \startxmlsetups xml:testsetups \xmlsetsetup{main}{a|table|tablerow|tablecell}{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:a \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:table \startxtable \xmlflush{#1} \stopxtable \stopxmlsetups \startxmlsetups xml:tablerow \startxrow \xmlflush{#1} \stopxrow \stopxmlsetups \startxmlsetups xml:tablecell \startxcell \xmlflush{#1} \stopxcell \stopxmlsetups \starttext \xmlprocessbuffer{main}{test}{} \stoptext Would like to find a way to use the new mechanism with xml. All best Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________