%<en>\paragraph{Kozuka fonts}
%<ja>\paragraph{小塚フォント}
%<*en>
-When using single weight, we adopt Kozuka~Gothic~M as \textit{gothic},
-because we think that Kozuka~Gothic~R looks thin.
There is not `Kozuka Maru Gothic', therefore Kozuka~Gothic~H is used
as a substitute for \textit{rounded gothic}.
%</en>
%<*ja>
-まず,小塚フォントを用いる設定を述べる.
-単ウェイト時のゴシック体は小塚ゴシックRでは細いように感じるので,
-小塚ゴシックMに変更している.
-さらに,丸ゴシック体はないので便宜上小塚ゴシックHで代用している.
+丸ゴシック体はないので便宜上小塚ゴシックHで代用している.
%</ja>
\begin{center}\small
\begin{tabular}{llll}
\toprule
-&\tt kozuka4&\tt kozuka6&\tt kozuka6n\\
+&\tt kozuka-pro&\tt kozuka-pr6&\tt kozuka-pr6n\\
\midrule
%<*en>
\bf mincho medium&Kozuka Mincho Pro R&Kozuka Mincho ProVI R&Kozuka Mincho Pr6N R\\
\bf gothic medium\\
without \texttt{deluxe}
&Kozuka Gothic Pro M&Kozuka Gothic ProVI M&Kozuka Gothic Pr6N M\\
- multiple weights
+ with \texttt{deluxe}
&Kozuka Gothic Pro R&Kozuka Gothic ProVI R&Kozuka Gothic Pr6N R\\
\midrule
\bf gothic bold
\end{tabular}
\end{center}
-%<en>\paragraph{Hiragino and Morisawa}
-%<ja>\paragraph{ヒラギノ・モリサワ}
-%<*en>
-Settings for Hiragino fonts:
-%</en>
-%<*ja>
-まずヒラギノフォントから:
-%</ja>
-% これらは持っているわけではないので,フォント名が
-% 異なっているかもしれません.確認お願いします.
+%<en>\paragraph{Hiragino and Morisawa}\
+%<ja>\paragraph{ヒラギノ・モリサワ}\
\begin{center}\small
\begin{tabular}{lll}
\toprule
-&\tt hiragino&\tt hiraginon\\
+&\tt hiragino-pro&\tt hiragino-pron\\
\midrule
%<*en>
\bf mincho medium&
Hiragino Mincho Pro W3&Hiragino Mincho Pr6N W3\\
\bf mincho bold&
Hiragino Mincho Pro W6&Hiragino Mincho Pr6N W6\\
-\bf gothic medium&
-Hiragino Kaku Gothic Pro W3&Hiragino Kaku Gothic ProN W3\\
+\midrule
+\bf gothic medium\\
+ without \texttt{deluxe}
+&Hiragino Kaku Gothic Pro W6&Hiragino Kaku Gothic ProN W6\\
+ with \texttt{deluxe}
+&Hiragino Kaku Gothic Pro W3&Hiragino Kaku Gothic ProN W3\\
+\midrule
\bf gothic bold&
Hiragino Kaku Gothic Pro W6&Hiragino Kaku Gothic ProN W6\\
\bf gothic heavy&
ヒラギノ明朝体Pro~W3&ヒラギノ明朝体Pr6N~W3\\
\gt 明朝体太字&
ヒラギノ明朝体Pro~W6&ヒラギノ明朝体Pr6N~W6\\
-\gt ゴシック体細字&
-ヒラギノ角ゴPro~W3&ヒラギノ角ゴProN~W3\\
+\midrule
+\gt ゴシック体細細字\\
+ 単ウェイト時
+&ヒラギノ角ゴPro~W6&ヒラギノ角ゴProN~W6\\
+ 多ウェイト時
+&ヒラギノ角ゴPro~W3&ヒラギノ角ゴProN~W3\\
+\midrule
\gt ゴシック体太字&
ヒラギノ角ゴPro~W6&ヒラギノ角ゴProN~W6\\
\gt ゴシック体極太&
\gt 丸ゴシック体&
ヒラギノ丸ゴPro~W4&ヒラギノ丸ゴProN~W4\\
%</ja>
-\bottomrule
-\end{tabular}
-\end{center}
-%<*en>
-Settings for Morisawa fonts:
-%</en>
-%<*ja>
-次はモリサワフォントを用いる設定である:
-%</ja>
-\begin{center}\small
-\begin{tabular}{lll}
-\toprule
-&\tt morisawa4&\tt morisawa6n\\
+\midrule
+\midrule
+&\tt morisawa-pro&\tt morisawa-pr6n\\
\midrule
%<*en>
\bf mincho medium&
\begin{center}\small
\begin{tabular}{llll}
\toprule
-&\tt ipa-dx&\tt ipaex-dx&\tt ms-dx\\
+&\tt ipa-hg&\tt ipaex-hg&\tt ms-hg\\
\midrule
%<*en>
\bf mincho medium
%<*en>
Furthermore, \LuaTeX-ja uses several `user-defined' whatsit nodes for
inrernal processing. All those nodes store a natural number (hence the node's
-\texttt{type} is 100). The following \verb+user_id+s are used:
+\texttt{type} is 100).
%</en>
%<*ja>
-さらに,\LuaTeX-jaはいくつかの「ユーザ定義の」whatsit ノードを内部処理に用いる.
+さらに,\LuaTeX-jaはいくつかの「ユーザ定義の」whatsitノードを内部処理に用いる.
これらの全てのノードは自然数を格納している(したがってノードの\texttt{type}は
-100である).次の \verb+user_id+ が使用される:
+100である).
%</ja>
\begin{description}
-\item[30111]
+\item[\texttt{inhibitglue}]
%<*en>
Nodes for indicating that \verb+\inhibitglue+ is
specified. The \texttt{value} field of these nodes doesn't matter.
\texttt{value}フィールドは意味を持たない.
%</ja>
-\item[30112]
+\item[\texttt{stack\_marker}]
%<*en>
Nodes for \LuaTeX-ja's stack system (see the next
subsection). The \texttt{value} field of these nodes is
これらのノードの\texttt{value}フィールドは現在のグループを表す.
%</ja>
-\item[30113]
+\item[\texttt{char\_by\_cid}]
%<*en>
Nodes for Japanese Characters which the callback process of
\Pkg{luaotfload} won't be applied, and the character code is
\Pkg{luatexja-otf} パッケージでのみ使用される.
%</ja>
-\item[30114]
+\item[\texttt{begin\_par}]
Nodes for indicating beginning of a paragraph.
A paragraph which is started by \verb+\item+ in list-like environments has a horizontal box
for its label before the actual contents. So \dots
local userid_table = {}
luatexja.userid_table = userid_table
-userid_table.IHB = 30111 -- \inhibitglue
-userid_table.STCK = 30112 -- スタック管理
-userid_table.OTF = 30113 -- luatexja-otf
-userid_table.BPAR = 30114 -- 「段落始め」
-
+userid_table.IHB = luatexbase.newuserwhatsit('inhibitglue', 'luatexja') -- \inhibitglue
+userid_table.STCK = luatexbase.newuserwhatsit('stack_marker', 'luatexja') -- スタック管理
+userid_table.OTF = luatexbase.newuserwhatsit('char_by_cid', 'luatexja') -- luatexja-otf
+userid_table.BPAR = luatexbase.newuserwhatsit('begin_par', 'luatexja') -- 「段落始め」
--- 定義終わり
c=0
end
if k == 'jacharrange' then
- if c>=7*ltjc.ATTR_RANGE then
+ if c>=31*ltjc.ATTR_RANGE then
ltjb.package_error('luatexja',
'invalid character range number (' .. c .. ')',
'A character range number should be in the range 0..'
- .. 7+ATTR_RANGE-1 .. ",\n"..
+ .. 31*ltjc.ATTR_RANGE-1 .. ",\n"..
'So I changed this one to zero.')
c=0
end