From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/75271 Path: news.gmane.org!not-for-mail From: "Meer, H. van der" Newsgroups: gmane.comp.tex.context Subject: xml--verbatim in error? Date: Wed, 21 Mar 2012 13:00:01 +0000 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1332334813 3623 80.91.229.3 (21 Mar 2012 13:00:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Mar 2012 13:00:13 +0000 (UTC) To: ConTeXt NTG Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 21 14:00:12 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SAL97-0007QI-L2 for gctc-ntg-context-518@m.gmane.org; Wed, 21 Mar 2012 14:00:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 68589101F1; Wed, 21 Mar 2012 14:00:08 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6cDT3-Kuaz0c; Wed, 21 Mar 2012 14:00:07 +0100 (CET) Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E4009101E6; Wed, 21 Mar 2012 14:00:06 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1521C101E6 for ; Wed, 21 Mar 2012 14:00: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 (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Vxp20n-UOxZL for ; Wed, 21 Mar 2012 14:00:02 +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 7FA8F101E4 for ; Wed, 21 Mar 2012 14:00:02 +0100 (CET) Original-Received: from jansen.uva.nl (jansen.uva.nl [146.50.108.229]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q2LD01wG029161 for ; Wed, 21 Mar 2012 14:00:01 +0100 Original-Received: from vanthoff.uva.nl (146.50.108.242) by jansen.uva.nl (146.50.108.229) with Microsoft SMTP Server (TLS) id 14.1.355.2; Wed, 21 Mar 2012 14:00:01 +0100 Original-Received: from ketelaar.uva.nl ([fe80::cc61:4c73:c438:df97]) by vanthoff.uva.nl ([::1]) with mapi id 14.01.0355.002; Wed, 21 Mar 2012 14:00:01 +0100 Thread-Topic: xml--verbatim in error? Thread-Index: AQHNB2KGxmhmN1z6MUezbbCj2ReFmg== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [82.95.102.36] Content-ID: <37B48420DE27144C927D07D7B07E616B@uva.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=146.50.108.229; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0LGMd01ch - b92fbbaa5e4f - 20120321 (trained as not-spam) 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:75271 Archived-At: I found something that might be an error in the current xml-processing. In the following minimal example een "Undefined control sequence" error occurs for the \xmldisplayverbatim and \xmlinlineverbatims. The \xmlverbatim doesn't. \startxmldisplayverbatim ...\doinitializeverbatim \beginofverbatimlines \startbuffer[test-1] buffer[test-1] contents \stopbuffer \startxmlsetups load:setups \xmlsetsetup{\xmldocument}{myroot|text}{load:*} \stopxmlsetups\xmlregistersetup{load:setups} \startxmlsetups load:myroot \writestatus{TEST}{loading myroot node = #1 = \xmlname{#1}} % \xmlverbatim{#1}{text}\par \xmldisplayverbatim{#1}{text}\par % \xmlinlineverbatim{#1}{text}\par \stopxmlsetups \startxmlsetups load:text \writestatus{TEST}{node = #1 = \xmlname{#1}} \xmlflush{#1} \stopxmlsetups \enabletrackers[lxml.loading] \setuppapersize[S5][S5] \starttext \xmlprocessbuffer{myroot}{test-1}{} \stoptext Hans van der Meer ___________________________________________________________________________________ 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 ___________________________________________________________________________________