From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100595 Path: news.gmane.org!.POSTED!not-for-mail From: Lutz Haseloff Newsgroups: gmane.comp.tex.context Subject: Re: Problem with Filter Module in latent context beta Date: Sat, 14 Apr 2018 21:52:53 +0200 Message-ID: References: <6C002DD0-884E-4D8B-AD82-0A9538E19091@toppkieker.info> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8642503230368973289==" X-Trace: blaine.gmane.org 1523735422 30559 195.159.176.226 (14 Apr 2018 19:50:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2018 19:50:22 +0000 (UTC) User-Agent: K-9 Mail for Android To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 14 21:50:18 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7RBi-0007kh-7d for gctc-ntg-context-518@m.gmane.org; Sat, 14 Apr 2018 21:50:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0134F62620D; Sat, 14 Apr 2018 21:52:14 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zxNpYydK8Igw; Sat, 14 Apr 2018 21:52:13 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 3E869625FF6; Sat, 14 Apr 2018 21:52:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2C7F7625FF6 for ; Sat, 14 Apr 2018 21:52:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hlLvlphcHz9A for ; Sat, 14 Apr 2018 21:52:11 +0200 (CEST) Original-Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 18C2F625ED5 for ; Sat, 14 Apr 2018 21:52:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1523735520; s=strato-dkim-0002; d=toppkieker.info; h=Message-ID:From:To:Subject:Content-Transfer-Encoding:Content-Type: References:In-Reply-To:Date:X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject: Sender; bh=qxuuAodJGxTQvUvkXvokQ0LQ3p0z+rC/jivLyH/cIJY=; b=YHPJ4HwYuJQIQSuNHLGOoy8SWHkkJfv4U12HQcWA/nhgpDiJUgTDmhu15XA/VppB58 Ns7jrl8G67BTQ2b58ya34StloZs+vEGH4zCCzeSl7lE1M+dT5MJz/sG1K7tBiLs6eV4a vqfF2f7RqPpx+2n3KqT1M6f5ZK7jPMSWWe5zwgyH43ksE8Hm5civay4KotfTwFcVE6sl 1tkkPGzRt2Nvn7PVPZ3h/z+nXgoWxQ7DPTBuvwbzZ0C6z99oQm2P5trt8VblfgPXloqa pMz4jqIZWy/c2ZLer4b+M47xNqcPj+IU5UYPb9NGtb3M5djL9s4tYAm9K6+gP1WIr0xE DA4Q== X-RZG-AUTH: :IHkQbw6geuzPHokbjwREyaVCwUnRg4l4M61DnCKQiup5oU3VJYnTARnVQHs13opOadubsd7P5BxqdZk= X-RZG-CLASS-ID: mo00 Original-Received: from [192.168.0.14] by smtp.strato.de (RZmta 43.2 AUTH) with ESMTPSA id L08db5u3EJq0KBJ (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate) for ; Sat, 14 Apr 2018 21:52:00 +0200 (CEST) In-Reply-To: Autocrypt: addr=lutz.haseloff@toppkieker.info; keydata=mQGNBFoCEYUBDADLf1ach e+jMqLUlSM5j8rC8EDsOuUWi7MFLPimProhbVgxD7lzDDHmBmEEBf563EBBrq8X5eYnKXCpIFZ32 5TtPuSixgCi7Zpef3cvB/LRtHltj5q7J6EkSpUoi/4MI0qoOeikbVnaHfRy7lmYdVLh/01SosayR ma3WttlUJXn0PpQLOJ4zA2YoS7GiavlW/Qv+IbWBgxwBpiCq6y1Smjs2uywUtG/3uWoq700pWSsP o6XRtVtqBtLoddT8B8PGkk6aPbv3wHplOhZa56Xcb4PlP7obQAwB6sg7M0JnwkOCpUmHfa//D2LL Zeo1okI3j0N0k2aV/cafGqOEA7mjDQBZxVMVY+30v9LVI8uffXezYAskkOJ2UGCYMSXEzmrcPJuF Oo6uyz0WaWVU20A767rUZmJh+tujHkCNZMS1IP56081ilvRmOb06dl7hTsKql7Yq4Lv10vGrfFyK FUUkzlwoQDirH+o5JmWDX4fG/LqdN+yCZWbGRr4pHzj/eiBdF0AEQEAAbQtTHV0eiBIYXNlbG9mZ iA8bHV0ei5oYXNlbG9mZkB0b3Bwa2lla2VyLmluZm8+iQGwBBMBCgAaBAsJCAcCFQoCFgECGQEFg loCEYUCngECmwEACgkQ3bIFXDxPg7wiSQv9Ehg0+3bjVxFx70uxVAfYfQUSKnLUEcSRyMVhwg2ki N4y/Vk5X0t2NJW/mm/MMJpPfMDcYNub0P24gmdmBCtMtOVz+UTJSPB0geC3t+QvDUFq9DJ9vnKZ2 XBaSnlO3nE6uyO3ZIK7P6Ivv/CTftX8BEH+kiVfnvB X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:100595 Archived-At: --===============8642503230368973289== Content-Type: multipart/alternative; boundary="----3116Q0MVXCGBTHKR587C9GO33MGALB" Content-Transfer-Encoding: 7bit ------3116Q0MVXCGBTHKR587C9GO33MGALB Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I get another error message: open source > level 4, order 5, name 't-module-catcodes=2Etex' loading > Module Catcodes (ver: 2011=2E12=2E17) tex error > tex error on line 96 in file t-module-catcodes=2Etex: ! = Undefined control sequence l=2E96 =2E=2E=2Eiveendoflinetoken{\Uchar\endoflineasciicode} =20 86 \stopcatcodetable 87 =20 88 =20 89 =20 90 \ifdefined \activeendoflinetoken \else 91 % from catc-ini=2Emkiv 92 \bgroup 93 \catcode \tabasciicode \activecatcode \xdef\activet= abtoken {\Uchar\tabasciicode} 94 \xdef\outputn= ewlinechar {\Uchar\newlineasciicode} 95 \catcode \formfeedasciicode \activecatcode \xdef\activef= ormfeedtoken {\Uchar\formfeedasciicode} 96 >> \catcode \endoflineasciicode \activecatcode \xdef\activee= ndoflinetoken{\Uchar\endoflineasciicode} 97 \egroup 98 \fi 99 =20 100 \protectmodulecatcodes 101 \stopmodule 102 =20 Am 14=2E April 2018 15:02:09 MESZ schrieb Aditya Mahajan : >On Sat, 14 Apr 2018, Lutz Haseloff wrote: > >> Hi all, >> >> with latest context my filter test file fails with an error=2E My file: >> >> \usemodule[filter] >> \defineexternalfilter >> [luatexdevelopmentlevel] >> [filtercommand=3D{luatex --credits | grep Development > >\externalfilteroutputfile}] >> \starttext >> \inlineluatexdevelopmentlevel{} >> \stoptext > >There should be a more direct way of getting this information! > >> Error message: >> >> >> loading > Module Catcodes (ver: 2011=2E12=2E17) >> >> tex error > tex error on line 96 in file >/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-ca= tcodes=2Etex: >! Undefined control sequence >> >> l=2E96 =2E=2E=2Etivecatcode \gdef\activeendoflinetoken{^^M} >> >> >> 86 \stopcatcodetable >> 87 >> 88 >> 89 >> 90 \ifdefined \activeendoflinetoken \else >> 91 % from catc-ini=2Emkiv >> 92 \bgroup >> 93 \catcode \tabasciicode \activecatcode=20 >\gdef\activetabtoken {^^I} >> 94 =20 >\gdef\outputnewlinechar {^^J} >> 95 \catcode \formfeedasciicode \activecatcode=20 >\gdef\activeformfeedtoken {^^L} >> 96 >> \catcode \endoflineasciicode \activecatcode=20 >\gdef\activeendoflinetoken{^^M} >> 97 \egroup >> 98 \fi >> 99 >> 100 \protectmodulecatcodes >> 101 \stopmodule >> 102 > >I am not on a machine with latest context (and cannot update right >now)=2E=20 >The code above was taken from catc-ini=2Emkiv, but that file changed in >the=20 >latest update=2E Could you please run the following test and see if it=20 >works: > >1=2E Copy t-module-catcodes=2Etex to your local directory=2E >2=2E Change \gdef\activetabtoken{^^M} with > > \xdef\activetabtoken {\Uchar\tabasciicode } > >and similar for other \gdef's according to lines 121-124 of=20 >https://github=2Ecom/contextgarden/context-mirror/blob/25fcad7435f56cdce2= 658336909f4da6a65589c0/tex/context/base/mkiv/catc-ini=2Emkiv > >and run your test again=2E > >Thank you for the report=2E > >Aditya >_________________________________________________________________________= __________ >If your question is of interest to others as well, please add an entry >to the Wiki! > >maillist : ntg-context@ntg=2Enl / >http://www=2Entg=2Enl/mailman/listinfo/ntg-context >webpage : http://www=2Epragma-ade=2Enl / http://context=2Eaanhet=2Enet >archive : https://bitbucket=2Eorg/phg/context-mirror/commits/ >wiki : http://contextgarden=2Enet >_________________________________________________________________________= __________ --=20 GPG Key ID 3C4F83BC ------3116Q0MVXCGBTHKR587C9GO33MGALB Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I get another error message:

