From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17514 Path: main.gmane.org!not-for-mail From: Richard Gabriel Newsgroups: gmane.comp.tex.context Subject: XML in ConTeXt & verbatim text Date: Tue, 14 Dec 2004 16:48:05 +0100 Message-ID: <41BF0B35.4070301@kerio.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1103039413 3834 80.91.229.6 (14 Dec 2004 15:50:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2004 15:50:13 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 14 16:50:02 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CeEw6-0008LP-00 for ; Tue, 14 Dec 2004 16:50:02 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 55B5512775; Tue, 14 Dec 2004 16:50:02 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04217-07; Tue, 14 Dec 2004 16:50:02 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7540912777; Tue, 14 Dec 2004 16:48:13 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A90D712777 for ; Tue, 14 Dec 2004 16:48:11 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04217-06 for ; Tue, 14 Dec 2004 16:48:11 +0100 (CET) Original-Received: from mx1.kerio.com (unknown [195.39.55.2]) by ronja.ntg.nl (Postfix) with ESMTP id EE24012775 for ; Tue, 14 Dec 2004 16:48:10 +0100 (CET) Original-Received: from [192.168.44.160] ([192.168.44.160]) (authenticated user rgabriel@kerio.com) by mx1.kerio.com (Kerio MailServer 6.0.5) for ntg-context@ntg.nl; Tue, 14 Dec 2004 16:48:09 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040926 X-Accept-Language: cs, en-us, en, sk Original-To: mailing list for ConTeXt users X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17514 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17514 Hi all, I'm back here with the following problem: I'm processing XML files (DocBook DTD) which also may contain the tag with some preformatted text. In a sample TeX file, I've tested the following: \starttyping Value of Var \stoptyping This works and the result is great. So I defined a macro to process the tag from the XML file: \defineXMLenvironment[programlisting]{\starttyping}{\stoptyping} This causes an error while processing. Most probably the \starttyping command breaks things inside the \defineXMLenvironment macro... Any guess how to solve this issue? Many thanks! Richard