![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
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
There should be a more direct way of getting this information!
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 am not on a machine with latest context (and cannot update right now). The code above was taken from catc-ini.mkiv, but that file changed in the latest update. Could you please run the following test and see if it works: 1. Copy t-module-catcodes.tex to your local directory. 2. Change \gdef\activetabtoken{^^M} with \xdef\activetabtoken {\Uchar\tabasciicode } and similar for other \gdef's according to lines 121-124 of https://github.com/contextgarden/context-mirror/blob/25fcad7435f56cdce265833... and run your test again. Thank you for the report. Aditya