From: Lutz Haseloff <lutz.haseloff@toppkieker.info>
To: Context Mailing List <ntg-context@ntg.nl>
Subject: Problem with Filter Module in latent context beta
Date: Sat, 14 Apr 2018 14:21:19 +0200 [thread overview]
Message-ID: <6C002DD0-884E-4D8B-AD82-0A9538E19091@toppkieker.info> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1293 bytes --]
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 append the logfile.
Greetings Lutz
--
GPG Key ID 3C4F83BC
[-- Attachment #1.2: Type: text/html, Size: 1484 bytes --]
[-- Attachment #2: filtertest.log --]
[-- Type: text/plain, Size: 6834 bytes --]
open source > level 1, order 1, name '/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv'
system >
system > ConTeXt ver: 2018.04.13 14:53 MKIV beta fmt: 2018.4.14 int: english/english
system >
system > 'cont-new.mkiv' loaded
open source > level 2, order 2, name '/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
close source > level 2, order 2, name '/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system > files > jobname 'filtertest', input './filtertest', result 'filtertest'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 2, order 3, name '/home/filtertest.tex'
modules > 'filter' is loaded
open source > level 3, order 4, name '/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv'
loading > Filter (ver: 2016.03.02)
modules > 'module-catcodes' is loaded
open source > level 4, order 5, name '/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex'
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
? x
system > start used files
system > text: filtertest
system > stop used files
system > start used files
system > 1: filename=char-prv.lua filetype=tex format=tex foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system > 2: filename=cont-yes.mkiv filetype=tex foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system > 3: filename=publ-imp-default.lua filetype=lua foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system > 4: filename=cont-new.mkiv filetype=tex foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system > 5: filename=lang-exc.lua filetype=lua foundname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/usr/local/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system > 6: filename=lang-us.lua filetype=lua foundname=/usr/local/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/usr/local/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system > 7: filename=/home/filtertest.tex foundname=/home/filtertest.tex fullname=/home/filtertest.tex usedmethod=direct
system > 8: filename=t-filter.mkiv filetype=tex foundname=/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv fullname=/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-filter.mkiv usedmethod=database
system > 9: filename=t-module-catcodes.tex filetype=tex foundname=/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex fullname=/usr/local/context/tex/texmf-modules/tex/context/third/filter/t-module-catcodes.tex usedmethod=database
system > stop used files
system > start commandline options
system > currentrun="1"
system > fulljobname="./filtertest.tex"
system > input="./filtertest.tex"
system > kindofrun="1"
system > maxnofruns="9"
system > no-parse-first-line="true"
system > stop commandline options
system > start commandline files
system > 1: ./filtertest.tex
system > stop commandline files
modules > start used modules
modules > loaded : *-filter
modules > loaded : *-module-catcodes
modules > stop used modules
mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats > used cache path: /usr/local/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats > resource resolver: loadtime 0.046 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 9 found files, scanned paths: <none>
mkiv lua stats > stored bytecode data: 424 modules (0.815 sec), 93 tables (0.067 sec), 517 chunks (0.882 sec)
mkiv lua stats > traced context: maxstack: 1292, freed: 0, unreachable: 1292
mkiv lua stats > cleaned up reserved nodes: 55 nodes, 9 lists of 453
mkiv lua stats > node memory usage: 1 dir, 2 kern, 2 attribute, 50 glue_spec, 1 attribute_list, 2 temp, 1 if_stack, 2 user_defined
mkiv lua stats > used backend: pdf (backend for directly generating pdf output)
mkiv lua stats > jobdata time: 0.000 seconds saving, 0.000 seconds loading
mkiv lua stats > callbacks: internal: 47, file: 235, direct: 6, late: 0, function 59, total: 347
mkiv lua stats > loaded tex modules: 2 requested, all found (*-filter *-module-catcodes)
mkiv lua stats > loaded patterns: en::2, load time: 0.000
mkiv lua stats > result saved in file: filtertest.pdf, compresslevel 3, objectcompresslevel 3
mkiv lua stats > font engine: otf 3.103, afm 1.513, tfm 1.000
mkiv lua stats > used platform: unknown, type: unix, binary subtree: texmf-linux-armhf
mkiv lua stats > used engine: luatex version 1.08 with functionality level 6700, banner: this is luatex, version 1.08.0 (tex live 2018)
mkiv lua stats > control sequences: 44709 of 65536 + 100000
mkiv lua stats > lua properties: engine: lua 5.3, used memory: 57 MB (ctx: 57 MB), hash type: lua, hash chars: min(64,40), symbol mask: utf (ÏεÏ)
mkiv lua stats > runtime: 11.096 seconds
[-- Attachment #3: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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 reply other threads:[~2018-04-14 12:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-14 12:21 Lutz Haseloff [this message]
2018-04-14 13:02 ` Aditya Mahajan
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=6C002DD0-884E-4D8B-AD82-0A9538E19091@toppkieker.info \
--to=lutz.haseloff@toppkieker.info \
--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).