OSDN Git Service

fix \ltjsetkanjiskip etc.
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Wed, 14 May 2014 10:52:05 +0000 (19:52 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Thu, 19 Jun 2014 10:52:19 +0000 (19:52 +0900)
src/luatexja-core.sty

index 9982ef8..b4fd007 100644 (file)
   \directlua{%
     local d = \ltj@safe@glue{#1}
     luatexja.stack.set_stack_skip(luatexja.stack_table_index.KSK, d); node.free(d)
-}}
+}\ignorespaces}
 \protected\def\ltjsetxkanjiskip#1{%                  % SKIP
   \directlua{%
     local d = \ltj@safe@glue{#1}
     luatexja.stack.set_stack_skip(luatexja.stack_table_index.XSK, d); node.free(d)
-}}
+}\ignorespaces}
 
 
 % jcharwidowpenalty = <count>
   {\ltj@@getjfontnumber#1%
    \directlua{luatexja.jfont.clear_alt_font(\the\ltj@tempcntc)}}\ignorespaces}
 
-
 %%------------------ Load module for the format
 
 \ifltj@in@latex                 %<*LaTeX>