From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100625 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: Tue, 17 Apr 2018 05:48:42 +0200 Message-ID: <5DB5C205-E5C2-4889-9A55-8F1509B87F4F@toppkieker.info> 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="===============7819470271528681893==" X-Trace: blaine.gmane.org 1523936832 1150 195.159.176.226 (17 Apr 2018 03:47:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Apr 2018 03:47:12 +0000 (UTC) User-Agent: K-9 Mail for Android To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 17 05:47:08 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 1f8HaG-0000DR-4H for gctc-ntg-context-518@m.gmane.org; Tue, 17 Apr 2018 05:47:08 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 088D462610A; Tue, 17 Apr 2018 05:49:02 +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 Eq18MXsmqfJ2; Tue, 17 Apr 2018 05:49:01 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 4D648626115; Tue, 17 Apr 2018 05:49:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4090F626115 for ; Tue, 17 Apr 2018 05:49:00 +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 HjR30k34OS_l for ; Tue, 17 Apr 2018 05:48:59 +0200 (CEST) Original-Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.216]) (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 4D78F62610A for ; Tue, 17 Apr 2018 05:48:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1523936928; 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=jbBIyt8GHPvHhBCcjEEmxNmGucWPqS1PkUXN8g32gEc=; b=LiTv9DfXMNcUPbXFrwukCuaCIBPx28HB7iLBkUr+VEHiz0wNIJUNGziOvanpi3VtSm azeyw5U3VT8quWQYoGxVQGNHPGYv52JGRlsUZ1ZOLoVinFU3XAZb/fi9ur7tnHoxt/lJ UoTDn+Ew/HMvnylQxjYifIIYSMhvLRJt1ezIQQz9CbUdFwm837Us7vQy8NzgsQlQ6CdG 92ARDGS0ppKv/yVIxAeZXeXVn99H2WaRYElRkdV2ugwBFA44IfuVvIHoigjsotrA7tyH loHf3gED7cPnx5IB+ysp+be7QMR+/jll/VgacargF7DYPo4AYlZ/COKjy83zuOZmlkfR mk+A== 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 L08db5u3H3mmes2 (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 ; Tue, 17 Apr 2018 05:48:48 +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:100625 Archived-At: --===============7819470271528681893== Content-Type: multipart/alternative; boundary="----F5FSGU9NC2883JX8NJEQ5GKBCXFYQG" Content-Transfer-Encoding: 7bit ------F5FSGU9NC2883JX8NJEQ5GKBCXFYQG Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Aditya, your filter module works for me again=2E Thank you very much=2E Greetings Lutz Am 17=2E April 2018 04:52:21 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 >> >> 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 uploaded a new version of filter module where this is fixed=2E The new= =20 >method is slightly cleaner and hopefully works better=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 ------F5FSGU9NC2883JX8NJEQ5GKBCXFYQG Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Aditya,

your filter module works for me again=2E

Thank you very much=2E

Greetings Lutz

Am 17=2E April 2018 04:52= :21 MESZ schrieb 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

Error message:


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

tex error > tex error on li= ne 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 \stop= catcodetable
87
88
89
90 \ifdefined \activeendoflinetok= en \else
91 % from catc-ini=2Emkiv
92 \bgroup
9= 3 \catcode \tabasciicode \activecatcode \gdef\activetabt= oken {^^I}
94 = \gdef\outputnewlinechar {^^J}
95 \catcode \formfeeda= sciicode \activecatcode \gdef\activeformfeedtoken {^^L}
96 >> = \catcode \endoflineasciicode \activecatcode \gdef\activeendoflinet= oken{^^M}
97 \egroup
98 \fi
99
100 \protect= modulecatcodes
101 \stopmodule
102

I upload= ed a new version of filter module where this is fixed=2E The new
method= is slightly cleaner and hopefully works better=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/listin= fo/ntg-context
webpage : h= ttp://www=2Epragma-ade=2Enl / http://context=2Eaanhet=2Enet
archive : https://bitbucket=2Eorg/phg/context-m= irror/commits/
wiki : htt= p://contextgarden=2Enet


--
GPG Key ID 3C4F83BC ------F5FSGU9NC2883JX8NJEQ5GKBCXFYQG-- --===============7819470271528681893== 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 --===============7819470271528681893==--