summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/microtype
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-03-14 03:01:36 +0000
committerNorbert Preining <norbert@preining.info>2023-03-14 03:01:36 +0000
commit2ba976b06ff8c59f0eec2151c5afb7671a35671e (patch)
tree4bcddcd2b5d5460c8bafe11a5fb89cd75ea6dca1 /macros/latex/contrib/microtype
parente3c18c7072eebabaa706008b7fa42c73ec2ff83e (diff)
CTAN sync 202303140301
Diffstat (limited to 'macros/latex/contrib/microtype')
-rw-r--r--macros/latex/contrib/microtype/README.md2
-rw-r--r--macros/latex/contrib/microtype/microtype-code.pdfbin2138452 -> 2139911 bytes
-rw-r--r--macros/latex/contrib/microtype/microtype-utf.dtx2
-rw-r--r--macros/latex/contrib/microtype/microtype.dtx43
-rw-r--r--macros/latex/contrib/microtype/microtype.pdfbin670263 -> 670821 bytes
5 files changed, 34 insertions, 13 deletions
diff --git a/macros/latex/contrib/microtype/README.md b/macros/latex/contrib/microtype/README.md
index 251860143d..cc63892a47 100644
--- a/macros/latex/contrib/microtype/README.md
+++ b/macros/latex/contrib/microtype/README.md
@@ -4,7 +4,7 @@ The `microtype` package
**Subliminal refinements towards typographical perfection**
- (v3.1 -- 2023/03/06)
+ (v3.1a -- 2023/03/13)
Overview
diff --git a/macros/latex/contrib/microtype/microtype-code.pdf b/macros/latex/contrib/microtype/microtype-code.pdf
index ec73da44e1..bba1009e7c 100644
--- a/macros/latex/contrib/microtype/microtype-code.pdf
+++ b/macros/latex/contrib/microtype/microtype-code.pdf
Binary files differ
diff --git a/macros/latex/contrib/microtype/microtype-utf.dtx b/macros/latex/contrib/microtype/microtype-utf.dtx
index 380619cf8c..02af4db500 100644
--- a/macros/latex/contrib/microtype/microtype-utf.dtx
+++ b/macros/latex/contrib/microtype/microtype-utf.dtx
@@ -27,7 +27,7 @@
\ProvidesFile
%</!EBGaramond>
%<*driver>
- {\jobname.dtx}[2023/03/06 v3.1]
+ {\jobname.dtx}[2023/03/13 v3.1a]
%</driver>
%<CharisSIL> {mt-CharisSIL.cfg}[2017/07/07 v1.1 microtype config. file: Charis SIL (RS)]
%<LatinModernRoman> {mt-LatinModernRoman.cfg}[2021/02/21 v1.1 microtype config. file: Latin Modern Roman (RS)]
diff --git a/macros/latex/contrib/microtype/microtype.dtx b/macros/latex/contrib/microtype/microtype.dtx
index db89547894..cfa8994833 100644
--- a/macros/latex/contrib/microtype/microtype.dtx
+++ b/macros/latex/contrib/microtype/microtype.dtx
@@ -37,7 +37,7 @@
%<lua-> {microtype-luatex.def}
%<xe-> {microtype-xetex.def}
%<*package|letterspace|m-t|pdf-|lua-|xe-|show>
- [2023/03/06 v3.1
+ [2023/03/13 v3.1a
%<package> Micro-typographical refinements
%<letterspace> Robust letterspacing
%<show> Visual debugging for the microtype package
@@ -52,8 +52,8 @@
%<luafile>local microtype = microtype
%<luafile>microtype.module = {
%<luafile> name = "microtype",
-%<luafile> version = "3.1",
-%<luafile> date = "2023/03/06",
+%<luafile> version = "3.1a",
+%<luafile> date = "2023/03/13",
%<luafile> description = "microtype module.",
%<luafile> author = "E. Roux, R. Schlicht and P. Gesang",
%<luafile> copyright = "E. Roux, R. Schlicht and P. Gesang",
@@ -3086,7 +3086,7 @@
%\microtypesetup{nopatch={eqnum}}
%\end{verbatim}
%
-%% \item
+% \item
%\begin{verbatim}
%! Font csnameendcsname=<cmr10+20 at 10.0pt> not loadable: Metric (TFM) file not found.
%\end{verbatim}
@@ -3510,6 +3510,8 @@
%\begin{History}
%
%\Version{\expandafter\@gobble\fileversion}{\filedate}
+%
+%\Version{3.1}{2023/03/06}
% \item New command \cs{DeclareMicrotypeFilePrefix} to change the prefix of the
% configuration files \refsection{\ref{sub:config-file}}
% \item New protrusion patch |verbatim| to switch off protrusion
@@ -8553,6 +8555,7 @@ time will almost certainly lead to undesired results. Have your choice!}%
% and which we trial-typeset without any contents.
% \begin{macrocode}
\def\MT@prot@check@E{%
+ \the\MT@toks
\def\MT@temp*##1{\MT@prot@l{##1}}%
}
% \end{macrocode}
@@ -8563,6 +8566,7 @@ time will almost certainly lead to undesired results. Have your choice!}%
% Same for starred commands (the main candidate here is \pkg{csquotes}'s \cmd\enquote).
% \begin{macrocode}
\def\MT@prot@check@e{%
+ \the\MT@toks
\def\MT@temp*##1{\@ifstar{\MT@prot@l{##1*}}{\MT@prot@l{##1}}}%
}
% \end{macrocode}
@@ -8573,9 +8577,11 @@ time will almost certainly lead to undesired results. Have your choice!}%
% Here we replace the `integrated interface' (\pkg{csquotes}) with the regular one.
% \begin{macrocode}
\def\MT@prot@check@eX#1{%
+ \the\MT@toks
\def\MT@temp*##1{\@ifstar
{\MT@get@prot{#1*}{left}##1*}
- {\MT@get@prot{#1}{left}##1}}}
+ {\MT@get@prot{#1}{left}##1}}%
+}
% \end{macrocode}
%\end{macro}
% \item
@@ -8587,8 +8593,12 @@ time will almost certainly lead to undesired results. Have your choice!}%
% (the language) we also have to evaluate before trial typesetting.
% \begin{macrocode}
\def\MT@prot@check@l{%
- \def\MT@temp*##1{\@ifstar{\MT@prot@check@l@{##1*}}{\MT@prot@check@l@{##1}}}}
-\def\MT@prot@check@l@#1#2{\MT@prot@l{#1{#2}}}
+ \def\MT@temp*##1{\@ifstar{\MT@prot@check@l@{##1*}}{\MT@prot@check@l@{##1}}}%
+}
+\def\MT@prot@check@l@#1#2{%
+ \the\MT@toks
+ \MT@prot@l{#1{#2}}%
+}
% \end{macrocode}
%\end{macro}
%\end{macro}
@@ -8602,19 +8612,27 @@ time will almost certainly lead to undesired results. Have your choice!}%
\def\MT@prot@check@lX#1{%
\def\MT@temp*##1{\@ifstar
{\def\MT@temp{##1*}\MT@prot@check@lX@{#1*}}
- {\def\MT@temp{##1}\MT@prot@check@lX@{#1}}}}
+ {\def\MT@temp{##1}\MT@prot@check@lX@{#1}}}%
+}
\def\MT@prot@check@lX@#1#2{%
- \MT@get@prot{#1{#2}}{left}\MT@temp{#2}}
+ \the\MT@toks
+ \MT@get@prot{#1{#2}}{left}\MT@temp{#2}%
+}
% \end{macrocode}
%\end{macro}
%\end{macro}
% \item
%\begin{macro}{\MT@prot@check@F}
%\changes{v3.1}{2022/03/06}{new macro: for text commands}
+%\changes{v3.1a}{2022/03/12}{fix: execute (and empty) \cs{MT@toks}
+% (reported by \contributor Artur A. Marczok <marczok\at t-online.de>)}
+% ^^A private mail, 2023/03/12
% Here we deal with \textbf{F}ont switching commands (\ie, text commands,
% which take an argument).
% We (a) remember the text command, (b) save the full text,
% and then (c) continue inspecting the contents of the argument.
+% We also have to execute (and empty) \cs{MT@toks}, because it might
+% already contain other commands.
% Nested text commands still don't work.
% \begin{macrocode}
\def\MT@prot@check@F{%
@@ -8624,8 +8642,11 @@ time will almost certainly lead to undesired results. Have your choice!}%
\let\MT@prot@l\MT@prot@l@tc
\def\MT@temp*##1##2{%
\let\MT@maybe@textcmd##1%
+ \the\MT@toks
+ \MT@toks{}%
\MT@prot@toks{##1{##2}}%
- \MT@prot@get@firstgroup@tc##2\MT@nil}%
+ \MT@prot@get@firstgroup@tc##2\MT@nil
+ }%
\fi
}
% \end{macrocode}
@@ -20326,7 +20347,7 @@ This is the current font stretched by 5\%, normal, and shrunk by 5\%:
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
-% \CheckSum{12962}
+% \CheckSum{12975}
%
% \Finale
%
diff --git a/macros/latex/contrib/microtype/microtype.pdf b/macros/latex/contrib/microtype/microtype.pdf
index 7fcb8a53af..51110edd6a 100644
--- a/macros/latex/contrib/microtype/microtype.pdf
+++ b/macros/latex/contrib/microtype/microtype.pdf
Binary files differ