texlive[58405] branches/branch2020.0/Master/texmf-dist: microtype
commits+karl at tug.org
commits+karl at tug.org
Mon Mar 15 23:14:02 CET 2021
Revision: 58405
http://tug.org/svn/texlive?view=revision&revision=58405
Author: karl
Date: 2021-03-15 23:14:01 +0100 (Mon, 15 Mar 2021)
Log Message:
-----------
microtype (15mar21) (branch)
Modified Paths:
--------------
branches/branch2020.0/Master/texmf-dist/doc/latex/microtype/README.md
branches/branch2020.0/Master/texmf-dist/doc/latex/microtype/microtype.pdf
branches/branch2020.0/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx
branches/branch2020.0/Master/texmf-dist/source/latex/microtype/microtype.dtx
branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/letterspace.sty
branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def
branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def
branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def
branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.cfg
branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.lua
branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.sty
branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/mt-Lato.cfg
Modified: branches/branch2020.0/Master/texmf-dist/doc/latex/microtype/README.md
===================================================================
--- branches/branch2020.0/Master/texmf-dist/doc/latex/microtype/README.md 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/doc/latex/microtype/README.md 2021-03-15 22:14:01 UTC (rev 58405)
@@ -4,7 +4,7 @@
**Subliminal refinements towards typographical perfection**
- (v2.8b -- 2021/02/25)
+ (v2.8c -- 2021/03/14)
Overview
Modified: branches/branch2020.0/Master/texmf-dist/doc/latex/microtype/microtype.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx 2021-03-15 22:14:01 UTC (rev 58405)
@@ -26,7 +26,7 @@
%
\ProvidesFile
%<*driver>
- {\jobname.dtx}[2021/02/25 v2.8b]
+ {\jobname.dtx}[2021/03/14 v2.8c]
%</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)]
Modified: branches/branch2020.0/Master/texmf-dist/source/latex/microtype/microtype.dtx
===================================================================
--- branches/branch2020.0/Master/texmf-dist/source/latex/microtype/microtype.dtx 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/source/latex/microtype/microtype.dtx 2021-03-15 22:14:01 UTC (rev 58405)
@@ -1,7 +1,7 @@
%\iffalse meta-comment
% !Mode:: "TeX:DTX:UK"
% !smartQuote:: "English"
-% !DTXversion:: "2.8b"
+% !DTXversion:: "2.8c"
% ------------------------------------------------------------------------
% The `microtype' package
% Subliminal refinements towards typographical perfection
@@ -37,7 +37,7 @@
%<luatex-def> {microtype-luatex.def}
%<xetex-def> {microtype-xetex.def}
%<*package|letterspace|m-t|pdftex-def|luatex-def|xetex-def>
- [2021/02/25 v2.8b
+ [2021/03/14 v2.8c
%<package> Micro-typographical refinements
%<letterspace> Robust letterspacing
%<m-t> microtype main configuration file
@@ -51,8 +51,8 @@
%<luafile>local microtype = microtype
%<luafile>microtype.module = {
%<luafile> name = "microtype",
-%<luafile> version = "2.8b",
-%<luafile> date = "2021/02/25",
+%<luafile> version = "2.8c",
+%<luafile> date = "2021/03/14",
%<luafile> description = "microtype module.",
%<luafile> author = "E. Roux, R. Schlicht and P. Gesang",
%<luafile> copyright = "E. Roux, R. Schlicht and P. Gesang",
@@ -3052,8 +3052,10 @@
%
%\VersionDate{\expandafter\@gobble\fileversion}{\filedate}
%
-%\VersionDate{2.8a}{2020/02/22}
+%\VersionDate{2.8b}{2021/02/25}
%
+%\VersionDate{2.8a}{2021/02/22}
+%
%\Version{2.8}{2020/12/07}
% \item New default font sets for expansion and spacing: `|alltext-nott|'
% \refsection{\ref{sec:font-sets}, table~\ref{tab:predefined-font-sets}}
@@ -3380,8 +3382,8 @@
% \write,\xdef}
%^^A\DoNotIndex{\font,\fontdimen,\nullfont,\sfcode,\spacefactor,\spaceskip,
%^^A \xspaceskip} ^^A tex
-%\DoNotIndex{\currentgrouplevel,\currentgrouptype,\detokenize,\dimexpr,
-% \eTeXversion,\ifcsname,\ifdefined,\numexpr}
+%\DoNotIndex{\currentgrouplevel,\currentgrouptype,\currentiflevel,\detokenize,
+% \dimexpr,\eTeXversion,\ifcsname,\ifdefined,\numexpr}
%^^A\DoNotIndex{\fontcharwd,\iffontchar} ^^A e-tex
%\DoNotIndex{\pdfannot,\pdfescapestring,\pdfmatch,\pdfoutput,\pdfstrcmp,
% \pdftexrevision,\pdftexversion}
@@ -3392,7 +3394,7 @@
%\DoNotIndex{\XeTeXversion,\XeTeXrevision,\strcmp} ^^A xetex
%^^A\DoNotIndex{\XeTeXcharglyph,\XeTeXfonttype,\XeTeXglyph,\XeTeXglyphindex,
%^^A \XeTeXglyphname,\XeTeXlastfontchar,\XeTeXprotrudechars}
-%\DoNotIndex{\directlua,\luatexversion} ^^A luatex
+%\DoNotIndex{\directlua,\glet,\luatexversion} ^^A luatex
%^^A\DoNotIndex{\adjustspacing,\copyfont,\expandglyphsinfont,
%^^A \ignoreligaturesinfont,\outputmode,\protrudechars,\tracingfonts}
%\DoNotIndex{\eplain,\usepkg at pkg} ^^A eplain
@@ -3409,7 +3411,7 @@
% \on at line,\p@,\set at display@protect,\strip at prefix,\strip at pt,\tw@,\z@,\z at skip,
% \zap at space,\active,\documentclass,\fmtversion,\leavevmode,\makeatletter,
% \mbox,\newcommand,\newcount,\newdimen,\newif,\newskip,\newtoks,\nobreak,
-% \nonfrenchspacing,\normalsize,\renewcommand,\space,\AtBeginDocument,
+% \nonfrenchspacing,\normalsize,\renewcommand,\space,\AddToHook,\AtBeginDocument,
% \AtEndOfPackage,\CheckCommand,\CurrentOption,\DeclareRobustCommand,\IfFileExists,
% \InputIfFileExists,\MessageBreak,\PackageError,\PackageInfo,\PackageWarning,
% \RequirePackage,\@@enc at update,\cf at encoding,\f at encoding}
@@ -5224,7 +5226,7 @@
% ^^A private mail, 2012/06/30
% They are also part of recent \xetex.
%\changes{v2.5a}{2013/03/25}{support for \pkg{eledmac}}
-%\changes{v2.6}{2015/08/10}{support for \pkg{reledmac}}
+%\changes{v2.6}{2015/08/10}{support for \pkg{reledmac}}^^A
% The successor packages \pkg{eledmac} and \pkg{reledmac} are also supported.
% \begin{macrocode}
%</package>
@@ -5287,17 +5289,24 @@
\def\MT at restore@p at h{\chardef\%`\% \chardef\#`\# }
% \end{macrocode}
%\end{macro}
+%\begin{macro}{\ifMT at fontspec}
%\begin{macro}{\ifMT at xunicode}
-%\begin{macro}{\ifMT at fontspec}
% Two new conditionals for use with \xetex\ or \luatex.
% \begin{macrocode}
+\newif\ifMT at fontspec
+\MT at with@package at T{fontspec}\MT at fontspectrue
\newif\ifMT at xunicode
\MT at with@package at T{xunicode}\MT at xunicodetrue
-\newif\ifMT at fontspec
-\MT at with@package at T{fontspec}\MT at fontspectrue
% \end{macrocode}
%\end{macro}
+%\changes{v2.8c}{2021/03/12}{add to hook for \pkg{fontspec}}
%\end{macro}
+% We need the correct value of the former for configuration commands
+% inside the preamble (to get the default families right).
+% \begin{macrocode}
+\@ifl at t@r\fmtversion{2020/10/01}
+ {\AddToHook{package/after/fontspec}{\MT at fontspectrue}}\relax
+% \end{macrocode}
%\begin{macro}{\MT at maybe@gobble at with@tikz}
%\begin{macro}{\MT at tikz@setup}
%\changes{v2.3e}{2009/11/02}{compatibility with \pkg{tikz} (first reported by
@@ -9045,13 +9054,19 @@
\def\MT at is@symbol{%
\expandafter\def\expandafter\MT at char\expandafter
{\csname\MT at encoding\MT at detokenize@c\@tempa\endcsname}%
+% \end{macrocode}
+% Since recently, some glyphs are defined optionally in \LaTeX\
+% by checking if the glyph actually exists in the font (\eg, \cmd\textasteriskcentered).
+% \begin{macrocode}
+ \expandafter\expandafter\expandafter
+ \MT at is@opt at char\MT at char\iffontchar\char\else\fi\relax
\expandafter\MT at exp@two at c\expandafter\MT at is@char\expandafter
- \meaning\expandafter\MT at char\MT at charstring\relax\relax\relax
+ \meaning\expandafter\MT at char\MT at charstring\relax\relax\relax
\ifnum\MT at char@ < \z@
% \end{macrocode}
%\changes{v2.7c}{2019/08/13}{take care of \cs{remove at tlig}}
-% For <TU> encoding, the commands \cmd\textquotesingle, \cmd\textasciigrave\
-% and \cmd\textquotedbl\ are defined by means of the auxiliary macro
+% In <TU> encoding, some commands (currently, \cmd\textquotesingle, \cmd\textasciigrave\
+% and \cmd\textquotedbl) are defined by means of the auxiliary macro
% \cmd\remove at tlig, which we take care of here.
% \begin{macrocode}
\expandafter\expandafter\expandafter\MT at is@tlig\MT at char\relax\relax
@@ -9068,6 +9083,24 @@
}
% \end{macrocode}
%\end{macro}
+%\begin{macro}{\MT at is@opt at char}
+% This seems adventurous, but we're only redefining the text command within
+% the scope of our setup.
+%\changes{v2.8c}{2021/03/05}{fix for optionally defined glyphs
+% (reported by \contributor Frank Mittelbach <frank.mittelbach\at latex-project.org>)}
+% ^^A private mail, 2021/03/02
+% ^^A also: https://github.com/latex3/latex2e/issues/525
+% \begin{macrocode}
+\def\MT at is@opt at char#1\iffontchar#2\char#3\else#4\fi\relax{%
+ \ifx\\#1\\%
+ \iffontchar#2%
+ \expandafter\chardef
+ \csname\MT at encoding\MT at detokenize@c\@tempa\endcsname=#3\relax
+ \fi
+ \fi
+}
+% \end{macrocode}
+%\end{macro}
%\begin{macro}{\MT at is@char}
%\begin{macro}{\MT at charstring}
% A helper macro that inspects the \cmd\meaning\ of its argument.
@@ -9144,14 +9177,26 @@
% This might have to change again with the next \LaTeX\ release, ^^A see https://github.com/latex3/latex2e/issues/165
% \dots\ or so I feared, but it still seems to be fine.
% \begin{macrocode}
-\def\MT at is@tlig#1#2{%
- \ifx#1\remove at tlig
+\def\MT at is@tlig#1#2\relax{%
+ \ifx\remove at tlig#1%
%<debug> \MT at dinfo@nl{3}{> `\the\MT at toks' (removing remove at tlig)}%
- \MT at is@number #2\relax\relax
+ \MT at remove@tlig
\fi
}
% \end{macrocode}
%\end{macro}
+%\begin{macro}{\MT at remove@tlig}
+% We remove the \cs{remove at tlig} command and only pass on the number.
+%\changes{v2.8c}{2020/03/04}{fix for text commands containing conditionals
+% (reported by \contributor Frank Mittelbach <frank.mittelbach\at latex-project.org>)}
+% ^^A private mail, 2021/03/02
+% \begin{macrocode}
+\def\MT at remove@tlig{%
+ \expandafter\MT at exp@two at c\expandafter\MT at is@number
+ \expandafter\@secondoftwo\MT at char\relax\relax
+}
+% \end{macrocode}
+%\end{macro}
%\begin{macro}{\MT at is@composite}
% Here, we are dealing with accented characters, specified as two tokens.
%\changes{v1.7}{2005/03/10}{new macro: construct command for composite character;
@@ -9205,7 +9250,7 @@
% Helper for \cs{DeclareUnicodeComposite}.
% \begin{macrocode}
\def\MT at is@uni at comp#1\iffontchar#2\else#3\fi\relax{%
- \ifx\\#2\\\else\edef\MT at char{\iffontchar#2\fi}\fi
+ \ifx\\#1\\\edef\MT at char{\iffontchar#2\fi}\fi
}
% \end{macrocode}
%\end{macro}
@@ -10162,10 +10207,10 @@
^^X \def\MT at get@size@{%
^^X \@tempcnta=\currentiflevel
^^X \MT at get@size@@
-^^X \loop
+^^X \MT at loop
^^X \ifnum\numexpr\currentiflevel-1>\@tempcnta
^^X \csname fi\endcsname
-^^X \repeat
+^^X \MT at repeat
^^X }%
^^X}{%
\let\MT at get@size@\MT at get@size@@
@@ -17363,7 +17408,7 @@
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
-% \CheckSum{10800}
+% \CheckSum{10847}
%
% \Finale
%
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/letterspace.sty
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/letterspace.sty 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/letterspace.sty 2021-03-15 22:14:01 UTC (rev 58405)
@@ -33,7 +33,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage
{letterspace}
- [2021/02/25 v2.8b
+ [2021/03/14 v2.8c
Robust letterspacing
(RS)]
\def\MT at MT
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def 2021-03-15 22:14:01 UTC (rev 58405)
@@ -30,7 +30,7 @@
%%
\ProvidesFile
{microtype-luatex.def}
- [2021/02/25 v2.8b
+ [2021/03/14 v2.8c
Definitions specific to
luatex
(RS)]
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def 2021-03-15 22:14:01 UTC (rev 58405)
@@ -30,7 +30,7 @@
%%
\ProvidesFile
{microtype-pdftex.def}
- [2021/02/25 v2.8b
+ [2021/03/14 v2.8c
Definitions specific to
pdftex
(RS)]
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def 2021-03-15 22:14:01 UTC (rev 58405)
@@ -30,7 +30,7 @@
%%
\ProvidesFile
{microtype-xetex.def}
- [2021/02/25 v2.8b
+ [2021/03/14 v2.8c
Definitions specific to
xetex
(RS)]
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.cfg
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.cfg 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.cfg 2021-03-15 22:14:01 UTC (rev 58405)
@@ -40,7 +40,7 @@
%%
\ProvidesFile
{microtype.cfg}
- [2021/02/25 v2.8b
+ [2021/03/14 v2.8c
microtype main configuration file
(RS)]
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.lua
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.lua 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.lua 2021-03-15 22:14:01 UTC (rev 58405)
@@ -34,8 +34,8 @@
local microtype = microtype
microtype.module = {
name = "microtype",
- version = "2.8b",
- date = "2021/02/25",
+ version = "2.8c",
+ date = "2021/03/14",
description = "microtype module.",
author = "E. Roux, R. Schlicht and P. Gesang",
copyright = "E. Roux, R. Schlicht and P. Gesang",
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.sty
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.sty 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/microtype.sty 2021-03-15 22:14:01 UTC (rev 58405)
@@ -29,7 +29,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage
{microtype}
- [2021/02/25 v2.8b
+ [2021/03/14 v2.8c
Micro-typographical refinements
(RS)]
\def\MT at MT
@@ -426,10 +426,12 @@
}\@gobble
}
\def\MT at restore@p at h{\chardef\%`\% \chardef\#`\# }
+\newif\ifMT at fontspec
+\MT at with@package at T{fontspec}\MT at fontspectrue
\newif\ifMT at xunicode
\MT at with@package at T{xunicode}\MT at xunicodetrue
-\newif\ifMT at fontspec
-\MT at with@package at T{fontspec}\MT at fontspectrue
+\@ifl at t@r\fmtversion{2020/10/01}
+ {\AddToHook{package/after/fontspec}{\MT at fontspectrue}}\relax
\let\MT at maybe@gobble at with@tikz\@firstofone
\def\MT at tikz@setup{%
\def\MT at maybe@gobble at with@tikz{%
@@ -1093,8 +1095,10 @@
\def\MT at is@symbol{%
\expandafter\def\expandafter\MT at char\expandafter
{\csname\MT at encoding\MT at detokenize@c\@tempa\endcsname}%
+ \expandafter\expandafter\expandafter
+ \MT at is@opt at char\MT at char\iffontchar\char\else\fi\relax
\expandafter\MT at exp@two at c\expandafter\MT at is@char\expandafter
- \meaning\expandafter\MT at char\MT at charstring\relax\relax\relax
+ \meaning\expandafter\MT at char\MT at charstring\relax\relax\relax
\ifnum\MT at char@ < \z@
\expandafter\expandafter\expandafter\MT at is@tlig\MT at char\relax\relax
\ifnum\MT at char@ < \z@
@@ -1102,6 +1106,14 @@
\fi
\fi
}
+\def\MT at is@opt at char#1\iffontchar#2\char#3\else#4\fi\relax{%
+ \ifx\\#1\\%
+ \iffontchar#2%
+ \expandafter\chardef
+ \csname\MT at encoding\MT at detokenize@c\@tempa\endcsname=#3\relax
+ \fi
+ \fi
+}
\begingroup
\catcode`\/=\z@
/MT at map@tlist at n{/\CHARLEX}/@makeother
@@ -1144,11 +1156,15 @@
}%
}
/x
-\def\MT at is@tlig#1#2{%
- \ifx#1\remove at tlig
- \MT at is@number #2\relax\relax
+\def\MT at is@tlig#1#2\relax{%
+ \ifx\remove at tlig#1%
+ \MT at remove@tlig
\fi
}
+\def\MT at remove@tlig{%
+ \expandafter\MT at exp@two at c\expandafter\MT at is@number
+ \expandafter\@secondoftwo\MT at char\relax\relax
+}
\def\MT at is@composite#1#2\relax{%
\ifx\\#2\\\else
\expandafter\def\expandafter\MT at char\expandafter{\csname\expandafter
@@ -1169,7 +1185,7 @@
\fi
}
\def\MT at is@uni at comp#1\iffontchar#2\else#3\fi\relax{%
- \ifx\\#2\\\else\edef\MT at char{\iffontchar#2\fi}\fi
+ \ifx\\#1\\\edef\MT at char{\iffontchar#2\fi}\fi
}
\def\MT at set@listname{%
\edef\MT at curr@list at name{\@nameuse{MT at abbr@\MT at feat} list\noexpand\MessageBreak
@@ -1557,10 +1573,10 @@
^^X \def\MT at get@size@{%
^^X \@tempcnta=\currentiflevel
^^X \MT at get@size@@
-^^X \loop
+^^X \MT at loop
^^X \ifnum\numexpr\currentiflevel-1>\@tempcnta
^^X \csname fi\endcsname
-^^X \repeat
+^^X \MT at repeat
^^X }%
^^X}{%
\let\MT at get@size@\MT at get@size@@
Modified: branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/mt-Lato.cfg
===================================================================
--- branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/mt-Lato.cfg 2021-03-15 22:13:50 UTC (rev 58404)
+++ branches/branch2020.0/Master/texmf-dist/tex/latex/microtype/mt-Lato.cfg 2021-03-15 22:14:01 UTC (rev 58405)
@@ -62,7 +62,7 @@
n = {ń,ñ},
O = {Ø,Ò,Ó,Ô,Õ,Ö},
o = {ø,ò,ó,ô,õ,ö},
- S = {Ś,Š}, % \SS
+ S = {Ś,Š},
s = {ś,š},
U = {Ù,Ú,Û,Ü},
u = {ù,ú,û,ü},
More information about the tex-live-commits
mailing list.