OSDN Git Service

more \verb-related patches
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Mon, 13 Mar 2017 01:29:34 +0000 (10:29 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Mon, 13 Mar 2017 01:29:34 +0000 (10:29 +0900)
src/ltj-latex.sty
src/patches/lltjcore.sty

index a4c4c0b..c66c208 100644 (file)
@@ -15,6 +15,9 @@
 \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
index 1df4fe3..4b9a9c9 100644 (file)
     \dimen\z@\textwidth \textwidth\textheight \textheight\dimen\z@
   \fi
   \let \protect \noexpand
-  %\language\document@default@language LaTeX2e 2017/05/01
+  \language\document@default@language %LaTeX2e 2017/05/01
   \@resetactivechars
   \global\let\@@if@newlist\if@newlist
   \global\@newlistfalse