diff options
author | Norbert Preining <norbert@preining.info> | 2022-02-19 03:02:56 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-02-19 03:02:56 +0000 |
commit | 1db3acf2bbb07034aafc552f322633a96b748cf4 (patch) | |
tree | 01227822acc2f3b2641e108b814d38c64031ff4e /macros/context | |
parent | 41041c6bdcedcc33698491c2caec4cd725a4fe97 (diff) |
CTAN sync 202202190302
Diffstat (limited to 'macros/context')
4 files changed, 20 insertions, 7 deletions
diff --git a/macros/context/contrib/context-filter/VERSION b/macros/context/contrib/context-filter/VERSION index d937151b16..2589993989 100644 --- a/macros/context/contrib/context-filter/VERSION +++ b/macros/context/contrib/context-filter/VERSION @@ -1 +1 @@ -2021.10.15 +2022.02.17 diff --git a/macros/context/contrib/context-filter/tex/context/third/filter/t-filter.mkxl b/macros/context/contrib/context-filter/tex/context/third/filter/t-filter.mkxl index ccb464dc78..6d4239bdf6 100644 --- a/macros/context/contrib/context-filter/tex/context/third/filter/t-filter.mkxl +++ b/macros/context/contrib/context-filter/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 diff --git a/macros/context/contrib/context-vim/VERSION b/macros/context/contrib/context-vim/VERSION index 207ae307b6..2589993989 100644 --- a/macros/context/contrib/context-vim/VERSION +++ b/macros/context/contrib/context-vim/VERSION @@ -1 +1 @@ -2021.12.13 +2022.02.17 diff --git a/macros/context/contrib/context-vim/tex/context/third/vim/t-vim.tex b/macros/context/contrib/context-vim/tex/context/third/vim/t-vim.tex index 3c30b9cfd6..930155cc9e 100644 --- a/macros/context/contrib/context-vim/tex/context/third/vim/t-vim.tex +++ b/macros/context/contrib/context-vim/tex/context/third/vim/t-vim.tex @@ -1,6 +1,6 @@ %D \module %D [ file=t-vim, -%D version=2021.09.05, +%D version=2022.02.17, %D title=\CONTEXT\ User Module, %D subtitle=Vim syntax highlighting, %D author=Aditya Mahajan, @@ -9,7 +9,7 @@ %D email=adityam <at> ieee <dot> org, %D license=Simplified BSD License] -\writestatus{loading}{Vim syntax highlighting (ver: 2021.09.05)} +\writestatus{loading}{Vim syntax highlighting (ver: 2022.02.17)} \startmodule [vim] \usemodule [filter] % loads module catcodes @@ -123,6 +123,15 @@ % \c!highlightcolor=lightgray, \c!filtercommand=\vimtyping@filter_command, % \c!continue=yes, + % All options that effect the call to vim. When syntax highlighting + % external files, changing any one of these options will result in a new + % call to vim and the result will be saved in a different file + \c!cache\c!option={\externalfilterparameter\c!start + \externalfilterparameter\c!stop + \externalfilterparameter\c!syntax + \externalfilterparameter\c!strip + \externalfilterparameter\c!escape + \externalfilterparameter\c!highlight}, % \c!read=\v!yes, % \c!readcommand=\syntaxhighlighting@read_command, \c!output=\externalfilterbasefile.vimout, |