OSDN Git Service

ltj-jfmglue.lua: fix around italic correction
[luatex-ja/luatexja.git] / src / ltj-latex.sty
index fe0e69b..922a9c9 100644 (file)
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{ltj-latex}[2013/05/14 LaTeX support of LuaTeX-ja]
 
+% I (HK) don't know why the code below is not necessary.
+%\let\ltj@@orig@end=\@@end
+%\outer\protected\def\@@end{%
+%  \directlua{luatexja.direction.remove_end_whatsit()}\ltj@@orig@end}
+
 % Globally add to the head of a macro (cf. LaTeX2e's \g@addto@macro)
 \long\def\ltj@g@addto@macro#1#2{
   \begingroup
@@ -57,6 +62,7 @@
 \ltj@pkgpatch{unicode-math}
 \ltj@pkgpatch{xunicode}
 \ltj@pkgpatch{fontspec}
+\ltj@pkgpatch{stfloats}
 
 
 %%------------------ all done