X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fltj-latex.sty;h=0176d446a700eab75f8721401965342cd30fc545;hb=0f0921ced2b53537326ad20ce546020b3cae2670;hp=092b7e171b4b68f07ce38f1e283d3893f089978e;hpb=92a4ab1102377226bba23f2e2ef03e4b25b3fe17;p=luatex-ja%2Fluatexja.git diff --git a/src/ltj-latex.sty b/src/ltj-latex.sty index 092b7e1..0176d44 100644 --- a/src/ltj-latex.sty +++ b/src/ltj-latex.sty @@ -12,7 +12,16 @@ \def\luatexjalatexLoaded{\endinput} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{ltj-latex}[2016/08/21 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,8 +78,16 @@ \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}{% + \input{lltjp-fontspec-immediate.sty} + % \RequirePackage だと fontspec にオプション指定したときにエラー出る +} %%------------------ all done