From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57107 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: interaction fails with footnotes (was: xml with interaction fails in footnotes) Date: Mon, 15 Mar 2010 00:32:37 +0100 Message-ID: <20100314233237.GB19557@localhost.localdomain> References: <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="===============1236326825==" X-Trace: dough.gmane.org 1268609639 11414 80.91.229.12 (14 Mar 2010 23:33:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 14 Mar 2010 23:33:59 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 15 00:33:55 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 1NqxJf-00009C-L3 for gctc-ntg-context-518@m.gmane.org; Mon, 15 Mar 2010 00:33:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2906CC9DDB; Mon, 15 Mar 2010 00:33:51 +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 3HY-oKWNd7yv; Mon, 15 Mar 2010 00:33:47 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C80FAC9DC7; Mon, 15 Mar 2010 00:33:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8D5DDC9DC7 for ; Mon, 15 Mar 2010 00:33:45 +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 LF1ZY72osF-w for ; Mon, 15 Mar 2010 00:33:42 +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 EF01AC9DC0 for ; Mon, 15 Mar 2010 00:33:41 +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 o2ENXbhI027801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Mar 2010 00:33:37 +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 o2ENXeo2020589 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 15 Mar 2010 00:33:40 +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 o2ENXl8r008259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 15 Mar 2010 00:33:48 +0100 In-Reply-To: <20100314231203.GA19557@localhost.localdomain> 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:57107 Archived-At: --===============1236326825== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline --GID0FwUMdk1T2AWN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-03-15 <00:12:03>, Philipp Gesang wrote: > Good evening all, >=20 >=20 > 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. >=20 > 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. >=20 > 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. Correction: It doesn't work fine outside xml, too, when again put in a footnote.[1] So forget about the xml part. Interaction seems to be the culprit. Philipp [1] Like this: ---8<----------------------------------------------------------------------= ---- Words before a footnote\footnote{ \transliterate{=D1=80=D0=B0=D0=B7, =D0=B4=D0=B2=D0=B0, =D1=82=D1=80=D0=B8} } ---8<----------------------------------------------------------------------= ---- >=20 > Thanks for any help, >=20 >=20 > Philipp >=20 > ---8<--------------------------------------------------------------------= ------ >=20 > \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] >=20 > \setupinteraction[state=3Dstart] %this one > \usemodule[transliterator] >=20 > \startxmlsetups xml:testsetups > \xmlsetsetup{\xmldocument}{*}{-} > \xmlsetsetup{\xmldocument}{ > body| > content| > trru| %this one > fn| > }{xml:*} > \stopxmlsetups >=20 > \xmlregistersetup{xml:testsetups} >=20 > \startxmlsetups xml:body > \xmlflush{#1} > \stopxmlsetups >=20 > \startxmlsetups xml:content > \xmlflush{#1} > \stopxmlsetups >=20 > \startxmlsetups xml:fn > \startfootnote %this together with =E2=80=A6 > \xmlflush{#1} > \stopfootnote %=E2=80=A6 this one > \stopxmlsetups >=20 > \startxmlsetups xml:trru > \starttransliterate %this together with =E2=80=A6 > \xmlflush{#1} > \stoptransliterate %=E2=80=A6 this one > \stopxmlsetups >=20 > \starttext >=20 > \transliterate{=D1=80=D0=B0=D0=B7, =D0=B4=D0=B2=D0=B0, =D1=82=D1=80=D0=B8} >=20 > \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 >=20 > \xmlprocessbuffer{test}{}{} >=20 > \stoptext >=20 > ---8<--------------------------------------------------------------------= ------ >=20 > --=20 > () ascii ribbon campaign - against html e-mail > /\ www.asciiribbon.org - against proprietary attachments > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --GID0FwUMdk1T2AWN 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) iEYEARECAAYFAkudchUACgkQ02lYlJYWs9LDygCgprPw+CmAxuiZ2n3QDokq/jaD 7s4AnAps3bxufbmI/qqQ34WG9+aJrtX1 =PkDv -----END PGP SIGNATURE----- --GID0FwUMdk1T2AWN-- --===============1236326825== 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 ___________________________________________________________________________________ --===============1236326825==--