From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65021 Path: news.gmane.org!not-for-mail From: Achim Jander Newsgroups: gmane.comp.tex.context Subject: Re: Fwd: Re: xml-processing: missing or ungrouped '=' Date: Sat, 08 Jan 2011 15:23:19 +0100 Message-ID: <4D287357.3000906@jander.de> References: <4D283A80.9090909@jander.de> <4D284759.6030802@wxs.nl> <4D285AEB.5080009@jander.de> <3DB8F220-B0CC-403D-A13C-E5B59C6DEA39@uni-bonn.de> 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 1294496652 23386 80.91.229.12 (8 Jan 2011 14:24:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 Jan 2011 14:24:12 +0000 (UTC) Cc: "Thomas A. Schmitz" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 08 15:24:08 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 1PbZiA-0004Wv-RA for gctc-ntg-context-518@m.gmane.org; Sat, 08 Jan 2011 15:24:06 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2BBDFCA9D1; Sat, 8 Jan 2011 15:24:06 +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 ogFSlEBFY2wA; Sat, 8 Jan 2011 15:24:05 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 36413CA9EE; Sat, 8 Jan 2011 15:24:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B31CFCA9EE for ; Sat, 8 Jan 2011 15:24:01 +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 kVIngtRZfvsi for ; Sat, 8 Jan 2011 15:23:50 +0100 (CET) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 440CBCA9D1 for ; Sat, 8 Jan 2011 15:23:50 +0100 (CET) Original-Received: from p15188155.pureserver.info (p15188155.pureserver.info [212.227.83.96]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p08ENnkl002464 for ; Sat, 8 Jan 2011 15:23:49 +0100 Original-Received: (qmail 26188 invoked from network); 8 Jan 2011 15:23:48 +0100 Original-Received: from krlh-5f72d379.pool.mediaways.net (HELO ?192.168.1.43?) (95.114.211.121) by p15188155.pureserver.info with SMTP; 8 Jan 2011 15:23:48 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: <3DB8F220-B0CC-403D-A13C-E5B59C6DEA39@uni-bonn.de> X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=212.227.83.96; country=DE; region=01; city=Karlsruhe; latitude=49.0047; longitude=8.3858; http://maps.google.com/maps?q=49.0047,8.3858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cDR2nNC4 - 28b3bd5c4d91 - 20110108 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:65021 Archived-At: Hi Thomas, yes, of course you are right, but thats not making the problems. Its switched in while making a "minimal" example. My problem or maxbe misunderstanding ist what I try to achieve with \xmldoifelse{#1}{/num}{ownnumber=\xmlcommand{#1}{/num}{xml:ueberForceFlush}}{number=no} or in a more complex way: \startxmlsetups xml:title \startchapter[ %start here number=\xmldoifelse{#1}{/num}{yes}{no}, %works ownnumber=\xmldoifelse{#1}{/num}{\xmlcommand{#1}{/num}{xml:ueberForceFlush}}{},%works %stop here title={\xmlflush{#1}},%works ] \stopchapter \stopxmlsetups what I want to do is to process the part between %start here and %stop here in another template which I can reuse in different hierarchies. But I cant find no way to do so. Greetings, Achim Am 08.01.2011 14:07, schrieb Thomas A. Schmitz: > On Jan 8, 2011, at 1:39 PM, Achim Jander wrote: > >> Hi Hans, >> sorry, i'll try to make it more clear: > Excuse me, your example makes my head spin. Just from looking at it, there appears to be a fundamental error: you flush the content of into a context \startchapter \stopchapter environment, AFAICS. But that's not right: the title is not the content of the chapter, but just its, errm, title. Can this be the reason why your code doesn't work? > > 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 > ___________________________________________________________________________________ > ___________________________________________________________________________________ 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 ___________________________________________________________________________________