From: Hironori Kitagawa Date: Wed, 7 Oct 2015 11:46:30 +0000 (+0900) Subject: compatibility X-Git-Tag: 20151025.0~9 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8fe88c6a2f97286b70c87d3e570f67ffa27a68fb;p=luatex-ja%2Fluatexja.git compatibility --- diff --git a/doc/luatexja.dtx b/doc/luatexja.dtx index 40b69f6..1994d0a 100644 --- a/doc/luatexja.dtx +++ b/doc/luatexja.dtx @@ -24,7 +24,6 @@ %%%%%%%% fonts \usepackage{luatexja-otf} \directlua{luatexja.otf.enable_ivs()} -\expandafter\let\csname xetex_suppressfontnotfounderror:D\endcsname\suppressfontnotfounderror \usepackage[match]{luatexja-fontspec} \usepackage[kozuka-pr6n]{luatexja-preset} \usepackage{unicode-math} diff --git a/src/luatexja-core.sty b/src/luatexja-core.sty index 69c4098..85d68dc 100644 --- a/src/luatexja-core.sty +++ b/src/luatexja-core.sty @@ -69,6 +69,16 @@ \fi % %% Load prerequisite packages. +\unless\ifdefined\luatexsuppressfontnotfounderror + \ifdefined\suppressfontnotfounderror + \let\luatexsuppressfontnotfounderror\suppressfontnotfounderror + \let\luatexprehyphenchar\prehyphenchar + \let\luatexpreexhyphenchar\preexhyphenchar + \let\luatexposthyphenchar\posthyphenchar + \let\luatexpostexhyphenchar\postexhyphenchar + \fi +\fi + \endlinechar=13 % \newif\ifltj@everyhook@avail\ltj@everyhook@availfalse %! 外部パッケージは普通の \endlinechar で読まないと危険.