OSDN Git Service

compatibility
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Wed, 7 Oct 2015 11:46:30 +0000 (20:46 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Wed, 7 Oct 2015 11:46:30 +0000 (20:46 +0900)
doc/luatexja.dtx
src/luatexja-core.sty

index 40b69f6..1994d0a 100644 (file)
@@ -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}
index 69c4098..85d68dc 100644 (file)
 \fi                             %</LaTeX>
 
 %% 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 で読まないと危険.