From 7f759188098f5ca899385eb744c194b406ef37fb Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 10 Dec 2021 22:24:41 +0000 Subject: microtype (10dec21) git-svn-id: svn://tug.org/texlive/trunk@61266 c570f23f-e606-0410-a88d-b1316a301751 --- .../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-show.sty | 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 | 29 ++++++++-------------- 8 files changed, 18 insertions(+), 27 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 e80c174f54b..52d2caebc38 100644 --- a/Master/texmf-dist/tex/latex/microtype/letterspace.sty +++ b/Master/texmf-dist/tex/latex/microtype/letterspace.sty @@ -34,7 +34,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage {letterspace} - [2021/12/02 v3.0a + [2021/12/10 v3.0b 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 72f9050d22b..f9db281dc2c 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def +++ b/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def @@ -31,7 +31,7 @@ %% \ProvidesFile {microtype-luatex.def} - [2021/12/02 v3.0a + [2021/12/10 v3.0b 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 ccf6b6d316f..5053c8b530c 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def +++ b/Master/texmf-dist/tex/latex/microtype/microtype-pdftex.def @@ -31,7 +31,7 @@ %% \ProvidesFile {microtype-pdftex.def} - [2021/12/02 v3.0a + [2021/12/10 v3.0b Definitions specific to pdftex (RS)] diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-show.sty b/Master/texmf-dist/tex/latex/microtype/microtype-show.sty index 5c88b2a6b51..ecff43a22d2 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype-show.sty +++ b/Master/texmf-dist/tex/latex/microtype/microtype-show.sty @@ -34,7 +34,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage {microtype-show} - [2021/12/02 v3.0a + [2021/12/10 v3.0b Visual debugging for the microtype package (RS)] \RequirePackage{iftex} diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def b/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def index 8f1e2a59a70..8240298fcac 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def +++ b/Master/texmf-dist/tex/latex/microtype/microtype-xetex.def @@ -31,7 +31,7 @@ %% \ProvidesFile {microtype-xetex.def} - [2021/12/02 v3.0a + [2021/12/10 v3.0b 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 a5677e73556..b51c5a571f4 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.cfg +++ b/Master/texmf-dist/tex/latex/microtype/microtype.cfg @@ -41,7 +41,7 @@ %% \ProvidesFile {microtype.cfg} - [2021/12/02 v3.0a + [2021/12/10 v3.0b 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 c407ca58b93..15a9af08226 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.lua +++ b/Master/texmf-dist/tex/latex/microtype/microtype.lua @@ -35,8 +35,8 @@ microtype = microtype or {} local microtype = microtype microtype.module = { name = "microtype", - version = "3.0a", - date = "2021/12/02", + version = "3.0b", + date = "2021/12/10", 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 9d78980fb3d..c71c15651b9 100644 --- a/Master/texmf-dist/tex/latex/microtype/microtype.sty +++ b/Master/texmf-dist/tex/latex/microtype/microtype.sty @@ -30,7 +30,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage {microtype} - [2021/12/02 v3.0a + [2021/12/10 v3.0b Micro-typographical refinements (RS)] \def\MT@MT @@ -538,7 +538,11 @@ time will almost certainly lead to undesired results. Have your choice!}% }% \MT@if@true }% - \MT@with@package@T{tex4ht}\MT@if@true + \MT@with@package@T{tex4ht}{% + \def\MT@apply@patch#1{\MT@info{Not applying patch `#1' (for tex4ht)}}% + \def\MT@undo@patch#1{\MT@info{Not undoing patch `#1' (for tex4ht)}}% + \MT@if@true + }% \MT@with@package@T{mathastext}\MT@if@true \ifMT@if@\g@addto@macro\MT@setupfont@hook\MT@restore@p@h\fi \MT@with@package@T{listings}{% @@ -1007,7 +1011,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \MT@toks{}% \MT@prot@get@firstchar } -\def\MT@prot@l#1{% +\long\def\MT@prot@l#1{% \MT@get@prot{#1}{left}% #1% } @@ -1045,12 +1049,11 @@ time will almost certainly lead to undesired results. Have your choice!}% }% \MT@ckpt \endgroup + \leavevmode \ifhbox\MT@tempbox \@tempdima=\@nameuse{#2marginkern}\MT@tempbox\relax \expandafter\ifdim\@tempdima=\z@ \else - \leavevmode - \MT@vinfo{|<< adding #2 margin kern% for `\@tempa' % FIXME - :\MessageBreak + \MT@vinfo{|<< adding #2 margin kern for `#1':\MessageBreak \the\@tempdima \on@line}% \kern\@tempdima \fi @@ -1099,19 +1102,7 @@ time will almost certainly lead to undesired results. Have your choice!}% \@gobble }\@firstofone } -\def\MT@prot@group{% - \begingroup - \catcode`\\=11 - \obeylines - \MT@prot@group@} -\def\MT@prot@group@{\afterassignment\MT@prot@group@@ \MT@toks} -\def\MT@prot@group@@{% - \catcode`\\=0 - \catcode`\^^M=10 - {\expandafter\MT@prot@l\expandafter - {\expandafter\scantokens\expandafter{\the\MT@toks\noexpand}}}% - \endgroup} -^^Q\def\MT@prot@group#1{\MT@prot@l{#1}} +\def\MT@prot@group#{\bgroup\afterassignment\MT@prot@get@firstchar\let\MT@temp= } \def\MT@prot@get@firstchar{\futurelet\MT@prot@next\MT@prot@get@first@char} \def\MT@prot@get@nextchar{\futurelet\MT@prot@next\MT@prot@get@next@char} \def\MT@prot@get@first@char{% -- cgit v1.2.3