summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-02-18 22:08:55 +0000
committerKarl Berry <karl@freefriends.org>2022-02-18 22:08:55 +0000
commitfa1715acc727bc550e5e0b5105d3f46650a82461 (patch)
tree2278d29a807e3b995c133a0c662eb570371e86d4
parent7459ef7e9b8042688864be81e5a8b08180faa1b4 (diff)
context-filter (18feb22)
git-svn-id: svn://tug.org/texlive/trunk@62070 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/context/third/filter/VERSION2
-rw-r--r--Master/texmf-dist/tex/context/third/filter/t-filter.mkxl10
2 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/context/third/filter/VERSION b/Master/texmf-dist/doc/context/third/filter/VERSION
index d937151b168..25899939892 100644
--- a/Master/texmf-dist/doc/context/third/filter/VERSION
+++ b/Master/texmf-dist/doc/context/third/filter/VERSION
@@ -1 +1 @@
-2021.10.15
+2022.02.17
diff --git a/Master/texmf-dist/tex/context/third/filter/t-filter.mkxl b/Master/texmf-dist/tex/context/third/filter/t-filter.mkxl
index ccb464dc788..6d4239bdf6f 100644
--- a/Master/texmf-dist/tex/context/third/filter/t-filter.mkxl
+++ b/Master/texmf-dist/tex/context/third/filter/t-filter.mkxl
@@ -1,6 +1,6 @@
%D \module
%D [ file=t-filter,
-%D version=2021.10.15,
+%D version=2022.02.17,
%D title=\CONTEXT\ User Module,
%D subtitle=Filter,
%D author=Aditya Mahajan,
@@ -9,7 +9,7 @@
%D email=adityam <at> ieee <dot> org,
%D license=Simplified BSD License]
-\writestatus{loading}{Filter (ver: 2021.10.15)}
+\writestatus{loading}{Filter (ver: 2022.02.17)}
\startmodule [filter]
\usemodule [module-catcodes]
@@ -162,9 +162,13 @@
\externalfilter@set_directory
\edef\externalfilter@input_file{\externalfilter@any_filename{#3}}
+ \startluacode
+ context.setevalue("externalfilter@hash",
+ md5.hex("#3\externalfilterparameter{\c!cache\c!option}"):sub(1,8))
+ \stopluacode
\splitfilename{#3}
%NOTE: \edef doesn not work because \splitoffbase is not expandable
- \def\externalfilter@base_file {\splitoffbase-\splitofftype}
+ \def\externalfilter@base_file {\splitoffbase-\splitofftype-\externalfilter@hash}
% The output is always in the directory specified by
% \c!directory; even if the input is from some other directory