From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5437 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: xml, mainlanguage de, handlecompoundchar Date: Wed, 29 Aug 2001 11:03:04 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <200108290903.LAA04766@sol.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396031 1639 80.91.224.250 (23 Oct 2002 18:00:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:00:31 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:5437 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5437 Hi, I try to compile the code below. "All" I get is an error: This is pdfeTeX, Version 3.14159-14h-released-20010417-2.1 (Web2C 7.3.3.1) entering extended mode [...] ConTeXt ver: 2001.7.11 fmt: 2001.7.16 int: english mes: english [...] systems : begin file xml at line 4 (./xml-xml.tmp ! Undefined control sequence. \handlecompoundcharacter ...ndlecompoundcharacter {\ifx \next \bgroup \def \... \dodoparseXMLarguments #1->\if #1 >\let \dodoparseXMLarguments \empty \else \... name=" small" \dodoXMLelement ...arguments \currentXMLelement #2 >\fi \fi \executeXMLelemen... l.2 Ein kleines xml-Dokument ? without the mainlanguage[de] there is no problem. I know, that this happened to Johannes before, but that time he was not using pdfetex (in extended mode) I guess and he was using metapost. Any Idea how to solve this? ------------------------------ the file: % output=pdf \mainlanguage[de] \starttext \defineXMLenvironment [document] \startnarrower \stopnarrower \defineXMLargument [title] \midaligned \defineXMLenvironment [list] \startitemize \stopitemize \defineXMLcommand [item] \item \defineXMLgrouped [b] \bf \defineXMLentity [context] \ConTeXt \defineXMLentity [dots] \dots \setuptyping[file][option=xml] \startbuffer Ein kleines xml-Dokument sinnloser Text, der sehr wichtig ist. &context; kann aber noch viel kompliziertere Dinge tun &dots; \stopbuffer \processXMLbuffer \stoptext Viele Grüße, Patrick Gundlach - I TeX, therefore I am - From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5440 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: xml, mainlanguage de, handlecompoundchar Date: Wed, 29 Aug 2001 13:41:07 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010829133945.0338f278@server-1> References: <200108290903.LAA04766@sol.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396034 1666 80.91.224.250 (23 Oct 2002 18:00:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:00:34 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Patrick Gundlach In-Reply-To: <200108290903.LAA04766@sol.cs.uni-dortmund.de> Xref: main.gmane.org gmane.comp.tex.context:5440 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5440 At 11:03 AM 8/29/2001 +0200, Patrick Gundlach wrote: >\mainlanguage[de] >\starttext >\defineXMLenvironment [document] \startnarrower \stopnarrower >\defineXMLargument [title] \midaligned >\defineXMLenvironment [list] \startitemize \stopitemize >\defineXMLcommand [item] \item >\defineXMLgrouped [b] \bf >\defineXMLentity [context] \ConTeXt >\defineXMLentity [dots] \dots > >\setuptyping[file][option=xml] > >\startbuffer > > Ein kleines xml-Dokument > > sinnloser Text, der sehr wichtig ist. > > &context; kann aber noch viel kompliziertere > Dinge tun &dots; > > >\stopbuffer >\processXMLbuffer >\stoptext in xtag-ini, search for enableXML, add the " catcode change there, like: .catcode`.>=.@@other* .catcode`."=.@@other* then, recompile the formats let me know if this works okay since i only did a quick test 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 ------------------------------------------------------------------------- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5443 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: xml, mainlanguage de, handlecompoundchar Date: Wed, 29 Aug 2001 15:12:41 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <200108291312.PAA06315@sol.cs.uni-dortmund.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035396036 1673 80.91.224.250 (23 Oct 2002 18:00:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:00:36 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:5443 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5443 Hi, thanks, it works well. The first lines of \gdef\enableXML are now: .gdef.enableXML* B.catcode`.!=.@@other* .catcode`."=.@@other* .catcode`.?=.@@other* Viele Grüße, Patrick Gundlach - I TeX, therefore I am -