From ae6f91f3d421fc8e0d2990ee0ab8c7ca379ecc63 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 1 Mar 2019 22:25:46 +0000 Subject: microtype (1mar19) git-svn-id: svn://tug.org/texlive/trunk@50187 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/microtype/letterspace.sty | 2 +- Master/texmf-dist/tex/latex/microtype/microtype-luatex.def | 6 ++++-- Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def | 5 +++-- Master/texmf-dist/tex/latex/microtype/microtype-xetex.def | 6 ++++-- Master/texmf-dist/tex/latex/microtype/microtype.cfg | 5 +++-- Master/texmf-dist/tex/latex/microtype/microtype.lua | 9 +++++---- Master/texmf-dist/tex/latex/microtype/microtype.sty | 13 +++++-------- 7 files changed, 25 insertions(+), 21 deletions(-) (limited to 'Master/texmf-dist/tex/latex/microtype') diff --git a/Master/texmf-dist/tex/latex/microtype/letterspace.sty b/Master/texmf-dist/tex/latex/microtype/letterspace.sty index 6a6d9af50d6..246c19416c1 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} - [2018/01/14 v2.7a + [2019/02/28 v2.7b 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 8191589453e..968ba9fd7ca 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} - [2018/01/14 v2.7a + [2019/02/28 v2.7b Definitions specific to luatex (RS)] @@ -86,7 +86,9 @@ }% \fi } -\def\MT@setupfont{\MT@setupfont@hook} +\def\MT@setupfont{% + \MT@font + \MT@setupfont@hook} \g@addto@macro\MT@setupfont\MT@copy@font \g@addto@macro\MT@setupfont{% \MT@exp@two@c\MT@split@name\string\MT@font/\@nil diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def b/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def index d180b3287da..8028280c2a9 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} - [2018/01/14 v2.7a + [2019/02/28 v2.7b Definitions specific to pdftex (RS)] @@ -168,7 +168,8 @@ \fi } } -\def\MT@setupfont{\MT@setupfont@hook} +\def\MT@setupfont{% + \MT@setupfont@hook} \MT@requires@pdftex7{ \g@addto@macro\MT@setupfont\MT@copy@font }\relax diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def b/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def index d2755661e9a..8218af47458 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} - [2018/01/14 v2.7a + [2019/02/28 v2.7b Definitions specific to xetex (RS)] @@ -102,7 +102,9 @@ }% \fi } -\def\MT@setupfont{\MT@setupfont@hook} +\def\MT@setupfont{% + \MT@font + \MT@setupfont@hook} \g@addto@macro\MT@setupfont{% \MT@exp@two@c\MT@split@name\string\MT@font/\@nil \MT@exp@one@n\MT@find@file\MT@family diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.cfg b/Master/texmf-dist/tex/latex/microtype/microtype.cfg index 02629742fc9..a28016fa71c 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} - [2018/01/14 v2.7a + [2019/02/28 v2.7b microtype main configuration file (RS)] @@ -275,7 +275,8 @@ S = {\'S}, s = {\'s}, Z = {\'Z,\.Z}, - z = {\'z,\.z} + z = {\'z,\.z}, + \textquotedblleft = "FF } \DeclareCharacterInheritance diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.lua b/Master/texmf-dist/tex/latex/microtype/microtype.lua index d1727dc8a9e..221fd7d2efd 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.lua +++ b/Master/texmf-dist/tex/latex/microtype/microtype.lua @@ -34,16 +34,17 @@ microtype = microtype or {} local microtype = microtype microtype.module = { name = "microtype", - version = "2.7a", - date = "2018/01/14", + version = "2.7b", + date = "2019/02/28", description = "microtype module.", author = "E. Roux, R. Schlicht and P. Gesang", copyright = "E. Roux, R. Schlicht and P. Gesang", license = "LPPL", } -local err, warn, info, log = luatexbase.provides_module(microtype.module) -microtype.warning = warn +function microtype.warning(...) + luatexbase.module_warning("microtype",...) +end local find = string.find local match = string.match diff --git a/Master/texmf-dist/tex/latex/microtype/microtype.sty b/Master/texmf-dist/tex/latex/microtype/microtype.sty index 0526f3e023e..3dcf66bfa04 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} - [2018/01/14 v2.7a + [2019/02/28 v2.7b Micro-typographical refinements (RS)] \def\MT@MT @@ -446,7 +446,6 @@ \expandafter\@firstofone \fi}} \def\MT@setupfont@hook{% - \ifMT@fontspec\MT@font\fi \MT@if@false \MT@with@babel@and@T{spanish} \MT@if@true \MT@with@babel@and@T{galician}\MT@if@true @@ -475,9 +474,6 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@with@package@T{xunicode}\MT@xunicodetrue \MT@with@package@T{fontspec}{\MT@fontspectrue\MT@fontspec@setup}% \MT@glet\MT@setupfont@hook\@empty - \ifMT@fontspec - \g@addto@macro\MT@setupfont@hook{\MT@font}% - \fi \MT@if@false \MT@with@babel@and@T{spanish} \MT@if@true \MT@with@babel@and@T{galician}\MT@if@true @@ -661,9 +657,10 @@ time will almost certainly lead to undesired results. Have your choice!}% } \def\MT@info@missing@char{% \MT@info@nl{Character `\the\MT@toks' -^^X \iffontchar\MT@font\MT@char@ - has a width of 0pt -^^X \else is missing\fi +^^X \ifnum\MT@char@<\z@ is missing\else +^^X \iffontchar\MT@font\MT@char@ + has a width of 0pt +^^X \else is missing\fi\fi ^^Q \MessageBreak (it's probably missing) \MessageBreak in font `\MT@@font'.\MessageBreak Ignoring protrusion settings for this character}% -- cgit v1.2.3