summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-09-04 21:45:53 +0000
committerKarl Berry <karl@freefriends.org>2017-09-04 21:45:53 +0000
commitab63f41137a210173bf797f28970ca2591a6cf15 (patch)
tree6666213ffee7637577d6347201f334b992f6896c /Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
parent458a507406076f4746ce1440eca59f981949e0ab (diff)
luatexja (4sep17)
git-svn-id: svn://tug.org/texlive/trunk@45216 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx')
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx13
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx b/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
index 3a5c897f875..3eede3c2a29 100644
--- a/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
+++ b/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
@@ -57,13 +57,21 @@
%<*driver>
\ProvidesFile{ltjsclasses.dtx}
%</driver>
- [2017/03/06 ltjsclasses ]
+ [2017/09/04 ltjsclasses ]
%<*driver>
\IfFileExists{luatex85.sty}{\RequirePackage{luatex85}}{}
\documentclass{ltjsarticle}
\usepackage{hypdoc}
\hypersetup{unicode=true}
-\usepackage[ipaex,nfssonly]{luatexja-preset}
+\begingroup
+ \suppressfontnotfounderror=1
+ \global\font\testfont=file:KozMinPr6N-Regular.otf
+\endgroup
+\ifx\testfont\nullfont
+ \usepackage[ipaex,nfssonly]{luatexja-preset}
+\else
+ \usepackage[kozuka-pr6n,nfssonly]{luatexja-preset}
+\fi
\ltjsetparameter{alxspmode={`\*,allow}}
\ltjsetparameter{alxspmode={`\\,allow}}
%%%%\usepackage{unicode-math}
@@ -1055,6 +1063,7 @@
% \texttt{jsclasses}で行われていた |\textmc|, |\textgt| の再定義は不要のように思われます。
%
% \texttt{jsclasses.dtx}中で行われていた |\reDeclareMathAlphabet| の再定義は削除。
+% また,Yue ZHANGさん作の\texttt{fixjfm}パッケージ対応のコードもLua\TeX-jaでは削除しています.
%
% \begin{macrocode}
\AtBeginDocument{%