diff options
author | Norbert Preining <preining@logic.at> | 2012-04-24 00:13:14 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2012-04-24 00:13:14 +0000 |
commit | 8f29bdce0bdd08ec81df555e98692d1f288c3289 (patch) | |
tree | c4f9a6b00a587f635e55fc4068c1961780c90591 /Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-unicode-math.sty | |
parent | 74e624196144ae218a63a4c35672fc7a0e7b18dc (diff) |
new package luatexja (24apr)
adapt ctan2tds to deal with it
git-svn-id: svn://tug.org/texlive/trunk@26115 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-unicode-math.sty')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-unicode-math.sty | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-unicode-math.sty b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-unicode-math.sty new file mode 100644 index 00000000000..2db4cf92469 --- /dev/null +++ b/Master/texmf-dist/tex/luatex/luatexja/patches/lltjp-unicode-math.sty @@ -0,0 +1,30 @@ +% +% lltjp-unicode-math.sty +% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{lltjp-unicode-math}[2011/11/22 Patch to unicode-math for LuaLaTeX-ja] + +\RequirePackage{unicode-math,luatexja} + +\ExplSyntaxOn + +\group_begin: + \cs_gset:Npn \um_cs_set_eq_active_char:Nw #1 = "#2 \q_nil {%" + \group_begin: + %\typeout {um: \string#1, \int_from_hexadecimal:n {#2}} <- for debug + \char_set_lccode:nn { `! } { "#2 } + \tex_lowercase:D { + \tl_set:Nn \l_tmpa_tl {\ifmmode!\else{\directlua{tex.globaldefs = 0}\ltj@allalchar!}\fi} + \cs_gset_eq:NN #1 \l_tmpa_tl + } + \ltjsetmathletter{ \int_from_hexadecimal:n {#2} } + \group_end: + } +\group_end: + +\ExplSyntaxOff + +\endinput + + |