OSDN Git Service

lltjext.sty: plext.sty の挙動変更は parbox のみだった
[luatex-ja/luatexja.git] / src / ltj-latex.sty
index 1a3c54a..c66c208 100644 (file)
 \def\luatexjalatexLoaded{\endinput}
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ltj-latex}[2017/01/28 LaTeX support of LuaTeX-ja]
+\ProvidesPackage{ltj-latex}[2017/03/12 LaTeX support of LuaTeX-ja]
+
+% LaTeX2e 2017/05/01 で行われる対策
+\ifx\document@default@language \@undefined
+  \let\document@default@language\m@ne
+\fi
+\ifx\l@nohyphenation \@undefined
+  \newlanguage\l@nohyphenation
+\fi
 
 % cleanup at end of the document
 %\let\ltj@@orig@end=\@@end