From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/10266 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: XML typesetting -- a bug? Date: Fri, 10 Jan 2003 12:36:09 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030110123450.00b0a1d0@server-1> References: <20030110082117.GB20078@merkur.econ.muni.cz> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1042198673 11571 80.91.224.249 (10 Jan 2003 11:37:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 10 Jan 2003 11:37:53 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18WxU0-00030R-00 for ; Fri, 10 Jan 2003 12:37:52 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 6160D10AE7; Fri, 10 Jan 2003 12:39:08 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 63FF510ABB for ; Fri, 10 Jan 2003 12:38:13 +0100 (MET) Original-Received: from server-1.pragma-ade.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h0ABbxMw013055 for ; Fri, 10 Jan 2003 12:38:00 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.190]) by server-1.pragma-ade.nl (8.12.2/8.12.2) with ESMTP id h0ABc2gg020005 for ; Fri, 10 Jan 2003 12:38:02 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <20030110082117.GB20078@merkur.econ.muni.cz> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:10266 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:10266 At 09:21 AM 1/10/2003 +0100, you wrote: >Good morning. > >Some time ago I've uploaded and installed new ConTeXt >(ConTeXt ver: 2002.10.23 fmt: 2002.12.4 int: english mes: english). >With it my XHTML documents cannot be processed (it worked with some older >version). > >Now I obtain this very error message: >! Missing \endcsname inserted. > > \def >\parseXMLelement #1#2 #3>->\def > \currentXMLarguments {#3}\if #1/\chardef >\ki... >l.2 > >What's wrong? Is it my stupidness or a bug in a new version of ConTeXt? I >include a minimal example file. i assumed that there were two strings, you may try: \def\XMLdoctypeS YSTEM {\XMLgrabstring} \def\XMLdoctypeP UBLIC {\XMLgrabstring} \def\grabXMLstrings {\doifnextcharelse>{\gobbleuntil>}{\dowithgrabbedstring\XMLgrabstring}} How about: \defineXMLgrouped [I] \em \defineXMLgrouped [B] \bf 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 ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------