diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-11 21:33:17 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-11 21:33:17 +0000 |
commit | 98ef842ac8b0bc51c8a31937d1b76d3d3e98c8eb (patch) | |
tree | 59b9e4d4837a83c91c05e54d18111797f80d3c5c /Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def | |
parent | 83b507f56f72909f7552936d229f1130c8fb05c5 (diff) |
microtype (11oct19)
git-svn-id: svn://tug.org/texlive/trunk@52344 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def b/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def index 8028280c2a9..1b68bdd1b94 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def +++ b/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def @@ -10,7 +10,7 @@ %% %% The `microtype' package %% Subliminal refinements towards typographical perfection -%% Copyright (c) 2004--2018 R Schlicht <w.m.l@gmx.net> +%% Copyright (c) 2004--2019 R Schlicht <w.m.l@gmx.net> %% %% 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 @@ -30,7 +30,7 @@ %% \ProvidesFile {microtype-pdftex.def} - [2019/02/28 v2.7b + [2019/10/10 v2.7c Definitions specific to pdftex (RS)] @@ -1487,14 +1487,24 @@ \MT@check@step{stretch}% \MT@check@step{shrink}% \MT@check@active@set{ex}% - \CheckCommand*\showhyphens[1]{\setbox0\vbox{% - \color@begingroup\everypar{}\parfillskip\z@skip - \hsize\maxdimen\normalfont\pretolerance\m@ne\tolerance\m@ne - \hbadness\z@\showboxdepth\z@\ ##1\color@endgroup}}% - \gdef\showhyphens##1{\setbox0\vbox{% - \color@begingroup\pdfadjustspacing\z@\everypar{}\parfillskip\z@skip - \hsize\maxdimen\normalfont\pretolerance\m@ne\tolerance\m@ne - \hbadness\z@\showboxdepth\z@\ ##1\color@endgroup}}% + \MT@ifdefined@n@TF{showhyphens }{% + \def\MT@temp##1##2{% + \expandafter\CheckCommand\csname showhyphens \endcsname[1]{##1}% + \DeclareRobustCommand\showhyphens[1]{##2}}% + }{% + \def\MT@temp##1##2{% + \CheckCommand*\showhyphens[1]{##1}% + \gdef\showhyphens####1{##2}}% + }% + \MT@temp + {\setbox0\vbox{\color@begingroup + \everypar{}\parfillskip\z@skip + \hsize\maxdimen\normalfont\pretolerance\m@ne\tolerance\m@ne + \hbadness\z@\showboxdepth\z@\ ##1\color@endgroup}} + {\setbox0\vbox{\color@begingroup\pdfadjustspacing\z@ + \everypar{}\parfillskip\z@skip + \hsize\maxdimen\normalfont\pretolerance\m@ne\tolerance\m@ne + \hbadness\z@\showboxdepth\z@\ ##1\color@endgroup}}% \else \let\MT@expansion\relax \MT@info@nl{No font expansion}% |