Hi Aditya,
your filter module works for me again.
Thank you very much.
Greetings Lutz
Am 17. 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. My file:
\usemodule[filter] \defineexternalfilter [luatexdevelopmentlevel] [filtercommand={luatex --credits | grep Development > \externalfilteroutputfile}] \starttext \inlineluatexdevelopmentlevel{} \stoptext
Error message:
loading > Module Catcodes (ver: 2011.12.17)
tex error > tex error on line 96 in file /usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex: ! Undefined control sequence
l.96 ...tivecatcode \gdef\activeendoflinetoken{^^M}
86 \stopcatcodetable 87 88 89 90 \ifdefined \activeendoflinetoken \else 91 % from catc-ini.mkiv 92 \bgroup 93 \catcode \tabasciicode \activecatcode \gdef\activetabtoken {^^I} 94 \gdef\outputnewlinechar {^^J} 95 \catcode \formfeedasciicode \activecatcode \gdef\activeformfeedtoken {^^L} 96 >> \catcode \endoflineasciicode \activecatcode \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. The new method is slightly cleaner and hopefully works better.
Aditya ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- GPG Key ID 3C4F83BC