From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86791 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: \starttyping while processing XML causing error Date: Thu, 27 Mar 2014 09:46:11 +0100 Message-ID: <20140327094611.df1dcee8dc37c4f8c22f28cd@telefonica.net> 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: ger.gmane.org 1395909984 4113 80.91.229.3 (27 Mar 2014 08:46:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2014 08:46:24 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 27 09:46:34 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WT5xJ-0000Kv-RQ for gctc-ntg-context-518@m.gmane.org; Thu, 27 Mar 2014 09:46:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE0E4101F1; Thu, 27 Mar 2014 09:46:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Tw0qYykmuLdT; Thu, 27 Mar 2014 09:46:30 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CE38D101EA; Thu, 27 Mar 2014 09:46:30 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C54C1101EA for ; Thu, 27 Mar 2014 09:46:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WAgBIIUGmn1B for ; Thu, 27 Mar 2014 09:46:26 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 2D17C101E1 for ; Thu, 27 Mar 2014 09:46:16 +0100 (CET) Original-Received: from smtp.movistar.es (smtp21.acens.net [86.109.99.145]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2R8kDcv027474 for ; Thu, 27 Mar 2014 09:46:15 +0100 X-CTCH-RefID: str=0001.0A0B0202.5333E554.0045, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-Spam: Unknown Original-Received: from rulot (81.32.88.229) by smtp.movistar.es (8.6.117.05) (authenticated as dxpublica) id 532F599C001EB7E7 for ntg-context@ntg.nl; Thu, 27 Mar 2014 08:46:12 +0000 X-Mailer: Sylpheed 3.3.1 (GTK+ 2.24.22; i686-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=86.109.99.145; country=ES; latitude=40.0000; longitude=-4.0000; http://maps.google.com/maps?q=40.0000,-4.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0NLGwKdh1 - 9f72221238f9 - 20140327 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86791 Archived-At: Hi, I have this minimal example: 1) Tasques.context: \environment ./entorn-xml \starttext A \xmlprocessfile{demo}{./dades.xml}{} B \stoptext 2) entorn-xml.tex: \startxmlsetups xml:demo:base \xmlsetsetup{demo}{*}{-} \xmlsetsetup{demo}{things|code|}{xml:demo:*} \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:things \xmlflush{#1} \stopxmlsetups %TODO: startcode: http://www.ntg.nl/pipermail/ntg-context/2012/064750.html \startxmlsetups xml:demo:code \bigskip \startlines\xmlflush{#1}\stoplines \stopxmlsetups 3) dades.xml: [root@serviedre ~]# pacman -Syu :: Synchronizing package databases... core 193.0 KiB 50.0K/s 00:04 [######################] 100% extra 2037.1 KiB 166K/s 00:12 [##########################################] 100% community 2.2 MiB 374K/s 00:06 [##########################################] 100% alarm 55.6 KiB 242K/s 00:00 [##########################################] 100% aur 64.0 KiB 288K/s 00:00 [##########################################] 100% :: Starting full system upgrade... warning: linux-sun4i: ignoring package upgrade (3.4.79-1 => 3.4.79-2) warning: linux-sun4i-headers: ignoring package upgrade (3.4.79-1 => 3.4.79-2) there is nothing to do When I compile tasques.context, all is ok, but when I substitute the \startlines \stoplines with \starttyping \stoptyping context never ends. Is that a bug? I just found [this](http://www.ntg.nl/pipermail/ntg-context/2012/064750.html), but really no solution. Since 2012 I suppose many things are changed so I ask. Why doesn't it work? Thanks in advance, Xan. ___________________________________________________________________________________ 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 ___________________________________________________________________________________