summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-03-28 21:00:09 +0000
committerKarl Berry <karl@freefriends.org>2019-03-28 21:00:09 +0000
commit99b8cf268e524f7a1d38f44886cfb1c410612ec2 (patch)
tree608a8fe7c80bd448bbdc4641e93f24ef8c301177 /Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty
parent7f136489a7ab1eaaadaaba538e2305d9b3e67065 (diff)
luatexja (28mar19)
git-svn-id: svn://tug.org/texlive/trunk@50631 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty19
1 files changed, 19 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty
new file mode 100644
index 00000000000..aacde2f22a0
--- /dev/null
+++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-microtype.sty
@@ -0,0 +1,19 @@
+%
+% lltjp-microtype.sty 2019-03-28
+%
+% (Work in Progress)
+%
+\NeedsTeXFormat{LaTeX2e}
+
+\RequirePackage{etoolbox}
+\RequirePackage{luatexja}
+\makeatletter
+
+\def\MT@register@font{%
+ \xdef\MT@font@list{\expandonce{\MT@font@list}\MT@font,}%
+}
+\def\MT@register@subst@font{\MT@exp@one@n\MT@in@clist\font@name\MT@font@list
+ \ifMT@inlist@\else
+ \xdef\MT@font@list{\expandonce{\MT@font@list}\font@name,}%
+ \fi}
+\endinput