I get another error message:

open source > level 4, order 5, name 't-module-catcodes.tex'
loading > Module Catcodes (ver: 2011.12.17)

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

l.96 ...iveendoflinetoken{\Uchar\endoflineasciicode}


86 \stopcatcodetable
87
88
89
90 \ifdefined \activeendoflinetoken \else
91 % from catc-ini.mkiv
92 \bgroup
93 \catcode \tabasciicode \activecatcode \xdef\activetabtoken {\Uchar\tabasciicode}
94 \xdef\outputnewlinechar {\Uchar\newlineasciicode}
95 \catcode \formfeedasciicode \activecatcode \xdef\activeformfeedtoken {\Uchar\formfeedasciicode}
96 >> \catcode \endoflineasciicode \activecatcode \xdef\activeendoflinetoken{\Uchar\endoflineasciicode}
97 \egroup
98 \fi
99
100 \protectmodulecatcodes
101 \stopmodule
102


Am 14. April 2018 15:02:09 MESZ schrieb Aditya Mahajan <adityam@umich.edu>:
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/25fcad7435f56cdce2658336909f4da6a65589c0/tex/context/base/mkiv/catc-ini.mkiv

and run your test again.

Thank you for the report.

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