X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fltj-latex.sty;h=0176d446a700eab75f8721401965342cd30fc545;hb=0f0921ced2b53537326ad20ce546020b3cae2670;hp=330dd1f06158398281d6d79399adc0d627eebb59;hpb=470c7c12727eda0d1bb1eff447ae33ea9e0fb4c5;p=luatex-ja%2Fluatexja.git diff --git a/src/ltj-latex.sty b/src/ltj-latex.sty index 330dd1f..0176d44 100644 --- a/src/ltj-latex.sty +++ b/src/ltj-latex.sty @@ -12,7 +12,16 @@ \def\luatexjalatexLoaded{\endinput} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ltj-latex}[2017/01/28 LaTeX support of LuaTeX-ja] +\ProvidesPackage{ltj-latex}[2017/06/18 LaTeX support of LuaTeX-ja] + +% LaTeX2e 2017/05/01 で行われる対策 +% 本 sty からは 2018/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 @@ -62,7 +71,6 @@ \ltj@pkgpatch{unicode-math} \ltj@pkgpatch{xunicode} \ltj@pkgpatch{fontspec} -\ltj@pkgpatch{stfloats} \ltj@pkgpatch{footmisc} \ltj@pkgpatch{tascmac} \ltj@AtBeginDocument{\@ifpackageloaded{ascmac}{% @@ -70,11 +78,15 @@ \makeatletter\input{lltjp-tascmac.sty}% \ltj@asc@temp\let\ltj@asc@temp=\relax }{}}% ascmac +\ltj@pkgpatch{stfloats} +\ltj@pkgpatch{preview} +\ltj@pkgpatch{array} \RequirePackage{lltjp-geometry} \RequirePackage{filehook} \AtEndOfPackageFile*{fontspec}{% - \RequirePackage{lltjp-fontspec-immediate} + \input{lltjp-fontspec-immediate.sty} + % \RequirePackage だと fontspec にオプション指定したときにエラー出る }