summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-06-20 21:08:21 +0000
committerKarl Berry <karl@freefriends.org>2022-06-20 21:08:21 +0000
commit888b15f68d68b9c64fc5f046ffd99c948a3b8f72 (patch)
tree6cd3964966608cb6422eadea58521c97dcd4a594 /Master/texmf-dist/tex/latex/microtype/microtype-luatex.def
parente35d8c3bca74c42d141db3d4e1c4b2d870ed8621 (diff)
microtype (20jun22)
git-svn-id: svn://tug.org/texlive/trunk@63666 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/microtype/microtype-luatex.def')
-rw-r--r--Master/texmf-dist/tex/latex/microtype/microtype-luatex.def14
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def b/Master/texmf-dist/tex/latex/microtype/microtype-luatex.def
index 188a1d018ad..6784d6693ad 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}
- [2022/03/14 v3.0d
+ [2022/06/20 v3.0e
Definitions specific to
luatex
(RS)]
@@ -58,8 +58,8 @@
#1{\ifnum
\MT@luatex@no
<#1 \expandafter\@secondoftwo\else\expandafter\@firstoftwo\fi}
-\@ifl@t@r\fmtversion{2016/01/01}\relax{\RequirePackage{luatexbase}}
-\@ifl@t@r\fmtversion{2017/01/01}\relax{\RequirePackage{luaotfload}}
+\IfFormatAtLeastTF{2016/01/01}\relax{\RequirePackage{luatexbase}}
+\IfFormatAtLeastTF{2017/01/01}\relax{\RequirePackage{luaotfload}}
\MT@lua{require("microtype")}
\MT@requires@luatex6{\let\MT@glet\glet}\relax
\def\MT@ifint#1{\csname\MT@lua{microtype.if_int([[#1]])}\endcsname}
@@ -265,12 +265,14 @@
\fi
\rpcode\MT@font #2=\numexpr\rpcode\MT@font#1+\@tempcnta\relax
}
+\def\MT@enc@list
+ {{TU}}
\def\MT@prot@addtoken@next#1{%
- \edef\MT@temp{\MT@toks={\the\MT@toks\noexpand#1}}\MT@temp
+ \MT@toks\expandafter{\the\MT@toks#1}%
\setbox\MT@tempbox\hbox{\the\MT@toks
}\setbox\MT@tempbox\hbox{\unhbox\MT@tempbox
\ifnum\lastnodetype=7 \aftergroup\@firstoftwo\else\aftergroup\@secondoftwo\fi}%
- \MT@prot@get@nextchar
+ \MT@prot@get@nexttoken
{\MT@prot@l{\the\MT@toks}}%
}
\def\MT@expansion{\MT@maybe@do{ex}}
@@ -1161,7 +1163,7 @@
\MT@check@active@set{ex}%
\MT@ifdefined@n@TF{showhyphens }{%
\def\MT@temp##1##2{%
- \expandafter\CheckCommand\csname showhyphens \endcsname[1]{##1}%
+ \MT@exp@cs\CheckCommand{showhyphens }[1]{##1}%
\DeclareRobustCommand\showhyphens[1]{##2}}%
}{%
\def\MT@temp##1##2{%