summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
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
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')
-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
-rw-r--r--Master/texmf-dist/tex/latex/memoize/memoizable.sty2
-rw-r--r--Master/texmf-dist/tex/latex/memoize/memoize-biblatex.code.tex13
-rw-r--r--Master/texmf-dist/tex/latex/memoize/memoize.sty12
-rw-r--r--Master/texmf-dist/tex/latex/memoize/nomemoize.sty2
-rw-r--r--Master/texmf-dist/tex/plain/memoize/memoizable.tex2
-rw-r--r--Master/texmf-dist/tex/plain/memoize/memoize.tex12
9 files changed, 39 insertions, 26 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 ]
diff --git a/Master/texmf-dist/tex/latex/memoize/memoizable.sty b/Master/texmf-dist/tex/latex/memoize/memoizable.sty
index 25ff7678fea..908c99963d3 100644
--- a/Master/texmf-dist/tex/latex/memoize/memoizable.sty
+++ b/Master/texmf-dist/tex/latex/memoize/memoizable.sty
@@ -24,7 +24,7 @@
%%
%% The files belonging to this work and covered by LPPL are listed in
%% (<texmf>/doc/generic/memoize/)FILES.
-\ProvidesPackage{memoizable}[2024/03/15 v1.2.0 A programmer's stub for Memoize]
+\ProvidesPackage{memoizable}[2024/04/02 v1.3.0 A programmer's stub for Memoize]
\RequirePackage{pgfkeys}
\input memoizable.code.tex
\endinput
diff --git a/Master/texmf-dist/tex/latex/memoize/memoize-biblatex.code.tex b/Master/texmf-dist/tex/latex/memoize/memoize-biblatex.code.tex
index cfb4cd168e5..2776054b2da 100644
--- a/Master/texmf-dist/tex/latex/memoize/memoize-biblatex.code.tex
+++ b/Master/texmf-dist/tex/latex/memoize/memoize-biblatex.code.tex
@@ -52,17 +52,19 @@
inner handler=\mmz@biblatex@cite@inner,
},
auto/cites/.style={
- run conditions=\mmz@biblatex@cite@rc,
+ run conditions=\mmz@biblatex@cites@rc,
outer handler=\mmz@biblatex@cites@outer,
args=l*m,
- raw collector options=\mmz@biblatex@def@star\collargsClearArgsfalse\collargsReturnNo,
+ raw collector options=
+ \mmz@biblatex@def@star\collargsClearArgsfalse\collargsReturnNo,
inner handler=\mmz@biblatex@cites@inner,
},
auto/volcites/.style={
run if memoizing,
outer handler=\mmz@biblatex@cites@outer,
args=lml*m,
- raw collector options=\mmz@biblatex@def@star\collargsClearArgsfalse\collargsReturnNo,
+ raw collector options=
+ \mmz@biblatex@def@star\collargsClearArgsfalse\collargsReturnNo,
inner handler=\mmz@biblatex@cites@inner,
},
biblatex ccmemo cite/.is choice,
@@ -86,6 +88,11 @@
\fi
\fi
}
+\def\mmz@biblatex@cites@rc{%
+ \ifmemoizing
+ \ifdef\blx@hook@mcite@before{}{\AdviceRuntrue}%
+ \fi
+}
\def\mmz@biblatex@cite@outer{%
\gdef\mmz@biblatex@keys{}%
\AdviceCollector
diff --git a/Master/texmf-dist/tex/latex/memoize/memoize.sty b/Master/texmf-dist/tex/latex/memoize/memoize.sty
index fb1eb1b79cd..65f72be0a9d 100644
--- a/Master/texmf-dist/tex/latex/memoize/memoize.sty
+++ b/Master/texmf-dist/tex/latex/memoize/memoize.sty
@@ -24,7 +24,7 @@
%%
%% The files belonging to this work and covered by LPPL are listed in
%% (<texmf>/doc/generic/memoize/)FILES.
-\ProvidesPackage{memoize}[2024/03/15 v1.2.0 Fast and flexible externalization]
+\ProvidesPackage{memoize}[2024/04/02 v1.3.0 Fast and flexible externalization]
\RequirePackage{etoolbox}
\ifdefined\luatexversion
\directlua{memoize = {}}
@@ -141,10 +141,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
@@ -163,7 +164,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}%
@@ -1012,7 +1013,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
@@ -1027,7 +1027,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/latex/memoize/nomemoize.sty b/Master/texmf-dist/tex/latex/memoize/nomemoize.sty
index dcdbed46e29..330f0ee200d 100644
--- a/Master/texmf-dist/tex/latex/memoize/nomemoize.sty
+++ b/Master/texmf-dist/tex/latex/memoize/nomemoize.sty
@@ -24,7 +24,7 @@
%%
%% The files belonging to this work and covered by LPPL are listed in
%% (<texmf>/doc/generic/memoize/)FILES.
-\ProvidesPackage{nomemoize}[2024/03/15 v1.2.0 A no-op stub for Memoize]
+\ProvidesPackage{nomemoize}[2024/04/02 v1.3.0 A no-op stub for Memoize]
\RequirePackage{pgfkeys}
\def\ifmmz@loadstatus#1{%
\ifnum#1=0\csname mmz@loadstatus\endcsname\relax
diff --git a/Master/texmf-dist/tex/plain/memoize/memoizable.tex b/Master/texmf-dist/tex/plain/memoize/memoizable.tex
index eb5397243d4..393b54b3986 100644
--- a/Master/texmf-dist/tex/plain/memoize/memoizable.tex
+++ b/Master/texmf-dist/tex/plain/memoize/memoizable.tex
@@ -24,7 +24,7 @@
%%
%% The files belonging to this work and covered by LPPL are listed in
%% (<texmf>/doc/generic/memoize/)FILES.
-% Package memoizable 2024/03/15 v1.2.0
+% Package memoizable 2024/04/02 v1.3.0
\input miniltx
\input pgfkeys
\input memoizable.code.tex
diff --git a/Master/texmf-dist/tex/plain/memoize/memoize.tex b/Master/texmf-dist/tex/plain/memoize/memoize.tex
index cd4ac7ee4b0..49cd7c0c666 100644
--- a/Master/texmf-dist/tex/plain/memoize/memoize.tex
+++ b/Master/texmf-dist/tex/plain/memoize/memoize.tex
@@ -24,7 +24,7 @@
%%
%% The files belonging to this work and covered by LPPL are listed in
%% (<texmf>/doc/generic/memoize/)FILES.
-% Package memoize 2024/03/15 v1.2.0
+% Package memoize 2024/04/02 v1.3.0
\input miniltx
\def\PackageWarning#1#2{{%
\newlinechar`\^^J\def\MessageBreak{^^J\space\space#1: }%
@@ -155,10 +155,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
@@ -177,7 +178,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}%
@@ -1040,7 +1041,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
@@ -1055,7 +1055,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