From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4784 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: typeseting XML Date: Mon, 04 Jun 2001 11:55:20 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010604115520.009da820@server-1> References: <3.0.6.32.20010531111252.01ac13a0@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035395425 28711 80.91.224.250 (23 Oct 2002 17:50:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:50:25 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Petr Ferdus In-Reply-To: Xref: main.gmane.org gmane.comp.tex.context:4784 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4784 At 10:03 AM 6/1/01 +0200, Petr Ferdus wrote: >On Thu, 31 May 2001, Hans Hagen wrote: > >> >(1)also if there is an entity at the beginning of element passed >> >by argument (example in XML data). >> >> dontknow/dontsee, anyway i'll send you the latest xtag files [there is also >> a new \defineXMLenv..push one you may want to use] > >Right placement of \appendtoks ... sequence with expansion of >list makes them nicely expand. Thank you very much. > >Unafected remains only case (1) than means, if one line of XML data in >gtest example would look like: >

&Title H2 with any entity an the very beginning of it

> >which is processed by some macro e.g.: >\long\def\MySection#1{\section{#1}}% which could do more, would it had > % chance >and declared as: >\defineXMLargument [h2] {\MySection} > >it produces "! Incomplete \ifnum; error. ..." > >(data from elements, which have no macros hooked to their processing, do >process correctly) well, define own macros as \unexpanded\def\blabla{ some \rubish\ commands } also, use \definehead[MySection][section] and try \setuphead[MySection][expansion=yes|command|no] Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------