summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/microtype/microtype-luatex.def')
-rw-r--r--Master/texmf-dist/tex/latex/microtype/microtype-luatex.def16
1 files changed, 11 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def b/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def
index ae4450c757a..d9fd7f69065 100644
--- a/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def
+++ b/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def
@@ -10,7 +10,7 @@
%%
%% The `microtype' package
%% Subliminal refinements towards typographical perfection
-%% Copyright (c) 2004--2022 R Schlicht <w.m.l@gmx.net>
+%% Copyright (c) 2004--2023 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
@@ -31,10 +31,11 @@
%%
\ProvidesFile
{microtype-luatex.def}
- [2022/06/23 v3.0f
+ [2023/03/06 v3.1
Definitions specific to
luatex
(RS)]
+%% \item
\let\MT@lua\directlua
\def\MT@luatex@no{6}
\ifnum\luatexversion<110
@@ -267,11 +268,13 @@
}
\def\MT@prot@addtoken@next#1{%
\MT@toks\expandafter{\the\MT@toks#1}%
- \setbox\MT@tempbox\hbox{\the\MT@toks
+ \setbox\MT@tempbox\hbox{%
+ \let\maybe@ic\relax
+ \MT@exp@one@n\MT@maybe@textcmd{\the\MT@toks}%
}\setbox\MT@tempbox\hbox{\unhbox\MT@tempbox
\ifnum\lastnodetype=7 \aftergroup\@firstoftwo\else\aftergroup\@secondoftwo\fi}%
\MT@prot@get@nexttoken
- {\MT@prot@l{\the\MT@toks}}%
+ {\MT@exp@one@n\MT@prot@l{\the\MT@toks}}%
}
\def\MT@expansion{\MT@maybe@do{ex}}
\def\MT@set@ex@codes@s{%
@@ -791,6 +794,10 @@
{1114111 }
\def\MT@max@slot
{1114111 }
+\MT@requires@luatex3
+ {\def\MT@active@features{,tr}}{%
+ \let\MT@active@features\@empty
+ }
\def\DisableLigatures{%
\MT@begin@catcodes
\MT@DisableLigatures
@@ -1185,7 +1192,6 @@
\MT@requires@luatex3{%
\def\MT@setup@tracking{%
\ifMT@tracking
- \edef\MT@active@features{\MT@active@features,tr}%
\MT@info@nl{Tracking enabled}%
\MT@check@active@set{tr}%
\ifMT@protrusion\else\MT@protrudechars\@ne\fi