open source > level 4, order 5, name 't-module-catcodes=2Etex&#= 39;
loading > Module Catcodes (ver: 2011=2E12=2E17)

tex error > tex error on line 96 in file t-module-catcodes=2Etex:= ! Undefined control sequence

l=2E96 =2E=2E=2Eiveendoflinetoken{\Uchar\endoflineasciicode}


86 \stopcatcodetable
87
88
89
90 \ifdefined \activeendoflinetoken \else
91 % from catc-ini=2Emkiv
92 \bgroup
93 \catcode \tabasciicode \activecatcode \xdef\activet= abtoken {\Uchar\tabasciicode}
94 \xdef\outputn= ewlinechar {\Uchar\newlineasciicode}
95 \catcode \formfeedasciicode \activecatcode \xdef\activef= ormfeedtoken {\Uchar\formfeedasciicode}
96 >> \catcode \endoflineasciicode \activecatcode \xdef\a= ctiveendoflinetoken{\Uchar\endoflineasciicode}
97 \egroup
98 \fi
99
100 \protectmodulecatcodes
101 \stopmodule
102


Am 14=2E April 2018 15:02:09 MESZ schri= eb Aditya Mahajan <adityam@umich=2Eedu>:
On Sat, 14 Apr 2018, Lutz Haseloff wrote:

