• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: コミット

ソースコードの管理場所


コミットメタ情報

リビジョン30954aa3527ab6fe40b8572c91f4c2f6b6b8917b (tree)
日時2018-01-14 16:50:42
作者Hironori Kitagawa <h_kitagawa2001@yaho...>
コミッターHironori Kitagawa

ログメッセージ

Merge branch 'cjascale' into kitagawa_test

変更サマリ

差分

Binary files a/doc/ltjclasses.pdf and b/doc/ltjclasses.pdf differ
Binary files a/doc/ltjltxdoc.pdf and b/doc/ltjltxdoc.pdf differ
Binary files a/doc/ltjsclasses.pdf and b/doc/ltjsclasses.pdf differ
Binary files a/doc/luatexja-en.pdf and b/doc/luatexja-en.pdf differ
Binary files a/doc/luatexja-ja.pdf and b/doc/luatexja-ja.pdf differ
--- a/doc/luatexja.dtx
+++ b/doc/luatexja.dtx
@@ -482,7 +482,7 @@ Japanese characters in discretionary break (\cs{discretionary}) is not supported
482482 By default, \LuaTeX-ja uses Japanese fonts to typeset Greek and Cyrillic letters,
483483 To change this behavior,
484484 put \verb!\ltjsetparameter{jacharrange={-2,-3}}! in the preamble.
485- For the detailed description, see Subsection~\ref{ssec-setrange}.
485+ For the detailed description, see Subsection~\ref{ssec:setrange}.
486486
487487 From version~20150906.0, characters which belongs both ISO~8859-1 and JIS~X~0208,
488488 such as \P~and~\S, are now typeset in alphabetic fonts.
@@ -499,7 +499,7 @@ without the \cs{fontspec} (and~\Pkg{luatexja-fontspec}) package.
499499 \end{lstlisting}
500500 を入れると
501501 上記種類の文字は欧文フォントを用いて組まれるようになる.
502- 詳しい説明は\ref{ssec-setrange}節を参照してほしい.
502+ 詳しい説明は\ref{ssec:setrange}節を参照してほしい.
503503
504504 また,\P,~\S といったISO~8859-1の上位領域とJIS~X~0208の共通部分の文字は
505505 バージョン20150906.0から標準で欧文扱いとなった.\LaTeXe\ 2017/01/01以降では
@@ -524,11 +524,11 @@ In this document, the following terms and notations are used:
524524 %<*en>
525525 \item Characters are classified into following two types.
526526 Note that the classification can be customized by a user
527- (see Subsection~\ref{ssec-setrange}).
527+ (see Subsection~\ref{ssec:setrange}).
528528 %</en>
529529 %<*ja>
530530 \item 文字は次の2種類に分けられる.この類別は固定されているものではなく,ユーザが後から変更可能である
531- (\ref{ssec-setrange}節を参照).
531+ (\ref{ssec:setrange}節を参照).
532532 %</ja>
533533 \begin{itemize}
534534 %<*en>
@@ -874,7 +874,7 @@ and finally delete the temporary directory.
874874
875875 %<en>\subsection{Using in plain \TeX}
876876 %<ja>\subsection{plain \TeX で使う}
877-\label{ssec-plain}
877+\label{ssec:plain}
878878
879879 %<en>To use \LuaTeX-ja in plain \TeX, simply put the following at the beginning of the document:
880880 %<ja>\LuaTeX-jaを plain \TeX で使うためには,単に次の行をソースファイルの冒頭に追加すればよい:
@@ -923,11 +923,11 @@ and finally delete the temporary directory.
923923 \begin{itemize}
924924 %<*en>
925925 \item With \texttt{luatexja.cfg}, one can use other fonts
926-as ``default'' Japanese fonts (Subsection~\ref{ssec-cfg}).
926+as ``default'' Japanese fonts (Subsection~\ref{ssec:cfg}).
927927 %</en>
928928 %<*ja>
929929 \item \texttt{luatexja.cfg} を用いることによって,標準和文フォントを
930-IPAexフォントから別のフォントに置き換えることができる.\ref{ssec-cfg}節を参照.
930+IPAexフォントから別のフォントに置き換えることができる.\ref{ssec:cfg}節を参照.
931931 %</ja>
932932
933933 %<*en>
@@ -960,7 +960,7 @@ IPAexフォントから別のフォントに置き換えることができる.
960960
961961 %<en>\subsection{Using in \LaTeX}
962962 %<ja>\subsection{\LaTeX で使う}
963-\label{ssec-ltx}
963+\label{ssec:ltx}
964964
965965 %<*en>
966966 Using in \LaTeXe\ is basically same. To set up the minimal environment
@@ -1213,17 +1213,17 @@ This patch \Pkg{lltjp-geometry} also can be used in \pLaTeX; for the detail, ple
12131213 %<ja>\section{フォントの変更}
12141214
12151215 \subsection{plain \TeX~and~\LaTeXe}
1216-\label{ssec-chgfnt}
1216+\label{ssec:chgfnt}
12171217
12181218 \paragraph{plain \TeX}
12191219 %<*en>
12201220 To change Japanese fonts in plain \TeX, you must use the command
1221-\cs{jfont}~and~\cs{tfont}. So please see Subsection~\ref{ssec-jfont}.
1221+\cs{jfont}~and~\cs{tfont}. So please see Subsection~\ref{ssec:jfont}.
12221222 %</en>
12231223 %<*ja>
12241224 plain \TeX で和文フォントを変更するためには,
12251225 \pTeX のように \cs{jfont} 命令や \cs{tfont} 命令を直接用いる.
1226-\ref{ssec-jfont}節を参照.
1226+\ref{ssec:jfont}節を参照.
12271227 %</ja>
12281228
12291229 \paragraph{\LaTeXe\ (NFSS2)}
@@ -1286,7 +1286,7 @@ auto select&\cs{fontencoding}&\cs{fontfamily}&---&---&\cs{usefont}\\
12861286 alphabetic fonts to \texttt{T1}.
12871287 \cs{fontfamily} also changes the current Japanese font family,
12881288 the current alphabetic font family, \emph{or both}.
1289- For the detail, see Subsection~\ref{ssec-nfsspat}.
1289+ For the detail, see Subsection~\ref{ssec:nfsspat}.
12901290 %</en>
12911291 %<*ja>
12921292 ここで,\verb+\fontencoding{+<encoding>\verb+}+ は,引数により和文側か欧文
@@ -1295,7 +1295,7 @@ auto select&\cs{fontencoding}&\cs{fontfamily}&---&---&\cs{usefont}\\
12951295 \texttt{JY3}に変更し,\verb+\fontencoding{T1}+ は欧文フォント側を
12961296 \texttt{T1}へと変更する.\cs{fontfamily} も引数により和文側,欧文
12971297 側,\emph{あるいは両方}のフォントファミリを変更する.詳細は
1298- \ref{ssec-nfsspat}節を参照すること.
1298+ \ref{ssec:nfsspat}節を参照すること.
12991299 %</ja>
13001300
13011301 %<*en>
@@ -1319,8 +1319,8 @@ auto select&\cs{fontencoding}&\cs{fontfamily}&---&---&\cs{usefont}\\
13191319 \end{lstlisting}
13201320 %<*ja>
13211321 仮名書体を使う場合など,複数の和文フォントを組み合わせて使いたい場合は
1322-\ref{ssec-altfont}節の \cs{ltjdeclarealtfont} と,その\LaTeX 版の\
1323-\cs{DeclareAlternateKanjiFont}(\ref{ssec-nfsspat}節)を参照せよ.
1322+\ref{ssec:altfont}節の \cs{ltjdeclarealtfont} と,その\LaTeX 版の\
1323+\cs{DeclareAlternateKanjiFont}(\ref{ssec:nfsspat}節)を参照せよ.
13241324 %</ja>
13251325
13261326 \end{itemize}
@@ -1376,17 +1376,17 @@ $5\in 素:=\{\,p\in\mathbb N:\text{$p$ is a prime}\,\}$.
13761376 %<*en>
13771377 We also believe that using Japanese characters as identifiers is rare,
13781378 hence we don't describe how to change Japanese fonts in math mode in
1379-this chapter. For the method, please see Subsection~\ref{ssec-math}.
1379+this chapter. For the method, please see Subsection~\ref{ssec:math}.
13801380 %</en>
13811381 %<*ja>
13821382 また\LuaTeX-jaプロジェクトでは,和文文字が識別子として用いられることはほとんどない
13831383 と考えており,したがってこの節では数式モード中の和文フォントを変更する方法については
1384-記述しない.この方法については\ref{ssec-math}節を参照のこと.
1384+記述しない.この方法については\ref{ssec:math}節を参照のこと.
13851385 %</ja>
13861386
13871387 %<en>\subsection{\Pkg{luatexja-fontspec} package}
13881388 %<ja>\subsection{\Pkg{luatexja-fontspec}パッケージ}
1389-\label{ssec-fontspec}
1389+\label{ssec:fontspec}
13901390 %<*en>
13911391 To use the functionality of the \Pkg{fontspec} package to Japanese fonts,
13921392 it is needed to load the \Pkg{luatexja-fontspec} package in the preamble, as follows:
@@ -1487,13 +1487,23 @@ if and only if this \texttt{\textup{match}} option is specified}.
14871487 \item[scale=<float>]
14881488 %<*en>
14891489 Override the ratio of the font size of Japanese fonts to that of alphabetic fonts.
1490-The default value is calculated automatically (for~example, about~0.924865 when
1491- the \Pkg{ltjsarticle} class is used).
1490+The default value is determined as follows:
1491+ \begin{itemize}
1492+ \item The value of \cs{Cjascale} is used, if this control sequence is already defined.
1493+ \item It is calculated automatically from the current Japanese font at the loading of the
1494+ package, if \cs{Cjascale} is not defined.
1495+ \end{itemize}
1496+\cs{Cjascale} is defined in \Pkg{ltjclasses} and \Pkg{ltjsclasses}.
14921497 %</en>
14931498 %<*ja>
1494-欧文に対する和文の比率は,標準では \Pkg{luatexja-fontspec}読み込み時の和欧文比率から
1495-自動計算される(例えば,\Pkg{ltjsarticle}クラス使用時には和文は欧文の約0.924865倍となる)が,
1496-それを手動で上書きするときに使用する.
1499+欧文に対する和文の比率を手動で上書きするときに使用する.
1500+標準では
1501+\begin{itemize}
1502+ \item \cs{Cjascale}が定義されている場合
1503+ \footnote{\LuaTeX-ja が用意しているクラスファイル(\Pkg{ltjclasses},~\Pkg{ltjsclasses})を
1504+ 使う場合はこちらに当てはまる.}は,それを用いる.
1505+ \item \cs{Cjascale}が未定義の場合は,\Pkg{luatexja-fontspec}読み込み時の和文フォントから自動計算される.
1506+\end{itemize}
14971507 %</ja>
14981508 \end{cslist}
14991509
@@ -1613,13 +1623,13 @@ as an external package \Pkg{luatexja-otf}.
16131623
16141624 これら3オプションについては,
16151625 \Pkg{luatexja-preset} パッケージにプリセットを使う時に一緒に指定するか,
1616-あるいは対応する内容を\ref{ssec-chgfnt}節,\ref{ssec-nfsspat}節 (NFSS2) や
1617-\ref{ssec-fontspec}節 (\Pkg{fontspec}) の方法で手動で指定する必要がある.
1626+あるいは対応する内容を\ref{ssec:chgfnt}節,\ref{ssec:nfsspat}節 (NFSS2) や
1627+\ref{ssec:fontspec}節 (\Pkg{fontspec}) の方法で手動で指定する必要がある.
16181628 %</ja>
16191629
16201630 %<en>\subsection{Changing default Japanese fonts}
16211631 %<ja>\subsection{標準和文フォントの変更}
1622-\label{ssec-cfg}
1632+\label{ssec:cfg}
16231633 %<*en>
16241634 If \texttt{luatexja.cfg} can be seen from \LuaTeX, \LuaTeX-ja automatically reads it.
16251635 The main use of \texttt{luatexja.cfg} is for changing default Japanese fonts,
@@ -1690,7 +1700,7 @@ parameters, you have to use commands \cs{ltjsetparameter} and
16901700
16911701 %<en>\subsection{Range of \textbf{JAchar}s}
16921702 %<ja>\subsection{\textbf{JAchar}の範囲}
1693-\label{ssec-setrange}
1703+\label{ssec:setrange}
16941704
16951705 %<*en>
16961706 \LuaTeX-ja divides the Unicode codespace \texttt{U+0080}--\texttt{U+10FFFF}
@@ -2156,10 +2166,10 @@ as follows:
21562166 \ltjsetparameter{alxspmode={`あ,preonly}, jaxspmode={`\!,postonly}}
21572167 \end{lstlisting}
21582168 %<*en>
2159-One can use also numbers to specify these two parameters (see Subsection~\ref{ssec-param}).
2169+One can use also numbers to specify these two parameters (see Subsection~\ref{ssec:param}).
21602170 %</en>
21612171 %<*ja>
2162-また,これら2パラメータには数値で値を指定することもできる(\ref{ssec-param}節を参照).
2172+また,これら2パラメータには数値で値を指定することもできる(\ref{ssec:param}節を参照).
21632173 %</ja>
21642174
21652175 %<*en>
@@ -2367,7 +2377,7 @@ However, the penalty inserted after it is 10 which is the \Param{postbreakpenalt
23672377 \end{quote}
23682378 は,文字コードごとに設定する量である.
23692379
2370-\Pkg{fontspec}パッケージを使う(\ref{ssec-fontspec}節)場合など,
2380+\Pkg{fontspec}パッケージを使う(\ref{ssec:fontspec}節)場合など,
23712381 各種のOpenType featureを適用することもあると思うが,前段落に述べたパラメータ類は,
23722382 \emph{OpenType featureの適用前の文字コードによって適用される.}
23732383 例えば,以下の例において10行目の「ア」は,\verb+hwid+ featureの適用により半角カタカナの「ア」
@@ -2476,7 +2486,7 @@ and \LuaTeX-ja can control these four kinds separately:
24762486 \begin{itemize}
24772487 \item
24782488 \emph{Distinction between \textbf{JAchar} or \textbf{ALchar}}
2479-is controlled by the character range, see Subsection~\ref{ssec-setrange}.
2489+is controlled by the character range, see Subsection~\ref{ssec:setrange}.
24802490 \item
24812491 \emph{Whether the character can be used in a control word}
24822492 is controlled by setting \cs{catcode} to 11~(enabled) or 12~(disabled), as usual.
@@ -2493,7 +2503,7 @@ is controlled by the lowermost bit of the \Param{kcatcode} parameter.
24932503 分割している:
24942504 \begin{description}
24952505 \item[欧文/和文の区別 (\upTeX)]
2496-\cs{ltjdefcharrange} と\textsf{jacharrange}パラメータ(\ref{ssec-setrange}節)
2506+\cs{ltjdefcharrange} と\textsf{jacharrange}パラメータ(\ref{ssec:setrange}節)
24972507 \item[制御綴中に使用可か]
24982508 \LuaTeX 自身の \cs{catcode} でよい
24992509 \item[\Param{jcharwidowpenalty}が挿入可か]
@@ -3252,7 +3262,7 @@ overridden by \LuaTeX-ja, using~\verb+\protected\def+.
32523262 %<ja>\section{フォントメトリックと和文フォント}
32533263 %<en>\subsection{\cs{jfont}}
32543264 %<ja>\subsection{\cs{jfont} 命令}
3255-\label{ssec-jfont}
3265+\label{ssec:jfont}
32563266
32573267 %<*en>
32583268 To load a font as a Japanese font (for horizontal direction), you must use the
@@ -3489,7 +3499,7 @@ because of the compatibility with previous versions of \LuaTeX-ja.
34893499 \autoref{fig:kern-jfm}を参照.
34903500 \begin{itemize}
34913501 \item \emph{\cs{jfont} や,
3492-NFSS2用の命令(\ref{ssec-chgfnt}節,\ref{ssec-nfsspat}節)における指定では
3502+NFSS2用の命令(\ref{ssec:chgfnt}節,\ref{ssec:nfsspat}節)における指定では
34933503 カーニング情報は標準で使用する}ことになっているようである.
34943504 言い換えれば,カーニング情報を使用しない設定にするには,面倒でも
34953505 \begin{lstlisting}
@@ -3686,7 +3696,7 @@ A font defined by~\cs{tfont} differs the following points from that by~\cs{jfont
36863696 }.
36873697 \item さらに,「いかなるscript,~languageでも\texttt{vert}により置換されない」グリフ
36883698 のうち,UAX~\#50で``r''もしくは``Tr''と指定されているものは90度自動回転させる.
3689- \item \ref{ssec-math}節で述べる,数式中の和文フォントには縦組用和文フォントは指定できない.
3699+ \item \ref{ssec:math}節で述べる,数式中の和文フォントには縦組用和文フォントは指定できない.
36903700 \item \texttt{jfm=<name>}\ の部分には縦組用JFMを指定する.
36913701 以下の縦組用JFMが\LuaTeX-jaには同梱されている.%おり,違いを\autoref{tab-difjfm-tate}に示した.
36923702 \begin{description}
@@ -3705,7 +3715,7 @@ A font defined by~\cs{tfont} differs the following points from that by~\cs{jfont
37053715
37063716 %<en>\subsection{Prefix \texttt{psft}}
37073717 %<ja>\subsection{\texttt{psft}プリフィックス}
3708-\label{ssec-psft}
3718+\label{ssec:psft}
37093719 %<*en>
37103720 Besides ``\texttt{file:}''\ and ``\texttt{name:}''\ prefixes which
37113721 are introduced in the \Pkg{luaotfload} package,
@@ -3808,7 +3818,7 @@ Please contact the LuaTeX-ja project team.
38083818
38093819 %<en>\subsection{Structure of a JFM file}
38103820 %<ja>\subsection{JFMファイルの構造}
3811-\label{ssec-jfm-str}
3821+\label{ssec:jfm-str}
38123822 %<en>A JFM file is a Lua script which has only one function call:
38133823 %<ja>JFMファイルはただ一つの関数呼び出しを含むLuaスクリプトである:
38143824 \begin{lstlisting}
@@ -4266,7 +4276,7 @@ we specify <ratio> to $0.25/(0.5+0.25)=1/3$.
42664276 \begin{cslist}[style=standard]
42674277 \item[priority=<priority>]
42684278 \Pkg{luatexja-adjust}による優先順位付き
4269- 行長調整(\ref{ssec-adj}節)において,このグルーの優先度を指定する.許される値は以下の通り:
4279+ 行長調整(\ref{ssec:adj}節)において,このグルーの優先度を指定する.許される値は以下の通り:
42704280 \begin{description}
42714281 \item[バージョン1] $-4$から$+3$の間の整数
42724282 \item[バージョン2以降] $-4$から$+3$の間の整数の2つ組\texttt{\{<stretch>, <shrink>\}}か,
@@ -4315,7 +4325,7 @@ An integer in $[-4,3]$ (treated as 0 if omitted), or
43154325 a pair of these integers \texttt{\{<stretch>, <shrink>\}} (version 2~or~later).
43164326 This is
43174327 used only in line adjustment with priority by \Pkg{luatexja-adjust}
4318-(see Subsection~\ref{ssec-adj}). Higher value means the glue is easy to stretch,
4328+(see Subsection~\ref{ssec:adj}). Higher value means the glue is easy to stretch,
43194329 and is also easy to shrink.
43204330 \item[kanjiskip\_natural=<num>\textrm{, }%
43214331 kanjiskip\_stretch=<num>\textrm{, }kanjiskip\_shrink=<num>]\leavevmode
@@ -4367,7 +4377,7 @@ Hence we have the following result:
43674377
43684378 優先順位付き行長調整が有効であり,かつ現在の文字クラスの文字が
43694379 行末に来た時に,この文字と行末の間には指定された値のいずれかの大きさのカーンが
4370- 挿入される(\autoref{ssec-adj}参照).
4380+ 挿入される(\autoref{ssec:adj}参照).
43714381
43724382 バージョン1における
43734383 \begin{lstlisting}[escapechar=\$]
@@ -4593,7 +4603,7 @@ JFM側で一部の対処ができることにより,\Pkg{jsclasses}のよう
45934603
45944604 %<en>\subsection{Math font family}
45954605 %<ja>\subsection{数式フォントファミリ}
4596-\label{ssec-math}
4606+\label{ssec:math}
45974607
45984608 %<*en>
45994609 \TeX\ handles fonts in math formulas by 16~font families\footnote{Omega,
@@ -4938,7 +4948,7 @@ Then, the position of glyphs is shifted up by
49384948 %<en>\section{Parameters}
49394949 %<ja>\section{パラメータ}
49404950 \subsection{\cs{ltjsetparameter}}
4941-\label{ssec-param}
4951+\label{ssec:param}
49424952
49434953 %<*en>
49444954 As described before, \cs{ltjsetparameter} and \cs{ltjgetparameter} are
@@ -5168,7 +5178,7 @@ The default glue which inserted between two \textbf{JAchar}s.
51685178 Changing current Japanese font does not alter this parameter, as \pTeX.
51695179
51705180 If the natural width of this parameter is \cs{maxdimen}, \LuaTeX-ja uses
5171-the value which is specified in the JFM for current Japanese font (See Subsection~\ref{ssec-jfm-str}).
5181+the value which is specified in the JFM for current Japanese font (See Subsection~\ref{ssec:jfm-str}).
51725182 %</en>
51735183
51745184 \item[\DParam{xkanjiskip}\,=<skip>$^\ast$] [\cs{xkanjiskip}]\
@@ -5184,7 +5194,7 @@ The default glue which inserted between a \textbf{JAchar} and an
51845194 Changing current font does not alter this parameter, as \pTeX.
51855195
51865196 As \Param{kanjiskip}, if the natural width of this parameter is \cs{maxdimen}, \LuaTeX-ja uses
5187-the value which is specified in the JFM for current Japanese font (See Subsection~\ref{ssec-jfm-str}).
5197+the value which is specified in the JFM for current Japanese font (See Subsection~\ref{ssec:jfm-str}).
51885198 %</en>
51895199
51905200
@@ -5213,7 +5223,7 @@ The default value is \texttt{paverage}. \dots
52135223 %</en>
52145224 %<*ja>
52155225 デフォルト値は \texttt{paverage} である.
5216-各々の値による差異の詳細は\ref{ssec-cluster-wa}節の「『右空白』の算出」を参照してほしい.
5226+各々の値による差異の詳細は\ref{ssec:cluster-wa}節の「『右空白』の算出」を参照してほしい.
52175227 %</ja>
52185228
52195229 \item[\DParam{jacharrange}\,=<ranges>]
@@ -5239,7 +5249,7 @@ the behavior of this assignment is undefined.
52395249
52405250
52415251 \subsection{\cs{ltjgetparameter}}
5242-\label{ssec-getpar}
5252+\label{ssec:getpar}
52435253 %<*en>
52445254 \cs{ltjgetparameter} is a control sequence for acquiring parameters. It
52455255 always takes a parameter name as first argument.
@@ -5709,7 +5719,7 @@ As an example, the example above can be improved as follows:
57095719
57105720
57115721 \subsection{\cs{ltjdeclarealtfont}}
5712-\label{ssec-altfont}
5722+\label{ssec:altfont}
57135723 %<*en>
57145724 Using \cs{ltjdeclarealtfont}, one can ``compose'' more than one Japanese fonts.
57155725 This \cs{ltjdeclarealtfont} uses in the following form:
@@ -5778,7 +5788,7 @@ are typeset by \cs{piyo}.
57785788 \subsection{\cs{ltjalchar} と \cs{ltjjachar}}
57795789 文字コードが$\text{<chr\_code>}~(\geq 128=\mathtt{0x80})$の文字を
57805790 \ \cs{char} プリミティブを使い \cs{char}<chr\_code> として出力させると,
5781-その文字の属する文字範囲(\ref{ssec-setrange}節参照)によって
5791+その文字の属する文字範囲(\ref{ssec:setrange}節参照)によって
57825792 \textbf{ALchar}か\textbf{JAchar}か,つまり欧文フォントで出力されるか和文フォントで出力され
57835793 るかが決まる.
57845794
@@ -5789,7 +5799,7 @@ are typeset by \cs{piyo}.
57895799 <chr\_code>が127以下の場合は,\cs{ltjjachar} であっても\textbf{ALchar}として出力されること
57905800 に注意.
57915801
5792-以下は\ref{ssec-setrange}節に載せた例に,\cs{char} の動作を追加したものである.
5802+以下は\ref{ssec:setrange}節に載せた例に,\cs{char} の動作を追加したものである.
57935803 \begin{LTXexample}[width=0.25\textwidth]
57945804 \gtfamily\large % default, ALchar, JAchar
57955805 ¶, \char`¶, \ltjalchar`¶, \ltjjachar`¶\\ % default: ALchar
@@ -5802,19 +5812,19 @@ are typeset by \cs{piyo}.
58025812
58035813 %<en>\subsection{Patch for NFSS2}
58045814 %<ja>\subsection{NFSS2へのパッチ}
5805-\label{ssec-nfsspat}
5815+\label{ssec:nfsspat}
58065816
58075817 %<*en>
58085818 Japanese patch for NFSS2 in \LuaTeX-ja
58095819 is based on \texttt{plfonts.dtx} which plays the same role in \pLaTeXe.
58105820 We will describe
5811-commands which are not described in Subsection~\ref{ssec-chgfnt}.
5821+commands which are not described in Subsection~\ref{ssec:chgfnt}.
58125822 %</en>
58135823 %<*ja>
58145824 \LuaTeX-jaのNFSS2への日本語パッチは
58155825 \pLaTeXe で同様の役割を果たす \texttt{plfonts.dtx} をベースに,
58165826 和文エンコーディングの管理等をLuaで書きなおしたものである.
5817-ここでは\ref{ssec-chgfnt}節で述べていなかった命令について
5827+ここでは\ref{ssec:chgfnt}節で述べていなかった命令について
58185828 記述しておく.
58195829 %</ja>
58205830
@@ -5991,11 +6001,11 @@ character whose character class is zero, instead of `あ'.
59916001 \item[\cs{fontfamily}\{<family>\}]
59926002 %<*en>
59936003 As in \LaTeXe, this command changes current font family (alphabetic, Japanese,~\emph{or both})
5994-to <family>. See Subsection~\ref{ssec-fontfamilycmd} for detail.
6004+to <family>. See Subsection~\ref{ssec:fontfamilycmd} for detail.
59956005 %</en>
59966006 %<*ja>
59976007 元々の\LaTeXe におけるものと同様に,このコマンドは現在のフォントファミリ(欧文,
5998-和文,\emph{もしくは両方})を<family>に変更する.詳細は\ref{ssec-fontfamilycmd}節を参照すること.
6008+和文,\emph{もしくは両方})を<family>に変更する.詳細は\ref{ssec:fontfamilycmd}節を参照すること.
59996009 %</ja>
60006010
60016011
@@ -6018,7 +6028,7 @@ to <family>. See Subsection~\ref{ssec-fontfamilycmd} for detail.
60186028 \item[\cs{DeclareAlternateKanjiFont}\{<base-encoding>\}\{<base-family>\}\{<base-series>\}\{<base-shape>\}\\
60196029 \null\hfill\{<alt-encoding>\}\{<alt-family>\}\{<alt-series>\}\{<alt-shape>\}\{<range>\}]
60206030 %<*ja>
6021-\ref{ssec-altfont}節の\
6031+\ref{ssec:altfont}節の\
60226032 \cs{ltjdeclarealtfont} と同様に,前半の4引数の
60236033 和文フォント(基底フォント)のうち<range>中の文字を
60246034 第5から第8引数の和文フォントを使って組むように指示する.
@@ -6038,7 +6048,7 @@ to <family>. See Subsection~\ref{ssec-fontfamilycmd} for detail.
60386048 \end{itemize}%
60396049 %</ja>
60406050 %<*en>
6041-As \cs{ltjdeclarealtfont}~(Subsection~\ref{ssec-altfont}),
6051+As \cs{ltjdeclarealtfont}~(Subsection~\ref{ssec:altfont}),
60426052 characters in <range> of the Japanese font (we say the \emph{base font})
60436053 which specified by first 4 arguments are typeset
60446054 by the Japanese font which specified by fifth to eighth arguments
@@ -6075,7 +6085,7 @@ Avant Garde (OT1/pag/m/n) に変わっていることがわかる.
60756085
60766086 %<en>\subsection{Detail of \cs{fontfamily} command}
60776087 %<ja>\subsection{\cs{fontfamily}コマンドの詳細}
6078-\label{ssec-fontfamilycmd}
6088+\label{ssec:fontfamilycmd}
60796089 %<*en>
60806090 In this subsection, we describe when \cs{fontfamily}<family> changes current
60816091 Japanese/alphabetic font family. Basically, current Japanese fotn family is changed to
@@ -6312,9 +6322,9 @@ by \cs{input}.
63126322 \cs{input} で読み込み可能である.
63136323 %</ja>
63146324 \subsection{\Pkg{luatexja-fontspec}}
6315-\label{ssec-fontspec2}
6325+\label{ssec:fontspec2}
63166326 %<*en>
6317-As described in Subsection~\ref{ssec-fontspec}, this optional package
6327+As described in Subsection~\ref{ssec:fontspec}, this optional package
63186328 provides the counterparts for several commands defined in the
63196329 \Pkg{fontspec} package (requires \Pkg{fontspec}~v2.4).
63206330 In addition to OpenType font features in the original \Pkg{fontspec},
@@ -6322,7 +6332,7 @@ the following ``font features'' specifications are allowed for
63226332 the commands of Japanese version:
63236333 %</en>
63246334 %<*ja>
6325-\ref{ssec-fontspec}節で述べたように,この追加パッケージは\Pkg{fontspec}%
6335+\ref{ssec:fontspec}節で述べたように,この追加パッケージは\Pkg{fontspec}%
63266336 パッケージで定義されているコマンドに対応する和文フォント用のコマンドを提供する.
63276337
63286338 \Pkg{fontspec}パッケージで指定可能な各種OpenType機能に加えて,和文版のコマンドには
@@ -6336,7 +6346,7 @@ the commands of Japanese version:
63366346 %<*en>
63376347 These 3 keys correspond to \texttt{cid}, \texttt{jfm} and
63386348 \texttt{jfmvar} keys for \cs{jfont}~and~\cs{tfont} respectively.
6339-See Subsections~\ref{ssec-jfont} and \ref{ssec-psft} for details
6349+See Subsections~\ref{ssec:jfont} and \ref{ssec:psft} for details
63406350 of \texttt{cid}, \texttt{jfm} and
63416351 \texttt{jfmvar} keys.
63426352
@@ -6348,8 +6358,8 @@ will be actually used in \texttt{YokoFeatures}~and~\texttt{TateFeatures} keys.
63486358 %<*ja>
63496359 これら3つのキーはそれぞれ \cs{jfont},~\cs{tfont}に対する
63506360 \texttt{cid}, \texttt{jfm}, \texttt{jfmvar}キーとそれぞれ対応する.
6351-\texttt{cid}, \texttt{jfm}, \texttt{jfmvar}キーの詳細は\ref{ssec-jfont}節
6352- と\ref{ssec-psft}節を参照.
6361+\texttt{cid}, \texttt{jfm}, \texttt{jfmvar}キーの詳細は\ref{ssec:jfont}節
6362+ と\ref{ssec:psft}節を参照.
63536363
63546364 \texttt{CID} キーは下の \texttt{NoEmbed} と合わせて用いられたときのみ有効である.
63556365 また,横組用JFMと縦組用JFMは共用できないため,実際に \texttt{JFM} キーを用いる際は
@@ -6360,11 +6370,11 @@ will be actually used in \texttt{YokoFeatures}~and~\texttt{TateFeatures} keys.
63606370 \item[NoEmbed]
63616371 %<*en>
63626372 By specifying this key, one can use ``name-only'' Japanese font which
6363-will not be embedded in the output PDF file. See Subsection~\ref{ssec-psft}.
6373+will not be embedded in the output PDF file. See Subsection~\ref{ssec:psft}.
63646374 %</en>
63656375 %<*ja>
63666376 これを指定することで,PDFに埋め込まれない「名前だけ」のフォントを指定することが
6367-できる.\ref{ssec-psft}節を参照.
6377+できる.\ref{ssec:psft}節を参照.
63686378 %</ja>
63696379
63706380 \begin{figure}[!tb]
@@ -6436,16 +6446,16 @@ A demonstrarion is shown in \autoref{fig:yokotate-fontspec}.
64366446 \item[AltFont]
64376447
64386448 %<*en>
6439-As \cs{ltjdeclarealtfont}~(Subsection~\ref{ssec-altfont}) and
6440-\cs{DeclareAlternateKanjiFont}~(Subsection~\ref{ssec-nfsspat}),
6449+As \cs{ltjdeclarealtfont}~(Subsection~\ref{ssec:altfont}) and
6450+\cs{DeclareAlternateKanjiFont}~(Subsection~\ref{ssec:nfsspat}),
64416451 with this key, one can typeset some Japanese characters
64426452 by a different font and/or using different features.
64436453 The \texttt{AltFont} feature takes a comma-separated list of comma-separated lists,
64446454 as the following:
64456455 %</en>
64466456 %<*ja>
6447-\ref{ssec-altfont}節の \cs{ltjdeclarealtfont} や,
6448-\ref{ssec-nfsspat}節の \cs{DeclareAlternateKanjiFont} と同様に,
6457+\ref{ssec:altfont}節の \cs{ltjdeclarealtfont} や,
6458+\ref{ssec:nfsspat}節の \cs{DeclareAlternateKanjiFont} と同様に,
64496459 このキーを用いると一部の文字を異なったフォントや機能たちを使って組むことができる.
64506460 \texttt{AltFont} キーに指定する値は,次のように二重のコンマ区切りリストである:
64516461 %</ja>
@@ -6545,7 +6555,7 @@ OpenType機能指定は
65456555
65466556
65476557 \subsection{\Pkg{luatexja-otf}}
6548-\label{ssec-ltjotf}
6558+\label{ssec:ltjotf}
65496559 %<*en>
65506560 This optional package supports typesetting glyphs
65516561 by specifying a CID number.
@@ -6651,7 +6661,7 @@ JFMの\texttt{chars}テーブルのエントリとして \verb+'AJ1-xxx'+ の形
66516661 %</ja>
66526662
66536663 \subsection{\Pkg{luatexja-adjust}}
6654-\label{ssec-adj}
6664+\label{ssec:adj}
66556665 \begin{figure}[t]
66566666 \def\sq{%
66576667 \hbox to 1\zw{\hss\fboxsep=-.5\fboxrule\fbox{%
--- a/src/addons/luatexja-fontspec-25c.sty
+++ b/src/addons/luatexja-fontspec-25c.sty
@@ -3,7 +3,7 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{luatexja-fontspec-25c}[2017/05/05 fontspec support of LuaTeX-ja]
6+\ProvidesPackage{luatexja-fontspec-25c}[2017/12/15 fontspec support of LuaTeX-ja]
77 \RequirePackage{l3keys2e,luatexja}
88 \ExplSyntaxOn
99
@@ -140,7 +140,7 @@
140140 }
141141 \clist_set:Nx \g__fontspec_default_fontopts_clist {
142142 YokoFeatures = { JFM=ujis }, TateFeatures = { JFM=ujisv },
143- Scale=\fp_use:N \g_ltj_fontspec_scale_fp, Kerning=Off, Script=CJK,
143+ Scale=\Cjascale, Kerning=Off, Script=CJK,
144144 \g__ltj_fontspec_default_fontopts_clist
145145 }
146146 \prop_set_eq:NN \g__fontspec_fontopts_prop \g__ltj_fontspec_fontopts_prop
--- a/src/addons/luatexja-fontspec.sty
+++ b/src/addons/luatexja-fontspec.sty
@@ -3,17 +3,19 @@
33 %
44
55 \NeedsTeXFormat{LaTeX2e}
6-\ProvidesPackage{luatexja-fontspec}[2017/06/25 fontspec support of LuaTeX-ja]
6+\ProvidesPackage{luatexja-fontspec}[2017/12/31 fontspec support of LuaTeX-ja]
77 \RequirePackage{l3keys2e,luatexja}
88 \ExplSyntaxOn
99
10-%%%%%%%% \g_ltj_fontspec_scale_fp
11-%% Default scale value for jfont.
12-\fp_new:N \g_ltj_fontspec_scale_fp
13-\group_begin:
14-\fontsize{16}{16}\selectfont
15-\fp_gset:Nn \g_ltj_fontspec_scale_fp {\zw / 16}
16-\group_end:
10+\cs_if_exist:NF \Cjascale {
11+ %%%%%%%% \g_ltj_fontspec_scale_fp
12+ %% Default scale value for jfont.
13+ \fp_new:N \g_ltj_fontspec_scale_fp
14+ \group_begin:
15+ \fontsize{16}{16}\selectfont
16+ \cs_gset:Npx \Cjascale { \fp_to_decimal:n {\zw / 16} }
17+ \group_end:
18+}
1719
1820 \bool_new:N \ltj_fontspec_match_bool
1921 \keys_define:nn { luatexja-fontspec }
@@ -22,10 +24,11 @@
2224 match .default:n = true,
2325 pass .code:n = \PassOptionsToPackage{#1} {fontspec},
2426 % 互換性のために残したオプション
25- scale .fp_gset:N = \g_ltj_fontspec_scale_fp,
27+ scale .code:n = \gdef\Cjascale{#1},
2628 unknown .code:n = \PassOptionsToPackage { \l_keys_key_tl } {fontspec},
2729 }
2830 \ProcessKeysOptions{ luatexja-fontspec }
31+
2932 \RequirePackage{fontspec}[2017/01/01]% v2.5c
3033 \RequirePackage{luatexja-fontspec-25c}
3134 %\@ifpackagelater{fontspec}{2017/01/01}%
--- a/src/addons/luatexja-preset.sty
+++ b/src/addons/luatexja-preset.sty
@@ -1,16 +1,10 @@
11 % luatexja-preset.sty
2-\ProvidesPackage{luatexja-preset}[2017/09/04 Japanese font presets]
2+\ProvidesPackage{luatexja-preset}[2017/12/15 Japanese font presets]
33
44 \RequirePackage{expl3,l3keys2e}
55 \RequirePackage{luatexja}
66 \ExplSyntaxOn
77
8-\fp_new:N \g_ltjpreset_scale_fp
9-\group_begin:
10-\fontsize{10}{10}\selectfont
11-\fp_gset:Nn \g_ltjpreset_scale_fp {\zw / 10}
12-\group_end:
13-
148 %% messages
159 \msg_new:nnn { luatexja-preset }{ ltj-fontspec }{
1610 The~ luatexja-fontspec~ package~ is~ loaded~ already.~
@@ -44,7 +38,7 @@
4438 \tl_if_empty:NT \l_tmpa_tl {
4539 \PassOptionsToPackage { \l_tmpa_tl } { luatexja-fontspec }
4640 },
47- scale .fp_gset:N = \g_ltjpreset_scale_fp,
41+ scale .code:n = \gdef\Cjascale{#1},
4842 match .code: n =
4943 \renewcommand\jttdefault{\gtdefault}\@ltj@match@familytrue
5044 \PassOptionsToPackage { match } { luatexja-fontspec },
@@ -450,11 +444,11 @@
450444 \bool_if:NTF \g_ltjpreset_nfssonly_bool {
451445 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
452446 %%%%%%%% nfss only
453- \msg_warning:nnx { luatexja-preset }{ scale }{ \fp_use:N \g_ltjpreset_scale_fp }
447+ \msg_warning:nnx { luatexja-preset }{ scale }{ \Cjascale }
454448
455449 \cs_new:Nn \ltj_preset_declare_font_shape:nnnnnn {
456450 \cs_if_exist:cT { #1/#2/#3/#4/10 } { \cs_undefine:c { #1/#2/#3/#4/10 } }
457- \DeclareFontShape{#1}{#2}{#3}{#4}{ <-> s*[\fp_use:N \g_ltjpreset_scale_fp]
451+ \DeclareFontShape{#1}{#2}{#3}{#4}{ <-> s*[\Cjascale]
458452 { \bool_if:NT \g_ltjpreset_noembed_bool {psft:} #5
459453 ;-kern \tl_use:N \l_ltjpreset_kanji_shape_tl; #6 } } {}
460454 }
@@ -515,10 +509,9 @@
515509 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
516510 %%%%%%%% fontspec
517511 } {
518- \PassOptionsToPackage { scale = \fp_use:N \g_ltjpreset_scale_fp } { luatexja-fontspec }
519512 \RequirePackage{luatexja-fontspec}
520513 % scale
521- \msg_warning:nnx { luatexja-preset }{ scale }{ \fp_use:N \g_ltj_fontspec_scale_fp }
514+ \msg_warning:nnx { luatexja-preset }{ scale }{ \Cjascale }
522515 \tl_new:N \l_ltjpreset_add_features_tl
523516
524517 \bool_if:NT \g_ltjpreset_expert_bool {
--- a/src/ltjarticle.cls
+++ b/src/ltjarticle.cls
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesClass{ltjarticle}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja class]
2828 \RequirePackage{luatexja}
2929 \newcounter{@paper}
@@ -133,6 +133,7 @@
133133 'ltj.jclasses_load_jfm', 1)}
134134 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
135135 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
136+\def\Cjascale{0.962216}
136137 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
137138 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
138139 \ltjglobalsetparameter{differentjfm=both}
--- a/src/ltjbk10.clo
+++ b/src/ltjbk10.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjbk10.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xpt{15}%
--- a/src/ltjbk11.clo
+++ b/src/ltjbk11.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjbk11.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xipt{15.5}%
--- a/src/ltjbk12.clo
+++ b/src/ltjbk12.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjbk12.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xiipt{16.5}%
--- a/src/ltjbook.cls
+++ b/src/ltjbook.cls
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesClass{ltjbook}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja class]
2828 \RequirePackage{luatexja}
2929 \newcounter{@paper}
@@ -143,6 +143,7 @@
143143 'ltj.jclasses_load_jfm', 1)}
144144 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
145145 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
146+\def\Cjascale{0.962216}
146147 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
147148 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
148149 \ltjglobalsetparameter{differentjfm=both}
--- a/src/ltjclasses.dtx
+++ b/src/ltjclasses.dtx
@@ -114,6 +114,7 @@
114114 % それを用いるように変更(PDFサイズ削減のため).}
115115 % \changes{v1.7f}{2017/08/31}{和文書体の基準を全角空白から「漢」に変更}
116116 % \changes{v1.7g}{2017/09/19}{内部処理で使ったボックス0を空にした}
117+% \changes{v1.7g-ltj-16}{2017/12/31}{\cs{Cjascale}追加}
117118 % \fi
118119 %
119120 % \iffalse
@@ -143,7 +144,7 @@
143144 %<11pt&bk>\ProvidesFile{ltjtbk11.clo}
144145 %<12pt&bk>\ProvidesFile{ltjtbk12.clo}
145146 %</tate>
146- [2017/09/19 v1.7g-ltj-15
147+ [2017/12/31 v1.7g-ltj-16
147148 %<article|report|book> Standard LuaLaTeX-ja class]
148149 %<10pt|11pt|12pt> Standard LuaLaTeX-ja file (size option)]
149150 %<*driver>
@@ -583,6 +584,10 @@
583584 % \changes{v1.6-ltj-9}{2015/01/01}{サイズクラスのロード前にメトリックの変更を行わないと,
584585 % \cs{Cht}等の値が反映されないのでこの場所に移動させました.}
585586 %
587+% \changes{v1.6g-ltj-16}{2017/12/31}{\cs{Cjascale}を追加しました。
588+% これは、コミュニティ版p\kern-.05em\LaTeX で導入された、
589+% 和文スケール($1\,\cs{zw} \div \hbox{要求サイズ}$)を表す実数値マクロです。}
590+%
586591 % \begin{macrocode}
587592 %<*article|report|book>
588593 \directlua{luatexbase.add_to_callback('luatexja.load_jfm',
@@ -590,6 +595,7 @@
590595 'ltj.jclasses_load_jfm', 1)}
591596 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
592597 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
598+\def\Cjascale{0.962216}
593599 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
594600 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
595601 \ltjglobalsetparameter{differentjfm=both}
--- a/src/ltjltxdoc.cls
+++ b/src/ltjltxdoc.cls
@@ -39,11 +39,12 @@
3939 %%
4040
4141 \NeedsTeXFormat{LaTeX2e}
42-\ProvidesClass{ltjltxdoc}[2011/10/03 v1.0b-ltj Standard LuaLaTeX-ja file]
42+\ProvidesClass{ltjltxdoc}[2018/01/01 v1.0d-ltj-3 Standard LuaLaTeX-ja file]
4343 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ltxdoc}}
4444 \ProcessOptions
4545 \LoadClass{ltxdoc}
4646 \RequirePackage{luatexja}
47+\def\Cjascale{0.962216}
4748 \renewcommand{\normalsize}{%
4849 \@setfontsize\normalsize\@xpt{15}%
4950 \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
@@ -82,6 +83,10 @@
8283 \vskip.5\baselineskip
8384 \hrule height.1pt\egroup
8485 \hss\vrule width.1pt\egroup}
86+\def\verb{\relax\ifmmode\hbox\else\leavevmode\vadjust{}\fi
87+ \bgroup \let\do\do@noligs \verbatim@nolig@list
88+ \ttfamily \verb@eol@error \let\do\@makeother \dospecials
89+ \@ifstar{\@sverb}{\@vobeyspaces \frenchspacing \@sverb}}
8590 \ltjsetparameter{alxspmode={"5C,3}} %% \
8691 \ltjsetparameter{alxspmode={"22,3}} %% "
8792 \def\mod@math@codes{\mathcode`\|="207C \mathcode`\&="2026
--- a/src/ltjltxdoc.dtx
+++ b/src/ltjltxdoc.dtx
@@ -10,24 +10,6 @@
1010 %
1111 % \fi
1212 %
13-% \CheckSum{151}
14-%% \CharacterTable
15-%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
16-%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
17-%% Digits \0\1\2\3\4\5\6\7\8\9
18-%% Exclamation \! Double quote \" Hash (number) \#
19-%% Dollar \$ Percent \% Ampersand \&
20-%% Acute accent \' Left paren \( Right paren \)
21-%% Asterisk \* Plus \+ Comma \,
22-%% Minus \- Point \. Solidus \/
23-%% Colon \: Semicolon \; Less than \<
24-%% Equals \= Greater than \> Question mark \?
25-%% Commercial at \@ Left bracket \[ Backslash \\
26-%% Right bracket \] Circumflex \^ Underscore \_
27-%% Grave accent \` Left brace \{ Vertical bar \|
28-%% Right brace \} Tilde \~}
29-%%
30-%
3113 % \setcounter{StandardModuleDepth}{1}
3214 % \StopEventually{}
3315 %
@@ -39,12 +21,13 @@
3921 % \changes{v1.0b-ltj-2}{2014/07/03}{orを意味する縦棒の出力が異常だったので修正}
4022 % \changes{v1.0c}{2016/07/25}{docパッケージが上書きする\cs{verb}を再々定義}
4123 % \changes{v1.0d}{2017/09/24}{\cs{vadjust\{\}}を追加}
24+% \changes{v1.0d-ltj-3}{2018/01/01}{\cs{Cjascale}を追加}
4225 % \fi
4326 %
4427 % \iffalse
4528 %<class>
4629 %<class>\NeedsTeXFormat{LaTeX2e}
47-%<class>\ProvidesClass{ltjltxdoc}[2017/09/24 v1.0d-ltj-2 Standard LuaLaTeX-ja file]
30+%<class>\ProvidesClass{ltjltxdoc}[2018/01/01 v1.0d-ltj-3 Standard LuaLaTeX-ja file]
4831 %<*driver>
4932 \documentclass{ltjltxdoc}
5033 \GetFileInfo{ltjltxdoc.cls}
@@ -70,8 +53,14 @@
7053 \LoadClass{ltxdoc}
7154 % \end{macrocode}
7255 % \file{ltxdoc}の読み込み後に\file{luatexja}を読み込みます。
56+%
57+% \changes{v1.60d-ltj-3}{2018/01/01}{\cs{Cjascale}を追加しました。
58+% これは、コミュニティ版p\kern-.05em\LaTeX で導入された、
59+% 和文スケール($1\,\cs{zw} \div \hbox{要求サイズ}$)を表す実数値マクロです。}
60+%
7361 % \begin{macrocode}
7462 \RequirePackage{luatexja}
63+\def\Cjascale{0.962216}
7564 % \end{macrocode}
7665 %
7766 % \begin{macro}{\normalsize}
--- a/src/ltjreport.cls
+++ b/src/ltjreport.cls
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesClass{ltjreport}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja class]
2828 \RequirePackage{luatexja}
2929 \newcounter{@paper}
@@ -141,6 +141,7 @@
141141 'ltj.jclasses_load_jfm', 1)}
142142 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
143143 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
144+\def\Cjascale{0.962216}
144145 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
145146 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
146147 \ltjglobalsetparameter{differentjfm=both}
--- a/src/ltjsarticle.cls
+++ b/src/ltjsarticle.cls
@@ -318,21 +318,22 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
318318 \setlength{\pageheight}{\paperheight}
319319 \fi
320320 \fi
321+ \def\Cjascale{0.924715}
321322 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
322323 \ifmingoth
323- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=min}{}
324- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=min}{}
324+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=min}{}
325+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=min}{}
325326 \else
326327 \ifptexjis
327- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=jis}{}
328- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=jis}{}
328+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=jis}{}
329+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=jis}{}
329330 \else
330- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujis}{}
331- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujis}{}
331+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujis}{}
332+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujis}{}
332333 \fi
333334 \fi
334-\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujisv}{}
335-\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujisv}{}
335+\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujisv}{}
336+\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujisv}{}
336337 \DeclareFontShape{JY3}{mc}{bx}{n}{<->ssub*gt/m/n}{}
337338 \DeclareFontShape{JY3}{gt}{bx}{n}{<->ssub*gt/m/n}{}
338339 \DeclareFontShape{JY3}{mc}{m}{it}{<->ssub*mc/m/n}{}
--- a/src/ltjsbook.cls
+++ b/src/ltjsbook.cls
@@ -326,21 +326,22 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
326326 \setlength{\pageheight}{\paperheight}
327327 \fi
328328 \fi
329+ \def\Cjascale{0.924715}
329330 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
330331 \ifmingoth
331- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=min}{}
332- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=min}{}
332+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=min}{}
333+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=min}{}
333334 \else
334335 \ifptexjis
335- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=jis}{}
336- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=jis}{}
336+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=jis}{}
337+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=jis}{}
337338 \else
338- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujis}{}
339- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujis}{}
339+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujis}{}
340+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujis}{}
340341 \fi
341342 \fi
342-\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujisv}{}
343-\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujisv}{}
343+\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujisv}{}
344+\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujisv}{}
344345 \DeclareFontShape{JY3}{mc}{bx}{n}{<->ssub*gt/m/n}{}
345346 \DeclareFontShape{JY3}{gt}{bx}{n}{<->ssub*gt/m/n}{}
346347 \DeclareFontShape{JY3}{mc}{m}{it}{<->ssub*mc/m/n}{}
--- a/src/ltjsclasses.dtx
+++ b/src/ltjsclasses.dtx
@@ -966,23 +966,7 @@
966966 %
967967 % [2016-03-21 LTJ] 拡大率の計算で1~ptを$1/72.27$インチでなく0.3514~mmと間違えて扱っていたのを修正。
968968 % \begin{macrocode}
969-%<*!jspf>
970-\expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
971-\ifmingoth
972- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=min}{}
973- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=min}{}
974-\else
975- \ifptexjis
976- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=jis}{}
977- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=jis}{}
978- \else
979- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujis}{}
980- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujis}{}
981- \fi
982-\fi
983-\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujisv}{}
984-\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujisv}{}
985-%</!jspf>
969+%<!jspf> \def\Cjascale{0.924715}
986970 % \end{macrocode}
987971 %
988972 % これにより,公称10ポイントの和文フォントを0.924715倍したことにより,
@@ -995,23 +979,27 @@
995979 % $0.9*72.27/72 \simeq 0.903375$ 倍します。
996980 %
997981 % \begin{macrocode}
998-%<*jspf>
982+%<jspf> \def\Cjascale{0.903375}
983+% \end{macrocode}
984+%
985+% 実際にフォントの再定義を行う部分です.
986+%
987+% \begin{macrocode}
999988 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
1000989 \ifmingoth
1001- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.903375] \ltj@stdmcfont:jfm=min}{}
1002- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.903375] \ltj@stdgtfont:jfm=min}{}
990+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=min}{}
991+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=min}{}
1003992 \else
1004993 \ifptexjis
1005- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.903375] \ltj@stdmcfont:jfm=jis}{}
1006- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.903375] \ltj@stdgtfont:jfm=jis}{}
994+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=jis}{}
995+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=jis}{}
1007996 \else
1008- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.903375] \ltj@stdmcfont:jfm=ujis}{}
1009- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.903375] \ltj@stdgtfont:jfm=ujis}{}
997+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujis}{}
998+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujis}{}
1010999 \fi
10111000 \fi
1012-\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [0.903375] \ltj@stdmcfont:jfm=ujisv}{}
1013-\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [0.903375] \ltj@stdgtfont:jfm=ujisv}{}
1014-%</jspf>
1001+\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujisv}{}
1002+\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujisv}{}
10151003 % \end{macrocode}
10161004 %
10171005 % 和文でイタリック体,斜体,サンセリフ体,
--- a/src/ltjsize10.clo
+++ b/src/ltjsize10.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjsize10.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xpt{15}%
--- a/src/ltjsize11.clo
+++ b/src/ltjsize11.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjsize11.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xipt{15.5}%
--- a/src/ltjsize12.clo
+++ b/src/ltjsize12.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjsize12.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xiipt{16.5}%
--- a/src/ltjskiyou.cls
+++ b/src/ltjskiyou.cls
@@ -318,21 +318,22 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
318318 \setlength{\pageheight}{\paperheight}
319319 \fi
320320 \fi
321+ \def\Cjascale{0.924715}
321322 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
322323 \ifmingoth
323- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=min}{}
324- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=min}{}
324+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=min}{}
325+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=min}{}
325326 \else
326327 \ifptexjis
327- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=jis}{}
328- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=jis}{}
328+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=jis}{}
329+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=jis}{}
329330 \else
330- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujis}{}
331- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujis}{}
331+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujis}{}
332+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujis}{}
332333 \fi
333334 \fi
334-\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujisv}{}
335-\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujisv}{}
335+\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujisv}{}
336+\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujisv}{}
336337 \DeclareFontShape{JY3}{mc}{bx}{n}{<->ssub*gt/m/n}{}
337338 \DeclareFontShape{JY3}{gt}{bx}{n}{<->ssub*gt/m/n}{}
338339 \DeclareFontShape{JY3}{mc}{m}{it}{<->ssub*mc/m/n}{}
--- a/src/ltjspf.cls
+++ b/src/ltjspf.cls
@@ -317,21 +317,22 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
317317 \setlength{\pageheight}{\paperheight}
318318 \fi
319319 \fi
320+ \def\Cjascale{0.903375}
320321 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
321322 \ifmingoth
322- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.903375] \ltj@stdmcfont:jfm=min}{}
323- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.903375] \ltj@stdgtfont:jfm=min}{}
323+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=min}{}
324+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=min}{}
324325 \else
325326 \ifptexjis
326- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.903375] \ltj@stdmcfont:jfm=jis}{}
327- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.903375] \ltj@stdgtfont:jfm=jis}{}
327+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=jis}{}
328+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=jis}{}
328329 \else
329- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.903375] \ltj@stdmcfont:jfm=ujis}{}
330- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.903375] \ltj@stdgtfont:jfm=ujis}{}
330+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujis}{}
331+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujis}{}
331332 \fi
332333 \fi
333-\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [0.903375] \ltj@stdmcfont:jfm=ujisv}{}
334-\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [0.903375] \ltj@stdgtfont:jfm=ujisv}{}
334+\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujisv}{}
335+\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujisv}{}
335336 \DeclareFontShape{JY3}{mc}{bx}{n}{<->ssub*gt/m/n}{}
336337 \DeclareFontShape{JY3}{gt}{bx}{n}{<->ssub*gt/m/n}{}
337338 \DeclareFontShape{JY3}{mc}{m}{it}{<->ssub*mc/m/n}{}
--- a/src/ltjsreport.cls
+++ b/src/ltjsreport.cls
@@ -322,21 +322,22 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}%
322322 \setlength{\pageheight}{\paperheight}
323323 \fi
324324 \fi
325+ \def\Cjascale{0.924715}
325326 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
326327 \ifmingoth
327- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=min}{}
328- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=min}{}
328+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=min}{}
329+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=min}{}
329330 \else
330331 \ifptexjis
331- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=jis}{}
332- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=jis}{}
332+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=jis}{}
333+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=jis}{}
333334 \else
334- \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujis}{}
335- \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujis}{}
335+ \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujis}{}
336+ \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujis}{}
336337 \fi
337338 \fi
338-\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [0.924715] \ltj@stdmcfont:jfm=ujisv}{}
339-\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [0.924715] \ltj@stdgtfont:jfm=ujisv}{}
339+\DeclareFontShape{JT3}{mc}{m}{n}{<-> s * [\Cjascale] \ltj@stdmcfont:jfm=ujisv}{}
340+\DeclareFontShape{JT3}{gt}{m}{n}{<-> s * [\Cjascale] \ltj@stdgtfont:jfm=ujisv}{}
340341 \DeclareFontShape{JY3}{mc}{bx}{n}{<->ssub*gt/m/n}{}
341342 \DeclareFontShape{JY3}{gt}{bx}{n}{<->ssub*gt/m/n}{}
342343 \DeclareFontShape{JY3}{mc}{m}{it}{<->ssub*mc/m/n}{}
--- a/src/ltjtarticle.cls
+++ b/src/ltjtarticle.cls
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesClass{ltjtarticle}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja class]
2828 \RequirePackage{luatexja}
2929 \newcounter{@paper}
@@ -144,6 +144,7 @@
144144 'ltj.jclasses_load_jfm', 1)}
145145 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
146146 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
147+\def\Cjascale{0.962216}
147148 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
148149 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
149150 \ltjglobalsetparameter{differentjfm=both}
--- a/src/ltjtbk10.clo
+++ b/src/ltjtbk10.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjtbk10.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xpt{17}%
--- a/src/ltjtbk11.clo
+++ b/src/ltjtbk11.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjtbk11.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xipt{17}%
--- a/src/ltjtbk12.clo
+++ b/src/ltjtbk12.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjtbk12.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xiipt{18}%
--- a/src/ltjtbook.cls
+++ b/src/ltjtbook.cls
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesClass{ltjtbook}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja class]
2828 \RequirePackage{luatexja}
2929 \newcounter{@paper}
@@ -154,6 +154,7 @@
154154 'ltj.jclasses_load_jfm', 1)}
155155 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
156156 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
157+\def\Cjascale{0.962216}
157158 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
158159 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
159160 \ltjglobalsetparameter{differentjfm=both}
--- a/src/ltjtreport.cls
+++ b/src/ltjtreport.cls
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesClass{ltjtreport}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja class]
2828 \RequirePackage{luatexja}
2929 \newcounter{@paper}
@@ -152,6 +152,7 @@
152152 'ltj.jclasses_load_jfm', 1)}
153153 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
154154 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
155+\def\Cjascale{0.962216}
155156 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
156157 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
157158 \ltjglobalsetparameter{differentjfm=both}
--- a/src/ltjtsize10.clo
+++ b/src/ltjtsize10.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjtsize10.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xpt{17}%
--- a/src/ltjtsize11.clo
+++ b/src/ltjtsize11.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjtsize11.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xipt{17}%
--- a/src/ltjtsize12.clo
+++ b/src/ltjtsize12.clo
@@ -23,7 +23,7 @@
2323 %% File: ltjclasses.dtx
2424 \NeedsTeXFormat{LaTeX2e}
2525 \ProvidesFile{ltjtsize12.clo}
26- [2017/09/19 v1.7g-ltj-15
26+ [2017/12/31 v1.7g-ltj-16
2727 Standard LuaLaTeX-ja file (size option)]
2828 \renewcommand{\normalsize}{%
2929 \@setfontsize\normalsize\@xiipt{18}%
旧リポジトリブラウザで表示