diff options
author | Karl Berry <karl@freefriends.org> | 2023-03-13 21:05:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-03-13 21:05:34 +0000 |
commit | 6f3a1c5e0e40a1837aa2fff9042eb5af57c787de (patch) | |
tree | 2347aaef3f474d8c488c4f9cf9544fe83984e7a4 /Master/texmf-dist/source/latex/microtype | |
parent | b6a37de7ba2d6494bee4fc5d28fffbeb7fa1658c (diff) |
microtype (13mar23)
git-svn-id: svn://tug.org/texlive/trunk@66587 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/microtype')
-rw-r--r-- | Master/texmf-dist/source/latex/microtype/microtype-utf.dtx | 2 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/microtype/microtype.dtx | 43 |
2 files changed, 33 insertions, 12 deletions
diff --git a/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx b/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx index 380619cf8ce..02af4db500e 100644 --- a/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx +++ b/Master/texmf-dist/source/latex/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/Master/texmf-dist/source/latex/microtype/microtype.dtx b/Master/texmf-dist/source/latex/microtype/microtype.dtx index db89547894b..cfa89948330 100644 --- a/Master/texmf-dist/source/latex/microtype/microtype.dtx +++ b/Master/texmf-dist/source/latex/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 % |