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