diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-27 21:56:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-27 21:56:42 +0000 |
commit | f5dc95456cfd50e1e65093613f2dcab3e30b6714 (patch) | |
tree | 1965b1f5cc1ab512d14b1ab5573af1e46fc7a978 /Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx | |
parent | c1881c5c5344914a46d0f06387afcb78981a85c5 (diff) |
luatexja (27jan20)
git-svn-id: svn://tug.org/texlive/trunk@53575 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx')
-rw-r--r-- | Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx b/Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx index 0a5c2b370f3..9d4bf2114a8 100644 --- a/Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx +++ b/Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx @@ -4,8 +4,11 @@ % Original: jltxdoc.dtx % % Copyright 1995,1996,1997 ASCII Corporation. +% Copyright (c) 2010 ASCII MEDIA WORKS +% Copyright (c) 2016 Japanese TeX Development Community +% Copyright (c) 2016-2017 Japanese TeX Development Community % -% This file is part of pLaTeX2e system. +% This file is part of the pLaTeX2e system (community edition). % ------------------------------------- % % \fi @@ -31,7 +34,19 @@ %<*driver> \documentclass{ltjltxdoc} \GetFileInfo{ltjltxdoc.cls} -\usepackage[kozuka-pr6n]{luatexja-preset} +\begingroup + \suppressfontnotfounderror=1 + \global\font\testfont=file:KozMinPr6N-Regular.otf + \global\font\testfonta=file:HaranoAjiMincho-Regular.otf +\endgroup +\ifx\testfonta\nullfont\ifx\testfont\nullfont + \usepackage[ipaex,nfssonly]{luatexja-preset} +\else + \usepackage[kozuka-pr6n,nfssonly]{luatexja-preset} +\fi\else + \usepackage[haranoaji,nfssonly]{luatexja-preset} +\fi +\let\testfont\undefined\let\testfonta\undefined \usepackage{unicode-math} \setmathfont{Latin Modern Math} \title{Lua\LaTeX-jaドキュメント記述用クラス} |