From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problem with Filter Module in latent context beta
Date: Sat, 14 Apr 2018 09:02:09 -0400 (EDT) [thread overview]
Message-ID: <alpine.OSX.2.20.1804140854420.29306@nqv-znpobbx> (raw)
In-Reply-To: <6C002DD0-884E-4D8B-AD82-0A9538E19091@toppkieker.info>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2018-04-14 13:02 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-14 12:21 Lutz Haseloff
2018-04-14 13:02 ` Aditya Mahajan [this message]
2018-04-14 15:59 ` Hans Hagen
2018-04-14 19:52 ` Lutz Haseloff
2018-04-14 22:07 ` Hans Hagen
2018-04-15 5:08 ` Aditya Mahajan
2018-04-15 10:21 ` Hans Hagen
2018-04-16 16:52 ` Aditya Mahajan
2018-04-16 17:55 ` Hans Hagen
2018-04-16 21:27 ` Aditya Mahajan
2018-04-16 21:59 ` Hans Hagen
2018-04-16 22:01 ` Aditya Mahajan
2018-04-17 8:09 ` Hans Hagen
2018-04-17 12:03 ` Aditya Mahajan
2018-04-17 17:19 ` Aditya Mahajan
2018-04-17 2:52 ` Aditya Mahajan
2018-04-17 3:48 ` Lutz Haseloff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.OSX.2.20.1804140854420.29306@nqv-znpobbx \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).