diff options
author | Karl Berry <karl@freefriends.org> | 2014-09-07 01:48:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-09-07 01:48:55 +0000 |
commit | 35d45ab2551e2abe29f6f9c61bbb43bf1507a255 (patch) | |
tree | d8c9f1e4c63f849a69efc2a4eede9e4515065532 /Master/texmf-dist/tex/luatex/luatexja/addons | |
parent | dcab4e9ed6f42f12615b9026353870a071b4f9b1 (diff) |
luatexja (6sep14)
git-svn-id: svn://tug.org/texlive/trunk@35119 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/addons')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/addons/luatexja-ruby.sty | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/addons/luatexja-ruby.sty b/Master/texmf-dist/tex/luatex/luatexja/addons/luatexja-ruby.sty index 57e58947418..1f73ea1b733 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/addons/luatexja-ruby.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/addons/luatexja-ruby.sty @@ -146,7 +146,10 @@ %%%%%%%% TeX command \protected\def\ltjruby{\@ifnextchar[\ltj@@ruby{\ltj@@ruby[]}}%] -\AtBeginDocument{\ifdefined\ruby\else\let\ruby=\ltjruby\fi} +\AtBeginDocument{% + \ifdefined\ruby\else\let\ruby=\ltjruby\fi + \directlua{luatexja.ruby.read_old_break_info()}% +} \def\ltj@@ruby[#1]#2#3{{% #1: option #2: 親文字群,#3: ルビ文字列群,共に| 区切り \setkeys[ltj]{ruby}{#1}% \directlua{ruby_tmplist_r = \string{\string}; ruby_tmplist_p = \string{\string}}% |