diff options
author | Karl Berry <karl@freefriends.org> | 2017-01-26 22:17:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-01-26 22:17:06 +0000 |
commit | c33154f6168098c0d9c3c13ac2c5df500fce51b5 (patch) | |
tree | 00564b568816ad674fbc394d57bd59dbd11ef629 /Master/texmf-dist/tex/luatex | |
parent | 6a874a2b72d322b085148b3648f2efdd64bb5e5f (diff) |
luatexja (26jan17)
git-svn-id: svn://tug.org/texlive/trunk@43052 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/patches/lltjfont.sty | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjfont.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjfont.sty index 8c70c993e6b..735fb9e2255 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjfont.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjfont.sty @@ -5,6 +5,28 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{lltjfont}[2016/04/01 Patch to NFSS2 for LuaTeX-ja] +\def\ltj@chardef@text@cmd#1{% + \edef\ltj@chardef@text@cmd@name{\expandafter\@gobble\string#1}% + \afterassignment\ltj@chardef@text@cmd@\ltj@tempcnta +} +\def\ltj@chardef@text@cmd@{% + \ifnum\ltj@tempcnta>"7F + \expandafter\edef\csname \ltj@chardef@text@cmd@name\endcsname{% + \noexpand\ltjalchar\the\ltj@tempcnta\space + }% + \else + \expandafter\chardef\csname \ltj@chardef@text@cmd@name\endcsname\ltj@tempcnta + \fi +} +\def\DeclareTextSymbol#1#2#3{% + \@dec@text@cmd\ltj@chardef@text@cmd#1{#2}#3\relax +} + +\ifdefined\UnicodeEncodingName + \input{tuenc.def} +\fi + + \let\k@encoding\@empty \let\ck@encoding\@empty % LuaTeX-ja uses JY3 and JT3 encodings. |