summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-04-03 21:14:47 +0000
committerKarl Berry <karl@freefriends.org>2024-04-03 21:14:47 +0000
commita8984fc15cfa095b926aac9fe1bf0fd2f7b32e01 (patch)
treeeaab5832220d4878b5f3fe6550596ca99328b38f /Master/texmf-dist/tex/context
parenta02954fdc72a0a19c86b35343bba815784f4ccf8 (diff)
memoize (3apr24)
git-svn-id: svn://tug.org/texlive/trunk@70841 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/context')
-rw-r--r--Master/texmf-dist/tex/context/third/memoize/t-memoizable.tex4
-rw-r--r--Master/texmf-dist/tex/context/third/memoize/t-memoize.tex14
-rw-r--r--Master/texmf-dist/tex/context/third/memoize/t-nomemoize.tex4
3 files changed, 12 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/context/third/memoize/t-memoizable.tex b/Master/texmf-dist/tex/context/third/memoize/t-memoizable.tex
index b2ed2532fcb..a5191dfade4 100644
--- a/Master/texmf-dist/tex/context/third/memoize/t-memoizable.tex
+++ b/Master/texmf-dist/tex/context/third/memoize/t-memoizable.tex
@@ -26,11 +26,11 @@
%% (<texmf>/doc/generic/memoize/)FILES.
%D \module[
%D file=t-memoizable.tex,
-%D version=1.2.0,
+%D version=1.3.0,
%D title=Memoizable,
%D subtitle=A programmer's stub for Memoize,
%D author=Saso Zivanovic,
-%D date=2024-03-15,
+%D date=2024-04-02,
%D copyright=Saso Zivanovic,
%D license=LPPL,
%D ]
diff --git a/Master/texmf-dist/tex/context/third/memoize/t-memoize.tex b/Master/texmf-dist/tex/context/third/memoize/t-memoize.tex
index c8ab3876049..aac4dd734a4 100644
--- a/Master/texmf-dist/tex/context/third/memoize/t-memoize.tex
+++ b/Master/texmf-dist/tex/context/third/memoize/t-memoize.tex
@@ -26,11 +26,11 @@
%% (<texmf>/doc/generic/memoize/)FILES.
%D \module[
%D file=t-memoize.tex,
-%D version=1.2.0,
+%D version=1.3.0,
%D title=Memoize,
%D subtitle=Fast and flexible externalization,
%D author=Saso Zivanovic,
-%D date=2024-03-15,
+%D date=2024-04-02,
%D copyright=Saso Zivanovic,
%D license=LPPL,
%D ]
@@ -180,10 +180,11 @@
},
begindocument/.append code=\mmz@maybe@mkmemodir,
}
+\def\mmz@initial@mkdir@command{\mmzvalueof{perl extraction command} --mkdir}
\mmzset{
mkdir/.is if=mmz@mkdir,
mkdir command/.store in=\mmz@mkdir@command,
- mkdir command={},
+ mkdir command/.expand once=\mmz@initial@mkdir@command,
}
\newif\ifmmz@mkdir
\mmz@mkdirtrue
@@ -202,7 +203,7 @@
memo dir/.default=\jobname,
no memo dir/.style={prefix={#1.}},
no memo dir/.default=\jobname,
- no memo dir,
+ memo dir,
}
\def\mmz@remove@quotes#1#2{%
\def\mmz@remove@quotes@end{\let#2\mmz@temp}%
@@ -1046,7 +1047,6 @@
\mmzvalueof{perl extraction options}%
}%
\mmz@check@extraction@log{perl}%
- \def\mmz@mkdir@command{\mmzvalueof{perl extraction command} --mkdir}%
},
perl extraction command/.initial=memoize-extract.pl,
perl extraction options/.initial={\space
@@ -1061,7 +1061,9 @@
\mmzvalueof{python extraction options}%
}%
\mmz@check@extraction@log{python}%
- \def\mmz@mkdir@command{\mmzvalueof{python extraction command} --mkdir}%
+ \ifx\mmz@mkdir@command\mmz@initial@mkdir@command
+ \def\mmz@mkdir@command{\mmzvalueof{python extraction command} --mkdir}%
+ \fi
},
python extraction command/.initial=memoize-extract.py,
python extraction options/.initial={\space
diff --git a/Master/texmf-dist/tex/context/third/memoize/t-nomemoize.tex b/Master/texmf-dist/tex/context/third/memoize/t-nomemoize.tex
index 4f956208551..a476e26599a 100644
--- a/Master/texmf-dist/tex/context/third/memoize/t-nomemoize.tex
+++ b/Master/texmf-dist/tex/context/third/memoize/t-nomemoize.tex
@@ -26,11 +26,11 @@
%% (<texmf>/doc/generic/memoize/)FILES.
%D \module[
%D file=t-nomemoize.tex,
-%D version=1.2.0,
+%D version=1.3.0,
%D title=Memoize,
%D subtitle=A no-op stub for Memoize,
%D author=Saso Zivanovic,
-%D date=2024-03-15,
+%D date=2024-04-02,
%D copyright=Saso Zivanovic,
%D license=LPPL,
%D ]