summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltj-latex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltj-latex.sty')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltj-latex.sty10
1 files changed, 9 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltj-latex.sty b/Master/texmf-dist/tex/luatex/luatexja/ltj-latex.sty
index 1a3c54a0553..c66c208a036 100644
--- a/Master/texmf-dist/tex/luatex/luatexja/ltj-latex.sty
+++ b/Master/texmf-dist/tex/luatex/luatexja/ltj-latex.sty
@@ -12,7 +12,15 @@
\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