From 3465548e0c1d39b187bc8b5427001d0c9c5d1e4f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 26 Feb 2021 22:23:08 +0000 Subject: microtype (26feb21) git-svn-id: svn://tug.org/texlive/trunk@57952 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/microtype/README.md | 2 +- .../texmf-dist/doc/latex/microtype/microtype.pdf | Bin 1811754 -> 1801012 bytes .../source/latex/microtype/microtype-utf.dtx | 12 +-- .../source/latex/microtype/microtype.dtx | 60 +++++++++------ .../texmf-dist/tex/latex/microtype/letterspace.sty | 2 +- .../tex/latex/microtype/microtype-luatex.def | 2 +- .../tex/latex/microtype/microtype-pdftex.def | 2 +- .../tex/latex/microtype/microtype-xetex.def | 2 +- .../texmf-dist/tex/latex/microtype/microtype.cfg | 2 +- .../texmf-dist/tex/latex/microtype/microtype.lua | 4 +- .../texmf-dist/tex/latex/microtype/microtype.sty | 2 +- .../tex/latex/microtype/mt-FontAwesome.cfg | 63 ++++++++++++++++ Master/texmf-dist/tex/latex/microtype/mt-Lato.cfg | 82 +++++++++++++++++++++ 13 files changed, 197 insertions(+), 38 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/microtype/mt-FontAwesome.cfg create mode 100644 Master/texmf-dist/tex/latex/microtype/mt-Lato.cfg diff --git a/Master/texmf-dist/doc/latex/microtype/README.md b/Master/texmf-dist/doc/latex/microtype/README.md index b4c8c867f50..446ef0cbf9f 100644 --- a/Master/texmf-dist/doc/latex/microtype/README.md +++ b/Master/texmf-dist/doc/latex/microtype/README.md @@ -4,7 +4,7 @@ The `microtype` package **Subliminal refinements towards typographical perfection** - (v2.8a -- 2021/02/22) + (v2.8b -- 2021/02/25) Overview diff --git a/Master/texmf-dist/doc/latex/microtype/microtype.pdf b/Master/texmf-dist/doc/latex/microtype/microtype.pdf index d069da2b072..041531c8aac 100644 Binary files a/Master/texmf-dist/doc/latex/microtype/microtype.pdf and b/Master/texmf-dist/doc/latex/microtype/microtype.pdf differ diff --git a/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx b/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx index 19fd79c25cf..1f64521c5b5 100644 --- a/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx +++ b/Master/texmf-dist/source/latex/microtype/microtype-utf.dtx @@ -1,7 +1,7 @@ %\iffalse meta-comment % !Mode:: "TeX:DTX:UK" % !smartQuote:: "English" -% !DTXversion:: "2.8a" +% !DTXversion:: "2.8b" % ------------------------------------------------------------------------ % The `microtype' package % Subliminal refinements towards typographical perfection @@ -26,7 +26,7 @@ % \ProvidesFile %<*driver> - {\jobname.dtx}[2021/02/22 v2.8a] + {\jobname.dtx}[2021/02/25 v2.8b] % % {mt-CharisSIL.cfg}[2017/07/07 v1.1 microtype config. file: Charis SIL (RS)] % {mt-LatinModernRoman.cfg}[2021/02/21 v1.1 microtype config. file: Latin Modern Roman (RS)] @@ -435,7 +435,7 @@ luatexbase.add_to_callback("pre_linebreak_filter", nodeprocessor, "replace missi % % \end{macrocode} % Less characters in the Lato font \dots -%\changes{v2.8a}{2021/02/21}{settings for the Lato font +%\changes{v2.8b}{2021/02/21}{settings for the Lato font (\file{mt-Lato.cfg}) % (reported by \contributor dsedivec <@\at @>)} % ^^A https://tex.stackexchange.com/questions/380812/microtype-warning-unknown-slot-number-of-character-with-lato-font % \begin{macrocode} @@ -461,7 +461,7 @@ luatexbase.add_to_callback("pre_linebreak_filter", nodeprocessor, "replace missi n = {ń,ñ}, O = {Ø,Ò,Ó,Ô,Õ,Ö}, o = {ø,ò,ó,ô,õ,ö}, - S = {Ś,Š}, % \SS + S = {Ś,Š}, s = {ś,š}, U = {Ù,Ú,Û,Ü}, u = {ù,ú,û,ü}, @@ -475,8 +475,8 @@ luatexbase.add_to_callback("pre_linebreak_filter", nodeprocessor, "replace missi % \begin{macrocode} % % \end{macrocode} -% \dots\ and even less in the self-professed awesone Font Awesome font. -%\changes{v2.8a}{2021/02/21}{dummy settings for the Font Awesome font} +% \dots\ and even less in the self-professedly awesone Font Awesome font. +%\changes{v2.8b}{2021/02/21}{dummy settings for the Font Awesome font (\file{mt-FontAwesome.cfg})} % \begin{macrocode} %<*FontAwesome> \DeclareCharacterInheritance diff --git a/Master/texmf-dist/source/latex/microtype/microtype.dtx b/Master/texmf-dist/source/latex/microtype/microtype.dtx index f3bec6b762a..a4a45649471 100644 --- a/Master/texmf-dist/source/latex/microtype/microtype.dtx +++ b/Master/texmf-dist/source/latex/microtype/microtype.dtx @@ -1,7 +1,7 @@ %\iffalse meta-comment % !Mode:: "TeX:DTX:UK" % !smartQuote:: "English" -% !DTXversion:: "2.8a" +% !DTXversion:: "2.8b" % ------------------------------------------------------------------------ % The `microtype' package % Subliminal refinements towards typographical perfection @@ -37,7 +37,7 @@ % {microtype-luatex.def} % {microtype-xetex.def} %<*package|letterspace|m-t|pdftex-def|luatex-def|xetex-def> - [2021/02/22 v2.8a + [2021/02/25 v2.8b % Micro-typographical refinements % Robust letterspacing % microtype main configuration file @@ -51,8 +51,8 @@ %local microtype = microtype %microtype.module = { % name = "microtype", -% version = "2.8a", -% date = "2021/02/22", +% version = "2.8b", +% date = "2021/02/25", % description = "microtype module.", % author = "E. Roux, R. Schlicht and P. Gesang", % copyright = "E. Roux, R. Schlicht and P. Gesang", @@ -340,6 +340,8 @@ \setlength\fboxsep{3pt} \setlength\arrayrulewidth{0.4pt} % tables +\def\topfraction{1} +\def\textfraction{0} \setlength\tabcolsep{2pt} \newbox\mt@box \newdimen\mt@unvdimen @@ -2134,6 +2136,7 @@ %\begin{minipage}{\textwidth} %\def\arraystretch{1.2} %\long\def\@makefntext#1{% +% \raggedright % \leftskip 1.2em % \parindent -1.2em % \everypar{\parindent -1.2em}% @@ -2143,8 +2146,9 @@ %\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}*3l@{}} % \footnotesize Font family ( code) % & \multicolumn{2}{l}{\footnotesize Features}\\ -%\cmidrule{2-3} -% & \footnotesize Encodings [Scripts] +%\cmidrule{1-1}\cmidrule{2-3} +%\itshape\footnotesize Type 1 fonts +% & \footnotesize Encodings % & \footnotesize Shapes\\ %\cmidrule{1-1}\cmidrule{2-2}\cmidrule{3-3} % Generic @@ -2159,7 +2163,7 @@ % MicroPress's \pkg{chmath} (|chr|), \pkg{XCharter}} % & , , , , % & n, it, (sl)\footnote{Settings inherited from italic shape\label{fn:it-sl}}, sc \\ -% Garamond\footnote{Aliases: Adobe Garamond (|pad|, |padx|, |padj|)} +% Garamond\footnote{Alias: Adobe Garamond (|pad|, |padx|, |padj|)} % & , , , % & n, it, (sl)\fnref{fn:it-sl}, sc \\ % Garamond (|ugm|)\footnote{Aliases: \pkg{mathdesign}/ Garamond (|mdugm|), \pkg{garamondx} (|zgmx|, |zgmj|)} @@ -2181,21 +2185,7 @@ % \pkg{newtx}, \pkg{tempora}, \pkg{step}, \pkg{stix}/\pkg{stix2}} % & , , , , , ()\fnref{fn:incmpl} % & n, it, (sl)\fnref{fn:it-sl}, sc \\ -% Latin Modern Roman\footnote{Alias: New Computer Modern} -% & /<2>, [Latin, Greek] -% & n, it, (sl)\fnref{fn:it-sl}\\ -% Charis -% & /<2>, [Latin, Cyrillic, Greek] -% & n, it, sc\\ -%\iffalse ^^A provided with the EB Garamond package -% Garamond -% & /<2>, [Latin, Cyrillic, Greek] -% & n, it, sc, si\\ -%\fi -% Palatino\footnote{Aliases: Palatino Linotype, \TeX\ Gyre Pagella, Palatino Std, Palatino, Domitian} -% & /<2>, [Latin] -% & n, it, sc\\ -% Computer Modern math (|cmsy|, |cmm|)\footnote{Aliases: Latin Modern (|lmsy|, |lmm|)} +% Computer Modern math (|cmsy|, |cmm|)\footnote{Aliases: Latin Modern (|lmsy|, |lmm|), \pkg{mlmodern} (|mlmsy|, |mlmm|)} % & / % & n/it \\ % symbols (|msa|, |msb|) @@ -2207,12 +2197,35 @@ % Euro symbols (Adobe, , \pkg{marvosym}) % & / % & n, it \\ +%\cmidrule{1-1}\cmidrule{2-2}\cmidrule{3-3} +%\itshape\footnotesize OpenType fonts +% & \footnotesize Scripts +% & \footnotesize Shapes\\ +%\cmidrule{1-1}\cmidrule{2-2}\cmidrule{3-3} +% Generic +% & Latin +% & n, (it, sl, sc)\fnref{fn:incmpl} \\ +% Latin Modern Roman\footnote{Alias: New Computer Modern} +% & Latin, Greek +% & n, it, (sl)\fnref{fn:it-sl}\\ +% Charis +% & Latin, Cyrillic, Greek +% & n, it, sc\\ +%\iffalse ^^A provided with the EB Garamond package +% Garamond +% & Latin, Cyrillic, Greek +% & n, it, sc, si\\ +%\fi +% Palatino\footnote{Aliases: Palatino Linotype, Palatino Std, \TeX\ Gyre Pagella, Domitian} +% & Latin +% & n, it, sc\\ %\bottomrule %\end{tabular*}^^A %\end{minipage}^^A %}\kern-\dimexpr\fboxsep+\fboxrule\relax ^^A end \fcolorbox %\end{table} % +%\enlargethispage{\baselineskip} ^^A layout %\medskip %\Describe{Macro}{\DeclareMicrotypeVariants}{list of suffixes} %\DescribeMacro{\DeclareMicrotypeVariants*} @@ -2238,7 +2251,6 @@ %\begin{verbatim} %\DeclareMicrotypeAlias{lmr}{cmr} %\end{verbatim} -%\ifcmr\else\pagebreak\fi ^^A layout % which would make the package, whenever it encounters the font |lmr| and does % not find settings for it, also try the font |cmr|. In fact, you will find % this very line, along with some others, in the default configuration file. @@ -3040,6 +3052,8 @@ % %\VersionDate{\expandafter\@gobble\fileversion}{\filedate} % +%\VersionDate{2.8a}{2020/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}} diff --git a/Master/texmf-dist/tex/latex/microtype/letterspace.sty b/Master/texmf-dist/tex/latex/microtype/letterspace.sty index 3f881de01af..fa5349dd6c9 100644 --- a/Master/texmf-dist/tex/latex/microtype/letterspace.sty +++ b/Master/texmf-dist/tex/latex/microtype/letterspace.sty @@ -33,7 +33,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage {letterspace} - [2021/02/22 v2.8a + [2021/02/25 v2.8b Robust letterspacing (RS)] \def\MT@MT diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def b/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def index ff8e63523e8..137da62fe4f 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def +++ b/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def @@ -30,7 +30,7 @@ %% \ProvidesFile {microtype-luatex.def} - [2021/02/22 v2.8a + [2021/02/25 v2.8b Definitions specific to luatex (RS)] diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def b/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def index 925d57f7f34..c963fa373c8 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def +++ b/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def @@ -30,7 +30,7 @@ %% \ProvidesFile {microtype-pdftex.def} - [2021/02/22 v2.8a + [2021/02/25 v2.8b Definitions specific to pdftex (RS)] diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def b/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def index 050841ae7c5..b9febf7159f 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def +++ b/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def @@ -30,7 +30,7 @@ %% \ProvidesFile {microtype-xetex.def} - [2021/02/22 v2.8a + [2021/02/25 v2.8b Definitions specific to xetex (RS)] diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.cfg b/Master/texmf-dist/tex/latex/microtype/microtype.cfg index efc41c239d6..b64e40d8930 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.cfg +++ b/Master/texmf-dist/tex/latex/microtype/microtype.cfg @@ -40,7 +40,7 @@ %% \ProvidesFile {microtype.cfg} - [2021/02/22 v2.8a + [2021/02/25 v2.8b microtype main configuration file (RS)] diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.lua b/Master/texmf-dist/tex/latex/microtype/microtype.lua index e5f43fa8963..ed62da0110e 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.lua +++ b/Master/texmf-dist/tex/latex/microtype/microtype.lua @@ -34,8 +34,8 @@ microtype = microtype or {} local microtype = microtype microtype.module = { name = "microtype", - version = "2.8a", - date = "2021/02/22", + version = "2.8b", + date = "2021/02/25", description = "microtype module.", author = "E. Roux, R. Schlicht and P. Gesang", copyright = "E. Roux, R. Schlicht and P. Gesang", diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.sty b/Master/texmf-dist/tex/latex/microtype/microtype.sty index 41798862307..31464240eed 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.sty +++ b/Master/texmf-dist/tex/latex/microtype/microtype.sty @@ -29,7 +29,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage {microtype} - [2021/02/22 v2.8a + [2021/02/25 v2.8b Micro-typographical refinements (RS)] \def\MT@MT diff --git a/Master/texmf-dist/tex/latex/microtype/mt-FontAwesome.cfg b/Master/texmf-dist/tex/latex/microtype/mt-FontAwesome.cfg new file mode 100644 index 00000000000..7880d7bd6e8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/microtype/mt-FontAwesome.cfg @@ -0,0 +1,63 @@ +%% +%% This is file `mt-FontAwesome.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% microtype-utf.dtx (with options: `FontAwesome') +%% +%% ------------------------------------------------------------------------ +%% +%% The `microtype' package +%% Subliminal refinements towards typographical perfection +%% Copyright (c) 2004--2021 R Schlicht +%% +%% This work may be distributed and/or modified under the conditions of the +%% LaTeX Project Public License, either version 1.3c of this license or (at +%% your option) any later version. The latest version of this license is in: +%% http://www.latex-project.org/lppl.txt, and version 1.3c or later is part +%% of all distributions of LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `author-maintained'. +%% +%% This work consists of the files microtype.dtx and microtype.ins and the +%% derived files microtype.sty, microtype-pdftex.def, microtype-luatex.def, +%% microtype-xetex.def, microtype.lua and letterspace.sty. +%% +%% ------------------------------------------------------------------------ +%% This is a font-specific configuration file for the `microtype' package. +%% It may contain settings for font expansion and character protrusion, +%% tracking, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. +%% +%% If you think you have found improvements to these settings, please +%% let me know. +%% +%% When modifying this file, also change the identification line below. +%% ------------------------------------------------------------------------ +%% +\ProvidesFile + {mt-FontAwesome.cfg}[2021/02/22 v1.0 microtype config. file: Font Awesome (RS)] + +%%% ----------------------------------------------------------------------- +%%% INHERITANCE + +%% for xetex (EU1) and luatex (EU2), resp. both (TU) +\DeclareCharacterInheritance + { encoding = {TU,EU1,EU2}, + family = {FontAwesome} } + { } + +%%% ----------------------------------------------------------------------- +%%% PROTRUSION + +\SetProtrusion + [ name = empty ] + { encoding = {TU,EU1,EU2}, + family = {FontAwesome} } + { } + +\endinput +%% +%% End of file `mt-FontAwesome.cfg'. diff --git a/Master/texmf-dist/tex/latex/microtype/mt-Lato.cfg b/Master/texmf-dist/tex/latex/microtype/mt-Lato.cfg new file mode 100644 index 00000000000..0762f7134f7 --- /dev/null +++ b/Master/texmf-dist/tex/latex/microtype/mt-Lato.cfg @@ -0,0 +1,82 @@ +%% +%% This is file `mt-Lato.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% microtype-utf.dtx (with options: `Lato') +%% +%% ------------------------------------------------------------------------ +%% +%% The `microtype' package +%% Subliminal refinements towards typographical perfection +%% Copyright (c) 2004--2021 R Schlicht +%% +%% This work may be distributed and/or modified under the conditions of the +%% LaTeX Project Public License, either version 1.3c of this license or (at +%% your option) any later version. The latest version of this license is in: +%% http://www.latex-project.org/lppl.txt, and version 1.3c or later is part +%% of all distributions of LaTeX version 2005/12/01 or later. +%% +%% This work has the LPPL maintenance status `author-maintained'. +%% +%% This work consists of the files microtype.dtx and microtype.ins and the +%% derived files microtype.sty, microtype-pdftex.def, microtype-luatex.def, +%% microtype-xetex.def, microtype.lua and letterspace.sty. +%% +%% ------------------------------------------------------------------------ +%% This is a font-specific configuration file for the `microtype' package. +%% It may contain settings for font expansion and character protrusion, +%% tracking, interword spacing and additional kerning, as well as +%% character inheritance declarations. +%% Please consult the documentation for details. +%% +%% If you think you have found improvements to these settings, please +%% let me know. +%% +%% When modifying this file, also change the identification line below. +%% ------------------------------------------------------------------------ +%% +\ProvidesFile + {mt-Lato.cfg}[2021/02/22 v1.0 microtype config. file: Lato (RS)] + +%%% ----------------------------------------------------------------------- +%%% INHERITANCE + +%% for xetex (EU1) and luatex (EU2), resp. both (TU) +\DeclareCharacterInheritance + { encoding = {TU,EU1,EU2}, + family = {Lato} } + { A = {À,Á,Â,Ã,Ä,Å,Ą}, + a = {à,á,â,ã,ä,å,ą}, + C = {Ć,Ç}, + c = {ć,ç}, + D = {Ð}, + E = {È,É,Ê,Ë,Ę}, + e = {è,é,ê,ë,ę}, + I = {Ì,Í,Î,Ï}, + i = {ì,í,î,ï,ı}, + L = {Ł}, + l = {ł}, + N = {Ń,Ñ}, + n = {ń,ñ}, + O = {Ø,Ò,Ó,Ô,Õ,Ö}, + o = {ø,ò,ó,ô,õ,ö}, + S = {Ś,Š}, % \SS + s = {ś,š}, + U = {Ù,Ú,Û,Ü}, + u = {ù,ú,û,ü}, + Y = {Ý,Ÿ}, + y = {ý,ÿ}, + Z = {Ź,Ż,Ž}, + z = {ź,ż,ž} + } + +%%% ----------------------------------------------------------------------- +%%% PROTRUSION + + %% No settings yet. + +\endinput +%% +%% End of file `mt-Lato.cfg'. -- cgit v1.2.3