diff options
author | Karl Berry <karl@freefriends.org> | 2016-04-21 20:58:48 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-04-21 20:58:48 +0000 |
commit | debcb6d2bcbf0ad5742a37d1cdbd7f802346dcb5 (patch) | |
tree | f19b75104294d0fbee431b80acee40862dfc2ed3 /Master/texmf-dist/tex/luatex/luatexja/ltj-base.sty | |
parent | fa7cc6d43746db5802a4d63d29cff6ee619656be (diff) |
luatexja (21apr16)
git-svn-id: svn://tug.org/texlive/trunk@40661 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-base.sty')
-rw-r--r-- | Master/texmf-dist/tex/luatex/luatexja/ltj-base.sty | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-base.sty b/Master/texmf-dist/tex/luatex/luatexja/ltj-base.sty index 75e2b7af65e..1dc744450f0 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltj-base.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-base.sty @@ -134,19 +134,19 @@ %% \ltj@gobble@num <number> %! 次に続く整数を(2 回展開で)読み捨てる. \def\ltj@gobble@num{ - \directlua{luatexja.token.scan_int()} + \directlua{token.scan_int()} } %% \ltj@gobble@glue <glue> %! 次に続くグルー値を(2 回展開で)読み捨てる. \def\ltj@gobble@glue{ - \directlua{luatexja.token.scan_glue()} + \directlua{token.scan_glue()} } %% \ltj@gobble@dimen <dimen> %! 次に続く寸法値を(2 回展開で)読み捨てる. \def\ltj@gobble@dimen{ - \directlua{luatexja.token.scan_dimen()} + \directlua{token.scan_dimen()} } %% \ltj@grab@num <number> @@ -160,7 +160,7 @@ %! (command_name が "assign_int" であるトークン). %! (注意: まだ文字表記(`A)に対応していません.) \def\ltj@grab@num{ - \directlua{tex.sprint('{' .. luatexja.token.scan_int() .. '}')} + \directlua{tex.sprint('{' .. token.scan_int() .. '}')} } %%------------------ Safe passing @@ -213,24 +213,6 @@ } } -%% \ltj@safe@glue{<glue>} -%! グルー値. -% For a glue. The result is a gluespec object. -\def\ltj@safe@glue{ - \ltj@safe@glue@or\ltj@safe@invalid -} -\def\ltj@safe@glue@or#1#2{ - \expandafter\expandafter\expandafter\ltj@@safe@glueA - \ltj@gobble@glue#2\ltj@@safe@end{#2}{#1} -} -\def\ltj@@safe@glueA#1\ltj@@safe@end#2#3{ - \ltj@if@blank{#1}{ - (luatexja.base.to_skip("\the\glueexpr#2\relax")) - }{ - #3 - } -} - %% \ltj@safe@real{<real>} %! 実数. これは十進表記に限る. % For a real number given in decimal notation or a macro that |