From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57105 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: xml with interaction fails in footnotes Date: Mon, 15 Mar 2010 00:12:03 +0100 Message-ID: <20100314231203.GA19557@localhost.localdomain> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0565554342==" X-Trace: dough.gmane.org 1268608431 8194 80.91.229.12 (14 Mar 2010 23:13:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 14 Mar 2010 23:13:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 15 00:13:46 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nqx0D-0002PA-1V for gctc-ntg-context-518@m.gmane.org; Mon, 15 Mar 2010 00:13:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CC351C9DD9; Mon, 15 Mar 2010 00:13:43 +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 cCWE-mGIVpcY; Mon, 15 Mar 2010 00:13:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 05554C9CB8; Mon, 15 Mar 2010 00:13:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 793AAC9CB8 for ; Mon, 15 Mar 2010 00:13:19 +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 Ijqb-vzdaq0q for ; Mon, 15 Mar 2010 00:13:07 +0100 (CET) Original-Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by balder.ntg.nl (Postfix) with ESMTP id 232FCC9C91 for ; Mon, 15 Mar 2010 00:13:07 +0100 (CET) Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id o2END2Bc012628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Mar 2010 00:13:03 +0100 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id o2END6Wl018225 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Mar 2010 00:13:06 +0100 Original-Received: from localhost (mnhm-5f75e0eb.pool.mediaWays.net [95.117.224.235]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id o2ENDCVU007212 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 15 Mar 2010 00:13:13 +0100 X-Operating-System: Linux aides 2.6.32-ARCH User-Agent: Mutt/1.5.20 (2009-06-14) 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:57105 Archived-At: --===============0565554342== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Good evening all, I'm experiencing a weird behaviour when using my module to transliterate stuff in a footnote. ConTeXt fails with an undefined control sequence if an only if I switch on interaction. The issue vanishes when I removing either the footnote environment or the interaction or the transliteration or the tag with the text to be transliterated. In the following minimal example I specified the lines that will make context process the file when commented out. Please note that everything works fine outside xml as the transliteration immediately after =E2=80=9C\starttext=E2=80=9D demonstrates. Thanks for any help, Philipp ---8<----------------------------------------------------------------------= ---- \enabletrackers[xml.entities] \enabletrackers[xml.parse] \enabletrackers[xml.path] \enabletrackers[xml.profile] \enabletrackers[xml.remap] \enabletrackers[lxml.access] \enabletrackers[lxml.comments] \enabletrackers[lxml.loading] \enabletrackers[lxml.manipulations] \enabletrackers[lxml.setups] \setupinteraction[state=3Dstart] %this one \usemodule[transliterator] \startxmlsetups xml:testsetups \xmlsetsetup{\xmldocument}{*}{-} \xmlsetsetup{\xmldocument}{ body| content| trru| %this one fn| }{xml:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:body \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:content \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:fn \startfootnote %this together with =E2=80=A6 \xmlflush{#1} \stopfootnote %=E2=80=A6 this one \stopxmlsetups \startxmlsetups xml:trru \starttransliterate %this together with =E2=80=A6 \xmlflush{#1} \stoptransliterate %=E2=80=A6 this one \stopxmlsetups \starttext \transliterate{=D1=80=D0=B0=D0=B7, =D0=B4=D0=B2=D0=B0, =D1=82=D1=80=D0=B8} \startbuffer Content to include with a footnote =D1=80=D0=B0=D0=B7, =D0=B4=D0=B2=D0=B0, =D1=82=D1=80=D0=B8 %this one \stopbuffer \xmlprocessbuffer{test}{}{} \stoptext ---8<----------------------------------------------------------------------= ---- --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkudbUMACgkQ02lYlJYWs9LWkACgo0mgw1jQljPssyvE3rLkZZ8w rcAAn2mPl0meBIsRNgEyv3xO9W7Aas7n =HAV7 -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V-- --===============0565554342== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0565554342==--