diff options
Diffstat (limited to 'Master/texmf-dist/tex/context')
-rw-r--r-- | Master/texmf-dist/tex/context/third/filter/t-filter.mkxl | 10 |
1 files changed, 7 insertions, 3 deletions
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 |