Hi all,

with latest = context my filter test file fails with an error=2E My file:

\usemod= ule[filter]
\defineexternalfilter
[luatexdevelopmentlevel] [filtercommand=3D{luatex --credits | grep Development > \exter= nalfilteroutputfile}]
\starttext
\inlineluatexdevelopmentlevel{} \stoptext

There should be a more direct way of gettin= g this information!

Error message:


loading > Module Catcodes (ver: 201= 1=2E12=2E17)

tex error > tex error on line 96 in file /usr= /local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes= =2Etex: ! Undefined control sequence

l=2E96 =2E=2E=2Etivecatcode \= gdef\activeendoflinetoken{^^M}


86 \stopcatcodetable
87<= br> 88
89
90 \ifdefined \activeendoflinetoken \else
91 = % from catc-ini=2Emkiv
92 \bgroup
93 \catco= de \tabasciicode \activecatcode \gdef\activetabtoken {^^I}
= 94 \gdef\outputnew= linechar {^^J}
95 \catcode \formfeedasciicode \activecat= code \gdef\activeformfeedtoken {^^L}
96 >> \catcode \en= doflineasciicode \activecatcode \gdef\activeendoflinetoken{^^M}
97 = \egroup
98 \fi
99
100 \protectmodulecatcodes
1= 01 \stopmodule
102

I am not on a machine with l= atest context (and cannot update right now)=2E
The code above was taken= from catc-ini=2Emkiv, but that file changed in the
latest update=2E Co= uld you please run the following test and see if it
works:

1=2E = Copy t-module-catcodes=2Etex to your local directory=2E
2=2E Change \gde= f\activetabtoken{^^M} with

\xdef\activetabtoken {\Uchar\tab= asciicode }

and similar for other \gdef's according to lines 12= 1-124 of
https://github=2Ecom/contextgarden/context-mirror/blob/25fcad7435f= 56cdce2658336909f4da6a65589c0/tex/context/base/mkiv/catc-ini=2Emkiv
=
and run your test again=2E

Thank you for the report=2E

Ad= itya


If your question is of interest to others as well, please a= dd an entry to the Wiki!

maillist : ntg-context@ntg=2Enl / http://www=2Entg=2E= nl/mailman/listinfo/ntg-context
webpage : http://www=2Epragma-ade=2Enl / http://context=2Eaanhet=2Enet
archive : https://bitbucket= =2Eorg/phg/context-mirror/commits/
wiki : http://contextgarden=2Enet

<= /div>
--
GPG Key ID 3C4F83BC ------3116Q0MVXCGBTHKR587C9GO33MGALB-- --===============8642503230368973289== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8642503230368973289==--