diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/microtype/microtype.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/microtype/microtype.sty | 29 |
1 files changed, 10 insertions, 19 deletions
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{% |