OSDN Git Service

Use "CJKShape=NLC" for 'hiragino-pron" preset, instead of "CJKShape=JIS2004" (untested!)
[luatex-ja/luatexja.git] / doc / luatexja.dtx
index 1c8c2fc..b57cf9e 100644 (file)
@@ -1,6 +1,11 @@
 %<*!showexpl>
 %#! lualatex -shell-escape
 
+% To typeset this manual, you need following two fonts:
+%  - KozMinPr6N-Regular.otf
+%  - KozGoPr6N-Medium.otf
+
+
 %<en>\documentclass[a4paper,titlepage]{article}
 %<ja>\documentclass[a4paper,titlepage]{ltjsarticle}
 
 \usepackage[margin=25mm,footskip=6mm]{geometry}
 \usepackage{luatexja-adjust}\ltjdisableadjust
 \parskip=\smallskipamount
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+                                    {3.25ex \@plus1ex \@minus.2ex}%
+                                    {-1em}%
+                                    {\normalfont\normalsize\bfseries\raisebox{.2ex}{$\mdlgblksquare\mkern1mu$}}}
 %</en>
 %<*ja>
 \usepackage[textwidth=45\zw, lines=45, footskip=6mm]{geometry}
@@ -34,7 +43,7 @@
 \advance\leftmargini-1\zw\advance\leftmarginii-1\zw
 %</ja>
 
-\usepackage{amsmath,tikz,pict2e,multienum,float}
+\usepackage{amsmath,array,tikz,pict2e,multienum,float}
 \usepackage{booktabs,multicol}
 
 %%%%%%%% listings
 
 %%%%%%%% fonts
 \usepackage{luatexja-otf}
-\usepackage[jis2004]{luatexja-preset}
-%<!en>\usepackage{amssymb}
+\usepackage[kozuka-pr6n]{luatexja-preset}
+%<*ja>
+\def\emph#1{\textbf{\textgt{#1}}}
+\def\headfont{\normalfont\bfseries\gtfamily}
+\usepackage{amssymb}
+%</ja>
 %<*en>
 \usepackage{unicode-math}
 \setmainfont[Ligatures=TeX]{TeX Gyre Termes}
-\setsansfont[Ligatures=TeX]{TeX Gyre Heros}
+\setsansfont[Scale=0.95,Ligatures=TeX]{TeX Gyre Heros}
 \setmathfont{xits-math.otf}
 \frenchspacing
 %</en>
+\DeclareRobustCommand\ttfamily
+        {\not@math@alphabet\ttfamily\mathtt
+         \romanfamily\ttdefault\ttjfam\selectfont}
+\newjfontfamily\ttjfam{KozGoPr6N-Regular.otf}
+
 
 %%%%%%%% logo
 \usepackage{metalogo}
 %<*en>
 \textbf{This documentation is far from complete. It may have many
 grammatical (and contextual) errors.} Also, several parts
-(especially, Section~\ref{sec-jfmglue}) are written in Japanese only.
+are written in Japanese only.
 %</en>
 %<*ja>
-\textbf{\large 本ドキュメントはまだまだ未完成です.}
+\emph{\large 本ドキュメントはまだまだ未完成です.}
 %</ja>
 
 \clearpage
@@ -235,7 +253,7 @@ specifications/behaviors of \pTeX\ were not adopted}.
 \LuaTeX-jaは,\pTeX に多大な影響を受けている.初期の開発目標は,\pTeX の機
 能をLuaコードにより実装することであった.しかし,開発が進むにつれ,\pTeX
 の完全な移植は不可能であり,また\pTeX における実装がいささか不可解になっ
-ているような状況も発見された.そのため,\textbf{\LuaTeX-jaは,もはや
+ているような状況も発見された.そのため,\emph{\LuaTeX-jaは,もはや
 \pTeX の完全な移植は目標とはしない.\pTeX における不自然な仕様・挙動があ
 れば,そこは積極的に改める.}
 %</ja>
@@ -250,12 +268,12 @@ The followings are major changes from \pTeX:
 \begin{itemize}
 %<*en>
 \item A Japanese font is a tuple of a `real' font, a Japanese font
-      metric (\textbf{JFM}, for short).
+      metric (\emph{JFM}, for short).
 %</en>
 %<*ja>
 \item 和文フォントは(小塚明朝,IPA明朝などの)実際のフォント,和文フォン
       トメトリック(JFMと呼ぶ\footnote{混乱を防ぐため,p\TeX の意味での
-      JFM (\texttt{min10.tfm}) などは本ドキュメントでは\textbf{和文用
+      JFM (\texttt{min10.tfm}) などは本ドキュメントでは\emph{和文用
       TFM}とよぶことにする.})の組である.
 %</ja>
 
@@ -311,7 +329,7 @@ The followings are major changes from \pTeX:
       effective anymore.} In concrete terms, the following two methods are not effective anymore:
 %</en>
 %<*ja>
-\item \textbf{注意:上の2つの変更により,従来\textbf{JAglue}の挿入処理を分断するのに
+\item \emph{注意:上の2つの変更により,従来\textbf{JAglue}の挿入処理を分断するのに
       使われていたいくつかの方法は用いることができない.具体的には,次の方法はもはや無効である:}
 %</ja>
 \begin{verbatim}
@@ -481,6 +499,7 @@ We say `alphabetic fonts' for fonts used in \textbf{ALchar}, and `Japanese fonts
 \item \Pkg{luaotfload} v2.2
 \item \Pkg{luatexbase} v0.6~(2013/05/04)
 \item \Pkg{xunicode} v0.981~(2011/09/09)
+\item \Pkg{adobemapping} (Adobe cmap and pdfmapping files)
 \end{itemize}
 
 %<*en>
@@ -511,7 +530,7 @@ $ tlmgr install luatexja
 If you want to install manually, do the following instruvtions:
 %</en>
 %<*ja>
-\textbf{本バージョン以降の\LuaTeX-jaは\TeX~Live~2012以前では動作しない.}
+\emph{本バージョン以降の\LuaTeX-jaは\TeX~Live~2012以前では動作しない.}
 これは,\LuaTeX と\Pkg{luaotfload}が\TeX~Live~2013において更新されたことによる.
 逆に,20130318.1以前の\LuaTeX-jaは\TeX~Live~2013では動作しない.
 
@@ -584,6 +603,34 @@ But only the contents in \texttt{src/} are needed to work \LuaTeX-ja.
 %</ja>
 
 %<*en>
+\item If you downloaded this package from CTAN, you have to run following commands
+    to generate classes 
+    and \texttt{ltj-kinsoku.lua} (the file which stores default ``\textit{kinsoku}'' parameters):
+%</en>
+%<*ja>
+\item もしCTANから本パッケージを取得したのであれば,日本語用クラスファイルや
+標準の禁則処理用パラメータを
+格納した \texttt{ltj-kinsoku.lua} を生成するために,
+以下を実行する必要がある:
+%</ja>
+\begin{verbatim}
+$ cd src
+$ lualatex ltjclasses.ins
+$ lualatex ltjsclasses.ins
+$ lualatex ltjltxdoc.ins
+$ luatex   ltj-kinsoku_make.tex
+\end{verbatim}
+%<*en>
+Note that \texttt{*.\{dtx,ins\}} and \texttt{ltj-kinsoku\_make.tex} are not needed in regular use.
+%</en>
+%<*ja>
+ここで使用した \texttt{*.\{dtx,ins\}} と \texttt{ltj-kinsoku\_make.tex} は
+通常の使用にあたっては必要ない.
+%</ja>
+
+
+
+%<*en>
 \item Copy all the contents of \texttt{src/} into one of your \texttt{TEXMF} tree.
       \texttt{TEXMF/tex/luatex/luatexja/} is an example location.
       If you cloned entire Git repository, making a symbolic link of \texttt{src/}
@@ -616,12 +663,34 @@ But only the contents in \texttt{src/} are needed to work \LuaTeX-ja.
       従来日本語の文字コードとして用いられてきたEUC-JPやShift-JISは使用できない.
 %</ja>
 %<*en>
-\item \LuaTeX-ja is very slower than \pTeX. Using LuaJIT\TeX slightly improve the situation.
+\item \LuaTeX-ja is very slower than \pTeX. Using LuaJIT\TeX\ slightly improve the situation.
 %</en>
 %<*ja>
 \item \LuaTeX-jaは動作が\pTeX に比べて非常に遅い.コードを変更して徐々に速くしているが,
 まだ満足できる速度ではない.LuaJIT\TeX を用いると\LuaTeX のだいたい1.3倍の速度で動くようである.
 %</ja>
+
+%<*en>
+\item \emph{Note for MiK\TeX\ users:} \LuaTeX-ja requires that two CMap files, 
+\texttt{UniJIS2004-UTF32-H} and \texttt{Adobe-Japan1-UCS2}, must be found
+by Kpathsearch.
+You can check this by \texttt{kpsewhich} command (the output may be changed): 
+%</en>
+%<*ja>
+\item \emph{MiK\TeX 利用者への注意:}\LuaTeX-jaが動作するためには,
+\texttt{UniJIS2004-UTF32-H}, \texttt{Adobe-Japan1-UCS2}という2つのCMapが
+Kpathsearchによって見つけられることが必要である.\TeX\ LiveやW32\TeX ユーザは
+普通にインストールすればそのようになっているはずである.
+
+確認するには,以下のように \texttt{kpsewhich} コマンドを実行すればよい:
+%</ja>
+\begin{verbatim}
+$ kpsewhich -format=cmap  UniJIS2004-UTF32-H
+/opt/texlive/2013/texmf-dist/fonts/cmap/adobemapping/aj16/CMap/UniJIS2004-UTF32-H
+$ kpsewhich -format=cmap  Adobe-Japan1-UCS2
+/opt/texlive/2013/texmf-dist/fonts/cmap/adobemapping/ToUnicode/Adobe-Japan1-UCS2
+\end{verbatim}
+
 \end{itemize}
 
 %<en>\subsection{Using in plain \TeX}
@@ -654,7 +723,7 @@ But only the contents in \texttt{src/} are needed to work \LuaTeX-ja.
 \begin{center}\small
 \begin{tabular}{ccccc}
 \toprule
-\textbf{字体}&\textbf{フォント名}&\bf `10\,pt'&\bf`7\,pt'&\bf`5\,pt'\\\midrule
+\emph{字体}&\emph{フォント名}&\bf `10\,pt'&\bf`7\,pt'&\bf`5\,pt'\\\midrule
 明朝体&Ryumin-Light    &\verb+\tenmin+&\verb+\sevenmin+&\verb+\fivemin+\\
 ゴシック体&GothicBBB-Medium&\verb+\tengt+ &\verb+\sevengt+ &\verb+\fivegt+\\
 \bottomrule
@@ -663,11 +732,11 @@ But only the contents in \texttt{src/} are needed to work \LuaTeX-ja.
 %</ja>
 \begin{itemize}
 %<*en>
-\item It is widely accepted that the font `Ryumin-Light' and
+\item It is widely accepted that fonts  `Ryumin-Light' and
       `GothicBBB-Medium' aren't embedded into PDF files, and a PDF reader
       substitute them by some external Japanese fonts (\textit{e.g.},
-      Kozuka Mincho is used for Ryumin-Light in Adobe Reader). We adopt this custom to
-      the default setting.
+      Ryumin-Light is substituted with Kozuka Mincho in Adobe Reader). 
+      We adopt this custom to the default setting.
 %</en>
 %<*ja>
 \item `Ryumin-Light'と`GothicBBB-Medium'はPDFファイルに埋め込まずに
@@ -743,39 +812,65 @@ When vertical typesetting is supported by \LuaTeX-ja in the future, \texttt{JT3}
 %</ja>
 
 %<*en>
-\item Two font families \texttt{mc} and \texttt{gt} are defined:
+\item Traditionally, Japanese documents use two typeface category: \emph{mincho}~(明朝体) and
+ \emph{gothic}~(\textgt{ゴシック体}). \emph{mincho} is used in the main text, while \emph{gothic}
+      is used in the headings or for emphasis.
+\begin{center}\small
+\begin{tabular}{lllc}
+\toprule
+\textbf{classification}&&&\textbf{family name}\\\midrule
+\emph{mincho} (明朝体)&\verb+\textmc{...}+&\verb+{\mcfamily ...}+&\verb+\mcdefault+\\
+\emph{gothic} (\textgt{ゴシック体})&\verb+\textgt{...}+&\verb+{\gtfamily ...}+&\verb+\gtdefault+\\
+\bottomrule
+\end{tabular}
+\end{center}
+\item 
+By default, the following fonts are used for \emph{mincho} and \emph{gothic}:
 \begin{center}\small
 \begin{tabular}{ccccc}
 \toprule
-\textbf{classification}&\textbf{family}&\verb+\mdseries+&\verb+\bfseries+&\textbf{scale}\\\midrule
-\emph{mincho}&\tt mc&Ryumin-Light    &GothicBBB-Medium&0.962216\\
-\emph{gothic}&\tt gt&GothicBBB-Medium&GothicBBB-Medium&0.962216\\
+\textbf{classification}&\textbf{family name}&\verb+\mdseries+&\verb+\bfseries+&\textbf{scale}\\\midrule
+\emph{mincho} (明朝体)&\tt mc&Ryumin-Light    &GothicBBB-Medium&0.962216\\
+\emph{gothic} (\textgt{ゴシック体})&\tt gt&GothicBBB-Medium&GothicBBB-Medium&0.962216\\
 \bottomrule
 \end{tabular}
 \end{center}
-Remark that the bold series in both family are same as the medium series of \emph{gothic} family.
-This is a convention in \pLaTeX. This is a trace that there were only 2~fonts (these are Ryumin-Light
-and GothicBBB-Medium) in early years of DTP.
+Note that the bold series in both family are same as the medium series of \emph{gothic} family.
+This is a convention in \pLaTeX. This is trace that there were only 2~fonts (these are Ryumin-Light
+and GothicBBB-Medium) in early years of DTP. There is no italic nor slanted shape for
+      these \texttt{mc}~and~\texttt{gt}.
 %</en>
 %<*ja>
-\item 2つのフォントファミリ\texttt{mc}と\texttt{gt}が定義されている:
+\item \pLaTeX と同様に,標準では「明朝体」「ゴシック体」の2種類を用いる:
+\begin{center}\small
+\begin{tabular}{cllc}
+\toprule
+\emph{字体}&&&\emph{ファミリ名}\\\midrule
+明朝体&\verb+\textmc{...}+&\verb+{\mcfamily ...}+&\verb+\mcdefault+\\
+\textgt{ゴシック体}&\verb+\textgt{...}+&\verb+{\gtfamily ...}+&\verb+\gtdefault+\\
+\bottomrule
+\end{tabular}
+\end{center}
+\item 標準では,次のフォントファミリが用いられる:
 \begin{center}\small
 \begin{tabular}{ccccc}
 \toprule
-\textbf{字体}&\textbf{ファミリ}&\verb+\mdseries+&\verb+\bfseries+&\textbf{スケール}\\\midrule
+\emph{字体}&\emph{ファミリ}&\verb+\mdseries+&\verb+\bfseries+&\emph{スケール}\\\midrule
 明朝体&\tt mc&Ryumin-Light    &GothicBBB-Medium&0.962216\\
 ゴシック体&\tt gt&GothicBBB-Medium&GothicBBB-Medium&0.962216\\
 \bottomrule
 \end{tabular}
 \end{center}
-どちらのファミリにおいても,そのboldシリーズはゴシック体のmediumシリーズで
-あることに注意.これは初期のDTPにおいて和文フォントが2つ(それがちょうど\
+どちらのファミリにおいても,そのboldシリーズで使われるフォントは
+ゴシック体のmediumシリーズで使われるフォントと同じあることに注意.
+これは初期のDTPにおいて和文フォントが2つ(それがちょうど\
 Ryumin-Light, GothicBBB-Mediumだった)しか利用できなかった時の名残であり,\pLaTeX{}
 での標準設定とも同じである.
 %</ja>
 
+
 %<en>\item Japanese characters in math mode are typeset by the font family \texttt{mc}.
-%<ja>\item 数式モード中の和文文字は\texttt{mc}ファミリで出力される.
+%<ja>\item 数式モード中の和文文字は明朝体(\texttt{mc})で出力される.
 \end{itemize}
 
 %<*en>
@@ -821,17 +916,6 @@ For \LaTeXe, \LuaTeX-ja adopted most of the font selection system of \pLaTeXe\ (
 %</ja>
 \begin{itemize}
 %<*en>
-\item Two control sequences \verb+\mcdefault+ and \verb+\gtdefault+ are
-      used to specify the default font families for \emph{mincho} and
-      \emph{gothic}, respectively. Default values: \texttt{mc} for
-      \verb+\mcdefault+ and \texttt{gt} for \verb+\gtdefault+.
-%</en>
-%<*ja>
-\item 2つのコントロールシーケンス \verb+\mcdefault+ と \verb+\gtdefault+ がそれぞ
-      れ明朝体とゴシック体のデフォルトのフォントファミリを指定するために用いられる.
-      初期値:\verb+\mcdefault+ は\texttt{mc},\verb+\gtdefault+ は\texttt{gt}.
-%</ja>
-%<*en>
 \item Commands \verb+\fontfamily+, \verb+\fontseries+,
       \verb+\fontshape+ and \verb+\selectfont+ can be used to change
       attributes of Japanese fonts.
@@ -862,7 +946,7 @@ auto select&\verb+\fontencoding+&\verb+\fontfamily+&---&---&\verb+\usefont+\\
 \begin{center}\small
 \begin{tabular}{cccccc}
 \toprule
-&\textbf{エンコーディング}&\textbf{ファミリ}&\textbf{シリーズ}&\textbf{シェープ}&\textbf{選択}\\\midrule
+&\emph{エンコーディング}&\emph{ファミリ}&\emph{シリーズ}&\emph{シェープ}&\emph{選択}\\\midrule
 欧文
 &\verb+\romanencoding+&\verb+\romanfamily+&\verb+\romanseries+&\verb+\romanshape+
 &\verb+\useroman+\\
@@ -891,7 +975,7 @@ auto select&\verb+\fontencoding+&\verb+\fontfamily+&---&---&\verb+\usefont+\\
       \verb+\fontencoding{JY3}+ は和文フォントのエンコーディングを
       \texttt{JY3}に変更し,\verb+\fontencoding{T1}+ は欧文フォント側を
       \texttt{T1}へと変更する.\verb+\fontfamily+ も引数により和文側,欧文
-      側,\textbf{あるいは両方}のフォントファミリを変更する.詳細は
+      側,\emph{あるいは両方}のフォントファミリを変更する.詳細は
       \ref{ssub-nfsspat}節を参照すること.
 %</ja>
 
@@ -1030,12 +1114,12 @@ alphabetic fonts
 \end{tabular}
 \end{center}
 %</ja>
-\begin{LTXexample}
+\begin{LTXexample}[width=0.4\textwidth]
 \fontspec[Numbers=OldStyle]{LMSans10-Regular}
 \jfontspec{IPAexMincho}
 JIS~X~0213:2004→辻
 
-\addjfontfeatures{CJKShape=JIS1990}
+\jfontspec[CJKShape=JIS1990]{IPAexMincho}
 JIS~X~0208:1990→辻
 \end{LTXexample}
 
@@ -1061,32 +1145,60 @@ featureが\textbf{JAglue}と衝突するためである(\ref{para-kern}節を
 To use standard Japanese font settings easily, one can load \Pkg{luatexja-preset}
 package with several options. This package provides functions in a part of
 \Pkg{otf} package and a part of \Pkg{PXchfon} package by Takayuki Yato,
-and loads \Pkg{luatexja-fontspec} internally.
+and loads \Pkg{luatexja-fontspec}, hence \Pkg{fontspec} internally.
+
+If you need to pass some options to \Pkg{fontspec}, load \Pkg{fontspec} manually
+before \Pkg{luatexja-preset}:
 %</en>
 %<*ja>
 よく使われている和文フォント設定を一行で指定できるようにしたのが
 \Pkg{luatexja-preset}パッケージである.このパッケージは,
 \Pkg{otf}パッケージの一部機能と八登崇之氏による\Pkg{PXchfon}パッケージの一部機能とを
-合わせたような格好をしており,内部で\Pkg{luatexja-fontspec}を読み込んでいる.
+合わせたような格好をしており,内部で\Pkg{luatexja-fontspec},従って
+\Pkg{fontspec}を読み込んでいる.
+
+もし\Pkg{fontspec}パッケージに何らかのオプションを渡す必要がある
+\footnote{例えば,数式フォントまで置換されてしまい,\texttt{\char92mathit}によってギリシャ文字の
+斜体大文字が出なくなる,など.}場合は,
+次のように\Pkg{luatexja-preset}の前に\Pkg{fontspec}を手動で読みこめば良い:
 %</ja>
+\begin{verbatim}
+\usepackage[no-math]{fontspec}
+\usepackage[...]{luatexja-preset}
+\end{verbatim}
 
 %<en>\paragraph{General options}
 %<ja>\paragraph{一般的なオプション}
 \begin{list}{}{\def\makelabel{\ttfamily}\def\{{\char`\{}\def\}{\char`\}}\advance\leftmargin1\zw}
+\item[nodeluxe]
+%<*en>
+Use one-weighted \textit{mincho} and \textit{gothic} font families.
+This means that \verb+\mcfamily\bfseries+, \verb+\gtfamily\bfseries+ and 
+\verb+\gtfamily\mdseries+ use the same font.
+\emph{This option is enabled by default.}
+%</en>
+%<*ja>
+\LaTeXe 環境下での標準設定のように,明朝体・ゴシック体を各1ウェイトで使用する.
+より具体的に言うと,この設定の下では
+\verb+\mcfamily\bfseries+, \verb+\gtfamily\bfseries+, \verb+\gtfamily\mdseries+は
+みな同じフォントとなる.\emph{このオプションは標準で有効になっている.}
+%</ja>
 \item[deluxe]
 %<*en>
-Specifying this option enables us to use \textit{mincho} with two weights (medium~and~bold),
-\textit{gothic} with three weights (medium,~bold and~heavy), and \textit{rounded gothic}%
-\footnote{Provided by \texttt{\char92mgfamily},
+Use \textit{mincho} with two weights (medium~and~bold),
+\textit{gothic} with three weights (medium, bold~and~heavy), and \textit{rounded gothic}%
+\footnote{Provided by \texttt{\char92mgfamily} and \texttt{\char92textmg\{...\}},
 because \textit{rounded gothic} is called \textit{maru gothic} (丸ゴシック) in Japanese.}.
-The heavy weight of \textit{gothic} can be used by ``changing the family'' \verb+\gtebfamily+.
+The heavy weight of \textit{gothic} can be used by ``changing the family'' \verb+\gtebfamily+,
+or \verb+\textgteb{...}+.
 This is because \Pkg{fontspec} package can handle only medium (\verb+\mdseries+) and
 bold (\verb+\bfseries+).
 %</en>
 %<*ja>
 明朝体2ウェイト・ゴシック体3ウェイトと,
-丸ゴシック体 (\verb+\mgfamily+) を使用可能とする.
-ゴシック体は細字・太字・極太の3ウェイトがあるが,極太ゴシック体はファミリの切り替え (\verb+\gtebfamily+) %
+丸ゴシック体 (\verb+\mgfamily+, \verb+\textmg{...}+) を使用可能とする.
+ゴシック体は細字・太字・極太の3ウェイトがあるが,
+極太ゴシック体はファミリの切り替え (\verb+\gtebfamily+, \verb+\textgteb{...}+) %
 で実現している.\Pkg{fontspec}では通常 (\verb+\mdseries+) と太字 (\verb+\bfseries+) しか扱えないために
 このような中途半端な実装になっている.
 %</ja>
@@ -1097,8 +1209,8 @@ characters designed for ruby.
 %</en>
 %<ja>横組専用仮名を用いる.また,\verb+\rubyfamily+ でルビ用仮名が使用可能となる.
 \item[bold]
-%<en>Use bold gothic as bold mincho.
-%<ja>明朝の太字をゴシック体の太字とする.
+%<en>Substitute bold series of \textit{gothic} for  bold series of \textit{mincho}.
+%<ja>「明朝の太字」をゴシック体の太字によって代替する.
 \item[90jis]
 %<en>Use 90JIS glyph variants if possible.
 %<ja>出来る限り90JISの字形を使う.
@@ -1115,147 +1227,188 @@ Use the JFM \texttt{jfm-jis.lua}, instead of \texttt{jfm-ujis.lua}, which is the
 \LuaTeX-ja標準の\texttt{jfm-ujis.lua}が用いられる.
 %</ja>
 \end{list}
+%<*en>
+Note that \texttt{90jis} and \texttt{jis2004} only affect with \textit{mincho},
+\textit{gothic} (and possibly \textit{rounded gothic}) defined by this package.
+We didn't taken account of  when both \texttt{90jis} and \texttt{jis2004} are specified.
+%</en>
+%<*ja>
+\texttt{90jis}と\texttt{jis2004}については本パッケージで定義された
+明朝体・ゴシック体(・丸ゴシック体)にのみ有効である.両オプションが
+同時に指定された場合の動作については全く考慮していない.
+%</ja>
 
-%<en>\paragraph{Kozuka fonts}
-%<ja>\paragraph{å°\8få¡\9aã\83\95ã\82©ã\83³ã\83\88}
+%<en>\paragraph{Presets for multi weight settings}
+%<ja>\paragraph{å¤\9aã\82¦ã\82§ã\82¤ã\83\88ç\94¨ã\83\97ã\83ªã\82»ã\83\83ã\83\88ã\81®ä¸\80覧}
 %<*en>
-There is not `Kozuka Maru Gothic', therefore Kozuka~Gothic~H is used
-as a substitute for \textit{rounded gothic}.
+Besides \texttt{morisawa-pro}~and~\texttt{morisawa-pr6n} presets,
+fonts are specified by fontname, not by filename.
 %</en>
 %<*ja>
-丸ゴシック体はないので便宜上小塚ゴシックHで代用している.
+\texttt{morisawa-pro}, \texttt{morisawa-pr6n}以外はフォントの指定は
+(ファイル名でなく)フォント名で行われる.
 %</ja>
-\par\nobreak\medskip
-{\centering\small
-\begin{tabular}{llll}
+\begin{list}{}{\def\makelabel{\ttfamily}\def\{{\char`\{}\def\}{\char`\}}\advance\leftmargin1\zw}
+ \item[kozuka-pro] Kozuka Pro (Adobe-Japan1-4) fonts.
+%<en>    \\[-\dimexpr\medskipamount+\baselineskip\relax]
+ \item[kozuka-pr6] Kozuka Pr6 (Adobe-Japan1-6)  fonts.
+%<en>    \\[-\dimexpr\medskipamount+\baselineskip\relax]
+ \item[kozuka-pr6n] Kozuka Pr6N (Adobe-Japan1-6, JIS04-savvy) fonts.
+
+%<*en>
+Kozuka Pro/Pr6N fonts are bundled with Adobe's software, such as Adobe~InDesign.
+There is not rounded gothic family in Kozuka fonts.
+%</en>
+%<*ja>
+小塚Pro書体・Pr6N書体はAdobe InDesign等のAdobe製品にバンドルされている.
+「小塚丸ゴシック」は存在しないので,便宜的に小塚ゴシックHによって代用している.
+%</ja>
+\begin{center}\small
+\begin{tabular}{cllll}
 \toprule
-&\tt kozuka-pro&\tt kozuka-pr6&\tt kozuka-pr6n\\
+\bf family&\bf series&\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 mincho bold&Kozuka Mincho Pro B&Kozuka Mincho ProVI B&Kozuka Mincho Pr6N B\\
+ &medium&KozMinPro-Regular&KozMinProVI-Regular&KozMinPr6N-Regular\\
+%<en>\smash{\raisebox{1.5ex}{\textit{mincho}}}%
+%<ja>\smash{\raisebox{1.5ex}{\gt 明朝}}%
+ &bold&KozMinPro-Bold&KozMinProVI-Bold&KozMinPr6N-Bold\\
 \midrule
-\bf gothic medium\\
-  without \texttt{deluxe}
-&Kozuka Gothic Pro M&Kozuka Gothic ProVI M&Kozuka Gothic Pr6N M\\
-  with \texttt{deluxe}
-&Kozuka Gothic Pro R&Kozuka Gothic ProVI R&Kozuka Gothic Pr6N R\\
+ &&KozGoPro-Regular*&KozGoProVI-Regular*&KozGoPr6N-Regular*\\
+ &\smash{\raisebox{1.5ex}{medium}}
+ &KozGoPro-Medium&KozGoProVI-Medium&KozGoPr6N-Medium\\
+\cmidrule(l){2-5}
+%<en>\smash{\raisebox{2ex}{\textit{gothic}}}%
+%<ja>\smash{\raisebox{2ex}{\gt ゴシック}}%
+ &bold&KozGoPro-Bold&KozGoProVI-Bold&KozGoPr6N-Bold\\
+ &heavy&KozGoPro-Heavy&KozGoProVI-Heavy&KozGoPr6N-Heavy\\
 \midrule
-\bf gothic bold
-&Kozuka Gothic Pro B&Kozuka Gothic ProVI B&Kozuka Gothic Pr6N B\\
-\bf gothic heavy
-&Kozuka Gothic Pro H&Kozuka Gothic ProVI H&Kozuka Gothic Pr6N H\\
-(rounded gothic)
-&Kozuka Gothic Pro H&Kozuka Gothic ProVI H&Kozuka Gothic Pr6N H\\
+%<en>\textit{rounded gothic}
+%<ja>\gt 丸ゴシック
+&&KozGoPro-Heavy&KozGoProVI-Heavy&KozGoPr6N-Heavy\\
+\bottomrule
+\end{tabular}
+\end{center}
+
+%<*en>
+In above table, starred fonts (KozGo\dots-Regular) are used for medium series of \textit{gothic},
+\emph{if and only if \texttt{deluxe} option is specified}.
 %</en>
 %<*ja>
-\gt 明朝体細字&小塚明朝Pro~R&小塚明朝ProVI~R&小塚明朝Pr6N~R\\
-\gt 明朝体太字&小塚明朝Pro~B&小塚明朝ProVI~B&小塚明朝Pr6N~B\\
-\midrule
-\gt ゴシック体細字\\
- 単ウェイト時
-&小塚ゴシックPro~M&小塚ゴシックProVI~M&小塚ゴシックPr6N~M\\
- 多ウェイト時
-&小塚ゴシックPro~R&小塚ゴシックProVI~R&小塚ゴシックPr6N~R\\
-\midrule
-\gt ゴシック体太字
-&小塚ゴシックPro~B&小塚ゴシックProVI~B&小塚ゴシックPr6N~B\\
-\gt ゴシック体極太
-&小塚ゴシックPro~H&小塚ゴシックProVI~H&小塚ゴシックPr6N~H\\
-\inhibitglue(丸ゴシック体)\inhibitglue
-&小塚ゴシックPro~H&小塚ゴシックProVI~H&小塚ゴシックPr6N~H\\
+上の表において,*つきのフォント(KozGo\dots-Regular)は,\emph{\texttt{deluxe}オプション非指定時に}
+ゴシック体細字として用いられる.
 %</ja>
-\bottomrule
-\end{tabular}\par\medskip}
 
-%<en>\paragraph{Hiragino and Morisawa}\ 
-%<ja>\paragraph{ヒラギノ・モリサワ}\ 
-\par\nobreak\medskip
-{\centering\small
-\begin{tabular}{lll}
+%<ja>\medskip
+
+ \item[hiragino-pro]  Hiragino Pro (Adobe-Japan1-5) fonts.
+%<en>    \\[-\dimexpr\medskipamount+\baselineskip\relax]
+ \item[hiragino-pron] Hiragino ProN (Adobe-Japan1-5, JIS04-savvy) fonts.
+
+%<*en>
+Hiragino fonts are bundled with Mac OS~X 10.5 or later.
+Some editions of a Japanese word-processor ``一太郎2012'' includes Hiragino ProN fonts.
+Note that the heavy weight of \textit{gothic} family only supports
+Adobe-Japan1-3 character collection (Std/StdN).
+%</en>
+%<*ja>
+ヒラギノフォントは,Mac OS~X以外にも,一太郎2012の上位エディションにもバンドルされている.
+極太ゴシックとして用いるヒラギノ角ゴW8は,Adobe-Japan1-3の範囲しかカバーしていない
+Std/StdNフォントであり,その他はAdobe-Japan1-5対応である.
+%</ja>
+\begin{center}\small
+\begin{tabular}{clll}
 \toprule
-&\tt hiragino-pro&\tt hiragino-pron\\
+\bf family&\bf series&\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\\
+ &medium&Hiragino~Mincho~Pro~W3&Hiragino~Mincho~ProN~W3\\
+%<en>\smash{\raisebox{1.5ex}{\textit{mincho}}}%
+%<ja>\smash{\raisebox{1.5ex}{\gt 明朝}}%
+ &bold&Hiragino~Mincho~Pro~W6&Hiragino~Mincho~ProN~W6\\
 \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\\
+ &&Hiragino~Kaku~Gothic~Pro~W3*&Hiragino~Kaku~Gothic~ProN~W3*\\
+ &\smash{\raisebox{1.5ex}{medium}}
+ &Hiragino~Kaku~Gothic~Pro~W6&Hiragino~Kaku~Gothic~ProN~W6\\
+\cmidrule(l){2-4}
+%<en>\smash{\raisebox{2ex}{\textit{gothic}}}%
+%<ja>\smash{\raisebox{2ex}{\gt ゴシック}}%
+ &bold&Hiragino~Kaku~Gothic~Pro~W6&Hiragino~Kaku~Gothic~ProN~W6\\
+ &heavy&Hiragino~Kaku~Gothic~Std~W8&Hiragino~Kaku~Gothic~StdN~W8\\
 \midrule
-\bf gothic bold&
-Hiragino Kaku Gothic Pro W6&Hiragino Kaku Gothic ProN W6\\
-\bf gothic heavy&
-Hiragino Kaku Gothic Std W8&Hiragino Kaku Gothic StdN W8\\
-\bf rounded gothic&
-Hiragino Maru Gothic Pro W4&Hiragino Maru Gothic ProN W4\\
-%</en>
-%<*ja>
-\gt 明朝体細字&
-ヒラギノ明朝体Pro~W3&ヒラギノ明朝体Pr6N~W3\\
-\gt 明朝体太字&
-ヒラギノ明朝体Pro~W6&ヒラギノ明朝体Pr6N~W6\\
+%<en>\textit{rounded gothic}
+%<ja>\gt 丸ゴシック
+&&Hiragino~Maru~Gothic~ProN~W4&Hiragino~Maru~Gothic~ProN~W4\\
+\bottomrule
+\end{tabular}
+\end{center}
+
+%<ja>\medskip
+
+ \item[morisawa-pro]  Morisawa Pro (Adobe-Japan1-4) fonts.
+%<en>    \\[-\dimexpr\medskipamount+\baselineskip\relax]
+ \item[morisawa-pr6n]  Morisawa Pr6N (Adobe-Japan1-6, JIS04-savvy) fonts.
+\begin{center}\small
+\begin{tabular}{cl>{\tt}l>{\tt}l}
+\toprule
+\bf family&\bf series&morisawa-pro&morisawa-pr6n\\
 \midrule
-\gt ゴシック体細細字\\
- 単ウェイト時
-&ヒラギノ角ゴPro~W6&ヒラギノ角ゴProN~W6\\
- 多ウェイト時
-&ヒラギノ角ゴPro~W3&ヒラギノ角ゴProN~W3\\
+ &medium&A-OTF-RyuminPro-Light.otf&A-OTF-RyuminPr6N-Light.otf\\
+%<en>\smash{\raisebox{1.5ex}{\textit{mincho}}}%
+%<ja>\smash{\raisebox{1.5ex}{\gt 明朝}}%
+ &bold&A-OTF-FutoMinA101Pro-Bold.otf&A-OTF-FutoMinA101Pr6N-Bold.otf\\
 \midrule
-\gt ゴシック体太字&
-ヒラギノ角ゴPro~W6&ヒラギノ角ゴProN~W6\\
-\gt ゴシック体極太&
-ヒラギノ角ゴStd~W8&ヒラギノ角ゴStdN~W8\\
-\gt 丸ゴシック体&
-ヒラギノ丸ゴPro~W4&ヒラギノ丸ゴProN~W4\\
-%</ja>
+ &medium
+ &A-OTF-GothicBBBPro-Medium.otf&A-OTF-GothicBBBPr6N-Medium.otf\\
+%<en>\textit{gothic}%
+%<ja>\gt ゴシック
+ &bold&A-OTF-FutoGoB101Pro-Bold.otf&A-OTF-FutoGoB101Pr6N-Bold.otf\\
+ &heavy&A-OTF-MidashiGoPro-MB31.otf&A-OTF-MidashiGoPr6N-MB31.otf\\
 \midrule
+%<en>\textit{rounded gothic}
+%<ja>\gt 丸ゴシック
+&&A-OTF-Jun101Pro-Light.otf&A-OTF-Jun101Pr6N-Light.otf\\
+\bottomrule
+\end{tabular}
+\end{center}
+
+ \item[yu-win]  Yu fonts bundled with Windows~8.1. 
+%<en>    \\[-\dimexpr\medskipamount+\baselineskip\relax]
+ \item[yu-osx]  Yu fonts bundled with OSX~Mavericks. 
+%<en>They cover Adobe-Japan1-6 character collection.
+%<ja>上の \texttt{yu-win} とはフォント名が微妙に異なることに注意.
+\begin{center}\small
+\begin{tabular}{clll}
+\toprule
+\bf family&\bf series&\tt yu-win&\tt yu-osx\\
 \midrule
-&\tt morisawa-pro&\tt morisawa-pr6n\\
+ &medium&YuMincho-Regular&YuMincho~Medium\\
+%<en>\smash{\raisebox{1.5ex}{\textit{mincho}}}%
+%<ja>\smash{\raisebox{1.5ex}{\gt 明朝}}%
+ &bold&YuMincho-Demibold&YuMincho~Demibold\\
 \midrule
-%<*en>
-\bf mincho medium&
-Ryumin Pro L-KL&Ryumin Pr6N L-KL\\
-\bf mincho bold&
-Futo Min A101 Pro Bold&Futo Min A101 Pr6N Bold\\
-\bf gothic medium&
-Chu Gothic BBB Pro Med&Chu Gothic BBB Pr6N Med\\
-\bf gothic bold&
-Futo Go B101 Pro Bold&Futo Go B101 Pr6N Bold\\
-\bf gothic heavy&
-Midashi Go Pro MB31&Midashi Go Pr6N MB31\\
-\bf rounded gothic&
-Jun Pro 101&Jun Pr6N 101\\
-%</en>
-%<*ja>
-\gt 明朝体細字&
-リュウミンPro~L-KL&リュウミンPr6N~L-KL\\
-\gt 明朝体太字&
-太ミンA101~Pro~Bold&太ミンA101~Pr6N~Bold\\
-\gt ゴシック体細字&
-中ゴシックBBB~Pro~Med&中ゴシックBBB~Pr6N~Med\\
-\gt ゴシック体太字&
-太ゴB101~Pro~Bold&太ゴB101~Pr6N~Bold\\
-\gt ゴシック体極太&
-見出ゴPro~MB31&見出ゴPr6N~MB31\\
-\gt 丸ゴシック体&
-じゅんPro 101&じゅんPr6N 101\\
-%</ja>
+ &&YuGothic-Regular*&YuGothic~Medium*\\
+ &\smash{\raisebox{1.5ex}{medium}}
+ &YuGothic-Bold&YuGothic~Bold\\
+\cmidrule(l){2-4}
+%<en>\textit{gothic}%
+%<ja>\gt ゴシック
+ &bold&YuGothic-Bold&YuGothic~Bold\\
+ &heavy&YuGothic-Bold&YuGothic~Bold\\
+\midrule
+%<en>\textit{rounded gothic}
+%<ja>\gt 丸ゴシック
+&&YuGothic-Bold&YuGothic~Bold\\
 \bottomrule
-\end{tabular}\par\medskip}
+\end{tabular}
+\end{center}
 
-%<en>\paragraph{Settings for single weight}
-%<ja>\paragraph{単ウェイト用設定}
+\end{list}
+%<en>\paragraph{Presets for single weight}
+%<ja>\paragraph{単ウェイト用プリセット一覧}
 %<*en>
 Next, we describe settings for using only single weight.
 In four settings below, we use same fonts for medium and bold (and heavy) weights.
 (Hence \verb+\mcfamily\bfseries+ and \verb+\mcfamily\mdseries+ yields same Japanese fonts,
-if \texttt{deluxe} option is also specified).
+even if \texttt{deluxe} option is also specified).
 %</en>
 %<*ja>
 次に,単ウェイト用の設定を述べる.この4設定では「細字」「太字」の区別はない.
@@ -1268,24 +1421,25 @@ if \texttt{deluxe} option is also specified).
 &\tt noembed&\tt ipa&\tt ipaex&\tt ms\\
 \midrule
 %<*en>
-\bf mincho&Ryumin-Light (non-embedded)
+\it mincho&Ryumin-Light (non-embedded)
 &IPAMincho&IPAexMincho&MS Mincho\\
-\bf gothic&GothicBBB-Medium (non-embedded)
+\it gothic&GothicBBB-Medium (non-embedded)
 &IPAGothic&IPAexGothic&MS Gothic\\
 %</en>
 %<*ja>
-\gt 明朝体&Ryumin-Light(非埋込)
+\gtfamily 明朝体&Ryumin-Light(非埋込)
 &IPA明朝&IPAex明朝&MS明朝\\
-\gt ゴシック体&GothicBBB-Medium(非埋込)
+\gtfamily ゴシック体&GothicBBB-Medium(非埋込)
 &IPAゴシック&IPAexゴシック&MSゴシック\\
 %</ja>
 \bottomrule
 \end{tabular}\par\medskip}
 
+
 %<en>\paragraph{Using HG fonts}
 %<ja>\paragraph{HGフォントの利用}
 %<*en>
-We can use HG~fonts bundled with Microsoft Office for realizing multiple weights in Japanese fonts.
+We can use HG~fonts bundled with Microsoft~Office for realizing multiple weights.
 %</en>
 %<*ja>
 すぐ前に書いた単ウェイト用設定を,Microsoft Office等に付属するHGフォントを使って
@@ -1318,11 +1472,11 @@ We can use HG~fonts bundled with Microsoft Office for realizing multiple weights
 \multicolumn{3}{c}{HG Maru Gothic PRO}\\
 %</en>
 %<*ja>
-\gt 明朝体細字
+\gtfamily 明朝体細字
 &IPA明朝&IPAex明朝&MS明朝\\\midrule
-\gt 明朝体太字&
+\gtfamily 明朝体太字&
 \multicolumn{3}{c}{HG明朝E}\\\midrule
-\gt ゴシック体細字\\
+\gtfamily ゴシック体細字\\
  単ウェイト時
 &IPAゴシック&IPAexゴシック&MSゴシック\\
  {\tt jis2004}指定時
@@ -1330,11 +1484,11 @@ We can use HG~fonts bundled with Microsoft Office for realizing multiple weights
 \cmidrule(lr){1-4}
  それ以外の時&
 \multicolumn{3}{c}{HGゴシックM}\\\midrule
-\gt ゴシック体太字&
+\gtfamily ゴシック体太字&
 \multicolumn{3}{c}{HGゴシックE}\\\midrule
-\gt ゴシック体極太&
+\gtfamily ゴシック体極太&
 \multicolumn{3}{c}{HG創英角ゴシックUB}\\\midrule
-\gt 丸ゴシック体&
+\gtfamily 丸ゴシック体&
 \multicolumn{3}{c}{HG丸ゴシック体PRO}\\
 %</ja>
 \bottomrule
@@ -1554,7 +1708,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
 %<*ja>
 \item[範囲1${}^{\text{A}}$] ラテン文字.一部はAdobe-Japan1-6にも含まれている.
                              この範囲は以下のUnicodeのブロックから構成されている.
-                             \textbf{ただし,範囲8は除く.}
+                             \emph{ただし,範囲8は除く.}
 %</ja>
 \begin{multicols}{2}
 \begin{itemize}
@@ -1604,7 +1758,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
 %<ja>\caption{文字範囲3に指定されているUnicodeブロック.}
 \label{table-rng3}
 \catcode`\"=13\def"#1#2#3#4{\texttt{U+#1#2#3#4}}%"
-\begin{center}\small
+\centering\small
 \begin{tabular}{llll}
 "2000--"206F&General Punctuation&
 "2070--"209F&Superscripts and Subscripts\\
@@ -1625,7 +1779,6 @@ This range consist of the following Unicode ranges, \emph{except characters in t
 "2980--"29FF&Misc.\ Mathematical Symbols-B&
 "2B00--"2BFF&Miscellaneous Symbols and Arrows
 \end{tabular}
-\end{center}
 \end{table}
 %<*en>
 \item[Range~4${}^{\text{A}}$] Characters usually not in Japanese fonts. This range consists
@@ -1642,8 +1795,8 @@ This range consist of the following Unicode ranges, \emph{except characters in t
 \begin{lstlisting}
 \ltjdefcharrange{4}{%
    "500-"10FF, "1200-"1DFF, "2440-"245F, "27C0-"28FF, "2A00-"2AFF,
-  "2C00-"2E7F, "4DC0-"4DFF, "A4D0-"A82F, "A840-"ABFF, "FB50-"FE0F,
-  "FE20-"FE2F, "FE70-"FEFF, "FB00-"FB4F, "10000-"1FFFF, "E000-"F8FF} % non-Japanese
+  "2C00-"2E7F, "4DC0-"4DFF, "A4D0-"A82F, "A840-"ABFF, "FB00-"FE0F,
+  "FE20-"FE2F, "FE70-"FEFF, "10000-"1FFFF, "E000-"F8FF} % non-Japanese
 \end{lstlisting}
 %<en>\item[Range~5${}^{\text{A}}$] Surrogates and Supplementary Private Use Areas.
 %<ja>\item[範囲5${}^{\text{A}}$] 代用符号と補助私用領域.
@@ -1654,7 +1807,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
 %<ja>\caption{文字範囲6に指定されているUnicodeブロック.}
 \label{table-rng6}
 \catcode`\"=13\def"#1#2#3#4{\texttt{U+#1#2#3#4}}%"
-\begin{center}\small
+\centering\small
 \begin{tabular}{llll}
 "2460--"24FF&Enclosed Alphanumerics&
 "2E80--"2EFF&CJK Radicals Supplement\\
@@ -1673,7 +1826,6 @@ This range consist of the following Unicode ranges, \emph{except characters in t
 "FE50--"FE6F&Small Form Variants&
 "{20}000--"{2F}FFF&(Supplementary Ideographic Plane)
 \end{tabular}
-\end{center}
 \end{table}
 %<*en>
 \item[Range~7${}^{\text{J}}$] Characters used in CJK languages, but not included in  Adobe-Japan1-6.
@@ -1689,7 +1841,7 @@ The block list is indicated in Table~\ref{table-rng7}.
 %<ja>\caption{文字範囲7に指定されているUnicodeブロック.}
 \label{table-rng7}
 \catcode`\"=13\def"#1#2#3#4{\texttt{U+#1#2#3#4}}%"
-\begin{center}\small
+\centering\small
 \begin{tabular}{llll}
 "1100--"11FF&Hangul Jamo&
 "2F00--"2FDF&Kangxi Radicals\\
@@ -1704,7 +1856,6 @@ The block list is indicated in Table~\ref{table-rng7}.
 "AC00--"D7AF&Hangul Syllables&
 "D7B0--"D7FF&Hangul Jamo Extended-B
 \end{tabular}
-\end{center}
 \end{table}
 \end{description}
 
@@ -1840,7 +1991,7 @@ parameters to \texttt{true}/\texttt{false}, respectively.
 To make a match between a Japanese font and an alphabetic font, sometimes
 shifting of the baseline of one of the pair is needed. In \pTeX, this is achieved
 by setting \verb+\ybaselineshift+ to a non-zero length (the
-baseline of alphabetic fonts is shifted below). However, for documents
+baseline of \textbf{ALchar} is shifted below). However, for documents
 whose main language is not Japanese, it is good to shift the baseline of
 Japanese fonts, but not that of alphabetic fonts.
 Because of this, \LuaTeX-ja can independently set the shifting amount
@@ -1850,8 +2001,8 @@ parameter).
 %</en>
 %<*ja>
 和文フォントと欧文フォントを合わせるためには,時々どちらかのベースラインの移動が
-必要になる.\pTeX ではこれは \verb+\ybaselineshift+ を非零の長さに設定することで
-なされていた(欧文フォントのベースラインが下がる).しかし,日本語が主ではない
+必要になる.\pTeX ではこれは \verb+\ybaselineshift+ を設定することで
+なされていた(\textbf{ALchar}のベースラインがその分だけ下がる).しかし,日本語が主ではない
 文書に対しては,欧文フォントではなく和文フォントのベースラインを移動した方がよい.
 このため,\LuaTeX-jaでは欧文フォントのベースラインのシフト量
 (\Param{yalbaselineshift}パラメータ)と和文フォントのベースラインのシフト量
@@ -1859,7 +2010,7 @@ parameter).
 %</ja>
 
 \begin{LTXexample}
-\vrule width 150pt height 0.4pt depth 0pt\hskip-120pt
+\vrule width 150pt height 0.4pt depth 0pt \hskip-120pt
 \ltjsetparameter{yjabaselineshift=0pt, yalbaselineshift=0pt}abcあいう
 \ltjsetparameter{yjabaselineshift=5pt, yalbaselineshift=2pt}abcあいう
 \end{LTXexample}
@@ -1890,6 +2041,54 @@ xyz漢字
 \end{LTXexample}
 
 
+%<*ja>
+\paragraph{数式における挙動:\pTeX との違い}
+\textbf{ALchar}のベースラインを補正する \Param{yalbaselineshift} パラメータは
+ほぼ\pTeX における \verb+\ybaselineshift+ に対応しているものであるが,
+数式中の挙動は異なっているので注意が必要である.
+例えば,表\ref{tab:math_bsa}のように,数式中に明示的に現れた \verb+\hbox+ は,
+\begin{itemize}
+ \item \pTeX では,ボックス全体が \verb+\ybaselineshift+ だとシフトされるので,
+ 表\ref{tab:math_bsa}中の``い''のように,ボックス中の和文文字は
+ \verb+\ybaselineshift+だけシフトされ,一方,``for all''のように,
+ ボックス内の欧文文字は2重にシフトされることになる.
+ \item 一方,\LuaTeX-jaではそのようなことはおこらず,
+ 数式中に明示的に現れた \verb+\hbox+ はシフトしない.そのため,
+ 表\ref{tab:math_bsa}中の``い''も``for all''も,それぞれ本文中に
+ 書かれたときと同じ上下位置に組まれる.
+\end{itemize}
+\begin{table}
+\small\centering
+\caption{数式関係のベースライン補正($\Param{yalbaselineshift}=10\,\textrm{pt}$)}
+\label{tab:math_bsa}
+\newdimen\origbaselineskip
+\origbaselineskip=\baselineskip
+\begin{tabular}{lp{30\zw}}
+\toprule
+\emph{入力}&\vspace*{-\origbaselineskip}
+\begin{verbatim}
+数式abc: $あa\hbox{い}$, $\int_0^x t\,dt=x^2\!/2$,
+$\Phi\vdash F(x)\ \hbox{for all}\ x\in A$
+\end{verbatim}\\
+\noalign{\vskip-\origbaselineskip}
+\midrule
+\emph{\pTeX}&
+{\ltjsetparameter{yalbaselineshift=10pt}%
+数式abc: $あa\lower10pt\hbox{い}$, $\int_0^x t\,dt=x^2\!/2$,
+$\Phi\vdash F(x)\ \lower10pt\hbox{for all}\ x\in A$
+\par}\\
+\midrule
+\emph{\LuaTeX-ja}&
+{\ltjsetparameter{yalbaselineshift=10pt}%
+数式abc: $あa\hbox{い}$, $\int_0^x t\,dt=x^2\!/2$,
+$\Phi\vdash F(x)\ \hbox{for all}\ x\in A$
+\par}\\
+\noalign{\vskip-\origbaselineskip}
+\bottomrule
+\end{tabular} 
+\end{table}
+%</ja>
+
 %<en>\part{Reference}
 %<ja>\part{リファレンス}
 \label{part-ref}
@@ -1914,10 +2113,10 @@ so TrueType/OpenType fonts with features can be used for Japanese fonts:
 TrueType/OpenTypeフォントにfeatureを指定したものを和文フォントとして用いる
 ことができる:
 %</ja>
-\begin{LTXexample}[width=0.4\textwidth]
-\jfont\tradgt={file:ipaexg.ttf:script=latn;%
+\begin{LTXexample}[width=0.3\textwidth]
+\jfont\tradgt={file:KozMinPr6N-Regular.otf:script=latn;%
   +trad;-kern;jfm=ujis} at 14pt
-\tradgt{}当/体/医/区
+\tradgt 当/体/医/区
 \end{LTXexample}
 
 %<*en>
@@ -2004,13 +2203,18 @@ JFMの名前を指定する.もし以前に指定されたJFMが読み込ま
 %</en>
 %<*ja>
 \item[jfmvar=<string>] 標準では,JFMとサイズが同じで,
-  実フォントだけが異なる2つの和文フォントは……
+  実フォントだけが異なる2つの和文フォントは「区別されない」.例えば
+下の例において,最初の「)」と「【」の実フォントは異なるが,
+JFMもサイズも同じなので,普通に「)【」と入力した時と同じように半角空きとなる.
+
+しかし,時には……
+
 %</ja>
-\begin{LTXexample}[width=0.4\textwidth]
+\begin{LTXexample}[width=0.3\textwidth]
 \ltjsetparameter{differentjfm=both}
-\jfont\F=file:ipam.ttf:jfm=ujis
-\jfont\G=file:ipag.ttf:jfm=ujis
-\jfont\H=file:ipag.ttf:jfm=ujis;jfmvar=hoge
+\jfont\F=file:KozMinPr6N-Regular.otf:jfm=ujis
+\jfont\G=file:KozGoPr6N-Medium.otf:jfm=ujis
+\jfont\H=file:KozGoPr6N-Medium.otf:jfm=ujis;jfmvar=hoge
 
 \F ){\G 【】}( % halfwidth space
    ){\H 『』}( % fullwidth space
@@ -2024,14 +2228,14 @@ JFMの名前を指定する.もし以前に指定されたJFMが読み込ま
 %<ja>\caption{\LuaTeX-ja に同梱されている JFM の違い}
 \label{tab-difjfm}
 \ltjsetparameter{jacharrange={+3}}
-\begin{center}\small
-\def\r#1{{\jfont\g=psft:Ryumin-Light:jfm=#1 at 14.43324pt \g
+\centering\small
+\def\r#1{{\jfont\g=file:KozMinPr6N-Regular.otf:jfm=#1 at 14.43324pt \g
 \setbox0=\vtop{\hsize=7\zw\noindent ◆◆◆◆◆◆◆
 ある日モモちゃんがお使いで迷子になって泣きました.}\copy0
 \vrule height 0pt depth \dp0}}
-\def\s#1{{\jfont\g=psft:Ryumin-Light:jfm=#1 at 14.43324pt \g
+\def\s#1{{\jfont\g=file:KozMinPr6N-Regular.otf:jfm=#1 at 14.43324pt \g
 \setbox0=\vtop{\hsize=7\zw\noindent ちょっと!何}\copy0}}
-\def\t#1{{\jfont\g=psft:Ryumin-Light:jfm=#1 at 19.24432pt \g
+\def\t#1{{\jfont\g=file:KozMinPr6N-Regular.otf:jfm=#1 at 19.24432pt \g
 \setbox0=\hbox{漢}%
 \vrule width 0.4pt height\ht0 depth\dp0\kern-.2pt\copy0
 \kern-\wd0\vrule width\wd0height .2pt depth .2pt
@@ -2051,7 +2255,6 @@ JFMの名前を指定する.もし以前に指定されたJFMが読み込ま
 Bounding Box&\t{ujis}&\t{jis}&\t{min}\\
 \bottomrule
 \end{tabular}
-\end{center}
 \ltjsetparameter{jacharrange={-3}}
 \end{table}
 
@@ -2095,6 +2298,40 @@ TODO: kanjiskip?
 \end{itemize}
 
 
+%<*ja>
+\paragraph{\texttt{extend}と\texttt{slant}}
+OpenType font featureと見かけ上同じような形式で指定できるものに,
+\begin{description}
+\item[\texttt{extend=}<extend>] 横方向に<extend>倍拡大する.
+\item[\texttt{slant=}<slant>] <slant>に指定された割合だけ傾ける.
+\end{description}  
+の2つがある.
+\texttt{extend}や\texttt{slant}を指定した場合は,それに応じたJFMを指定すべきである%
+\footnote{\LuaTeX-jaでは,これらに対するJFMを特に提供することはしない予定である.}.
+例えば,次の例では無理やり通常のJFMを使っているために,文字間隔やイタリック補正量が
+正しくない:
+%</ja>
+%<*en>
+\paragraph{\texttt{extend} and \texttt{slant}}
+The following setting can be specified as OpenType font features:
+\begin{description}
+\item[\texttt{extend=}<extend>] expand the font horizontally by <extend>.
+\item[\texttt{slant=}<slant>] slant the font.
+\end{description}
+Note that \LuaTeX-ja doesn't adjust JFMs by these \texttt{extend} and \texttt{slant}
+settings; you have to write new JFMs on purpose. 
+For example, the following example uses the standard JFM \texttt{jfm-ujis.lua}, hence
+letter-spacing and the width of italic correction are not correct:
+%</en>
+\begin{LTXexample}[width=0.3\textwidth]
+\jfont\E=file:KozMinPr6N-Regular.otf:extend=1.5;jfm=ujis
+\E あいうえお
+
+\jfont\S=file:KozMinPr6N-Regular.otf:slant=1;jfm=ujis
+\S あいう\/ABC
+\end{LTXexample}
+
+
 %<en>\subsection{Prefix \texttt{psft}}
 %<ja>\subsection{\texttt{psft}プリフィックス}
 \label{ssec-psft}
@@ -2105,9 +2342,12 @@ to specify a `name-only' Japanese font which
 will not be embedded to PDF. Typical use of this prefix is to specify
 the `standard' Japanese fonts, namely, `Ryumin-Light' and
 `GothicBBB-Medium'.
+
 \emph{OpenType font features, such as `{\tt +jp90}', 
 have no meaning in `name-only' fonts using this `{\tt psft:}'\ prefix.
 This is because we can't expect what fonts are actually used by the PDF reader.}
+Note that \texttt{extend}~and~\texttt{slant} settings (see~above) are supported
+with \texttt{psft} prefix, because they are only simple linear transformations.
 %</en>
 %<*ja>
 \texttt{file:} と \texttt{name:} のプリフィックスに加えて,
@@ -2116,8 +2356,13 @@ This is because we can't expect what fonts are actually used by the PDF reader.}
 このプリフィックスを用いることで,PDFには埋め込まれない「名前だけの」
 和文フォントを指定することができる.「標準的な」和文フォント,
 つまり`Ryumin-Light'と`GothicBBB-Medium'の指定でこのプリフィックスが使われる.
-\textbf{非埋込フォントをPDFに使用すると,実際にどのようなフォントが表示に用いられるか予測できない.
-本プリフィックス指定時には,\texttt{+jp90} などのOpenType font featureの効力はない.}
+
+\emph{\texttt{psft}プリフィックスの下では
+\texttt{+jp90} などのOpenType font featureの効力はない.
+非埋込フォントをPDFに使用すると,実際にどのようなフォントが
+表示に用いられるか予測できないからである.}
+\texttt{extend}と\texttt{slant}指定は単なる変形のため
+\texttt{psft}プリフィックスでも使用可能である.
 %</ja>
 
 %<en>\paragraph{\texttt{cid} key}
@@ -2186,40 +2431,6 @@ Please contact the LuaTeX-ja project team.
 ?
 \end{lstlisting}
 
-%<*ja>
-\paragraph{\texttt{extend}と\texttt{slant}}
-OpenType font featureと見かけ上同じような形式で指定できるものに,
-\begin{description}
-\item[\texttt{extend=}<extend>] 横方向に<extend>倍拡大する.
-\item[\texttt{slant=}<slant>] <slant>に指定された割合だけ傾ける.
-\end{description}  
-の2つがあり,これらだけは\texttt{psft}プリフィックスでも使用可能にしている.
-\texttt{extend}や\texttt{slant}を指定した場合は,それに応じたJFMを指定すべきである%
-\footnote{\LuaTeX-jaでは,これらに対するJFMを特に提供することはしない予定である.}.
-例えば,次の例では無理やり通常のJFMを使っているために,文字間隔やイタリック補正量が
-正しくない:
-%</ja>
-%<*en>
-\paragraph{\texttt{extend} and \texttt{slant}}
-The following setting can be specified as OpenType font features:
-\begin{description}
-\item[\texttt{extend=}<extend>] expand the font horizontally by <extend>.
-\item[\texttt{slant=}<slant>] slant the font.
-\end{description}
-These two settings are also supported with \texttt{psft} prefix.
-Note that \LuaTeX-ja doesn't adjust JFMs by these \texttt{extend} and \texttt{slant}
-settings; you have to write new JFMs on purpose. 
-For example, the following example uses the standard JFM \texttt{jfm-ujis.lua}, hence
-letter-spacing and the width of italic correction are not correct:
-%</en>
-\begin{LTXexample}[width=0.3\textwidth]
-\jfont\E=psft:Ryumin-Light:extend=1.5;jfm=ujis
-\E あいうえお
-
-\jfont\S=psft:Ryumin-Light:slant=1;jfm=ujis
-\S あいう\/ABC
-\end{LTXexample}
-
 %<en>\subsection{Structure of JFM file}
 %<ja>\subsection{JFMファイルの構造}
 
@@ -2565,7 +2776,7 @@ Furthermore, the glyph is shifted according to values of fields
 \end{lstlisting}
 句点「。」の幅は二分であるので
 \begin{LTXexample}
-\jfont\a=psft:Ryumin-Light:jfm=test;+vert
+\jfont\a=file:KozMinPr6N-Regular.otf:jfm=test;+vert
 \setbox0\hbox{\a 。\inhibitglue 漢}
 \the\wd0
 \end{LTXexample}
@@ -2580,8 +2791,8 @@ Furthermore, the glyph is shifted according to values of fields
 
 一方,「\texttt{'、*'}」のようにアスタリスクつきの指定があると,
 状況は異なってくる.
-\begin{LTXexample}
-\jfont\a=psft:Ryumin-Light:jfm=test;+vert
+\begin{LTXexample}[width=0.3\textwidth]
+\jfont\a=file:KozMinPr6N-Regular.otf:jfm=test;+vert
 \a 漢、\inhibitglue 漢
 \end{LTXexample}
 ここで,読点「、」の文字クラスは,以下のようにして決まる.
@@ -2594,13 +2805,13 @@ Furthermore, the glyph is shifted according to values of fields
 \end{enumerate}
 
 なお,置換後のグリフで判定した文字クラスの値が0でなければ,そちらをそのまま作用する.
-\begin{LTXexample}
-\jfont\a=psft:Ryumin-Light:jfm=test;+hwid
+\begin{LTXexample}[width=0.3\textwidth]
+\jfont\a=file:KozMinPr6N-Regular.otf:jfm=test;+hwid
 \a 漢ヒひ
 \end{LTXexample}
 上の例では,
 \texttt{hwid} featureにより,「ヒ」が半角の「ヒ」に置き換わるが,
-文字クラスは「ヒ」の属する0\textbf{ではなく},「ヒ」の属する2000となる.
+文字クラスは「ヒ」の属する0\emph{ではなく},「ヒ」の属する2000となる.
 %</ja>
 
 %<ja>\paragraph{仮想的な文字}
@@ -2684,7 +2895,7 @@ The following is the list of `imaginary characters':
 \texttt{'parbdd'}を入れれば全角下がりとなる.
 
 \begin{LTXexample}
-\jfont\g=psft:Ryumin-Light:jfm=test \g
+\jfont\g=file:KozMinPr6N-Regular.otf:jfm=test \g
 \parindent1\zw\noindent{}◆◆◆◆◆
 \par 「◆◆←二分下がり
 \par 【◆◆←全角下がり
@@ -2735,7 +2946,7 @@ you can set both \verb+\fam+ and \verb+\jfam+ to the same value.
 %<en>\caption{Control sequences for Japanese math fonts}
 %<ja>\caption{和文数式フォントに対する命令}
 \label{tab-math}
-\begin{center}
+\centering
 \def\{{\char`\{}\def\}{\char`\}}\small
 \begin{tabular}{ll}
 \toprule
@@ -2748,7 +2959,6 @@ you can set both \verb+\fam+ and \verb+\jfam+ to the same value.
 \tt\Param{jascriptscriptfont}\,=\{<jfam>,<jfont\_cs>\}&\tt\verb+\scriptscriptfont+<fam>=<font\_cs>\\
 \bottomrule
 \end{tabular}
-\end{center}
 \end{table}
 
 %<en>\subsection{Callbacks}
@@ -2831,7 +3041,7 @@ You may assume that \verb+jfont_info+ has the following fields:
 \item[\tt size\_cache]
 %<*ja>
 使用されているJFMの情報が格納されているテーブルで,
-\textbf{このテーブルを書き換えてはならない}.
+\emph{このテーブルを書き換えてはならない}.
 中身はほぼJFMファイルに書かれている唯一のテーブルであるが,次のように若干変わっている:
 \begin{itemize}
 \item 各文字クラス$i$に属する文字達のテーブル
@@ -3049,7 +3259,7 @@ character other than space~`\texttt{\char32}'~(U+0020) has the category code
 12~(other), while the space has 10~(space).
 %</en>
 %<*ja>
-\textbf{{\normalfont\tt\char92ltjgetparameter}の戻り値は常に文字列である.}
+\emph{{\normalfont\tt\char92ltjgetparameter}の戻り値は常に文字列である.}
 これは\texttt{tex.write()}によって出力しているためで,スペース`\texttt{\char32}'~(U+0020)を除いた文字のカテゴリーコードは全て12~(other)となる.
 一方,スペースのカテゴリーコードは10~(space)である.
 %</ja>
@@ -3294,7 +3504,7 @@ the beginning of a box and `あ', and also between `あ' and `ウ'.
 %</ja>
 
 \begin{LTXexample}
-\jfont\g=psft:Ryumin-Light:jfm=test \g
+\jfont\g=file:KozMinPr6N-Regular.otf:jfm=test \g
 \fbox{\hbox{あウあ\inhibitglue ウ}}
 \inhibitglue\par\noindent あ1
 \par\inhibitglue\noindent あ2
@@ -3339,6 +3549,11 @@ With the help of this example, we remark the specification of \verb+\inhibitglue
 %<*ja>
 \item \verb+\inhibitglue+ を数式モード中で呼び出した場合はただ無視される.
 %</ja>
+
+%<*ja>
+\item \LaTeX で\LuaTeX-ja を使用する場合は,
+\verb+\inhibitglue+ の代わりとして \verb+\<+ を使うことができる.
+%</ja>
 \end{itemize}
 
 %<en>\section{Control Sequences for \LaTeXe}
@@ -3463,7 +3678,7 @@ to <family>. Which family will be changed is determined as follows:
 %</en>
 %<*ja>
 元々の\LaTeXe におけるものと同様に,このコマンドは現在のフォントファミリ(欧文,
-和文,\textbf{もしくは両方})を<family>に変更する.
+和文,\emph{もしくは両方})を<family>に変更する.
 どのファミリが変更されるかは以下のようにして決定される:
 %</ja>
 \begin{itemize}
@@ -3529,9 +3744,10 @@ As closing this subsection, we shall introduce an example of
 紹介しておこう.\verb+\userelfont+ の使用によって,「abc」の部分のフォントが
 Avant Garde (OT1/pag/m/n) に変わっていることがわかる.
 %</ja>
-\begin{LTXexample}
-\kanjifamily{gt}\selectfont あいうxyz
-\SetRelationFont{JY3}{gt}{m}{n}{OT1}{pag}{m}{n}
+\begin{LTXexample}[width=0.3\textwidth]
+\makeatletter
+\SetRelationFont{JY3}{\k@family}{m}{n}{OT1}{pag}{m}{n}
+  % \k@family: current Japanese font family
 \userelfont\selectfont あいうabc
 \end{LTXexample}
 
@@ -4010,7 +4226,7 @@ Nodes for Japanese Characters which the callback process of
 \Pkg{luaotfload}のコールバックによる処理が適用されない和文文字のためのノードで,
 \texttt{value}フィールドにその文字のコードが格納されている.
 この \verb+user_id+ を持つノードはそれぞれが\Pkg{luaotfload}のコールバックの処理の
-\textbf{後で}`glyph\_node'に変換される.この \verb+user_id+ は %
+\emph{後で}`glyph\_node'に変換される.この \verb+user_id+ は %
 \Pkg{luatexja-otf} パッケージでのみ使用される.
 %</ja>
 
@@ -4092,7 +4308,7 @@ callback.
 %</en>
 %<*ja>
 \verb+unsave+ が \verb+filtered_hpack+(これは \verb+hpack_filter+ コールバックが
-実行されるところである)の\textbf{前に}実行されていることに注意する.
+実行されるところである)の\emph{前に}実行されていることに注意する.
 したがって,上記ソース中で`5\,pt'は \verb+unsave+ のところで捨てられ,
 \verb+hpack_filter+ からはアクセスすることができない.
 %</ja>
@@ -4309,7 +4525,7 @@ after `beginning/ending of a group' characters.
 \item[\textsf{G}] Beginning of group (usually \verb+{+)\\
  and ending of group (usually \verb+}+).
 \item[\textsf{J}] Japanese characters.
-\item[\textsf{5}] \textit{end-of-line} (usually \verb+^^J+).
+\item[\textsf{5}] \textit{end-of-line} (usually \verb+^+\verb+^J+).
 \item[\textsf{10}] space (usually \sp).
 \item[\textsf{O}] other characters, whose category code is in $\{3,4,6,7,8,11,12,13\}$.
 \item[\textsf{[\sp]}, \textsf{[{\tt\char92par}]}]
@@ -4319,7 +4535,7 @@ emits a space, or~\verb+\par+.
 \begin{itemize}
 \item We omitted about category codes
 9~(\textit{ignored}), 14~(\textit{comment})~and~15~(\textit{invalid})
-from the above diagram. We also ignored the input like `\verb+^^A+' or `\verb+^+\verb+^df+'.
+from the above diagram. We also ignored the input like `\verb+^+\verb+^A+' or `\verb+^+\verb+^df+'.
 \item When a character whose category code is 0 (\textit{escape character}) is seen by \TeX,
 the input processor scans a control sequence (\textsf{scan a c.s.}).
 These paths are not shown in the above diagram.
@@ -4397,7 +4613,7 @@ u
 以上を踏まえ,\LuaTeX-jaにおける「和文文字直後の改行抑制」の処理は,次のようになっている:
 
 \begin{quote}
-各入力行に対し,\textbf{その入力行が読まれる前の内部状態で}
+各入力行に対し,\emph{その入力行が読まれる前の内部状態で}
 以下の3条件が満たされている場合,\LuaTeX-jaはU+FFFFF番の文字
 \footnote{この文字はコメント文字として扱われるように\LuaTeX-ja内部で設定をしている.}
 を末尾に追加する.よって,その場合に改行は空白とは見做されないこととなる.
@@ -4476,7 +4692,7 @@ A \emph{cluster} is a list of consecutive nodes in one of the following forms,
 with the \textit{id} of it:
 %</en>
 %<*ja>
-\textbf{クラスタ}は以下の形のうちのどれかひとつをとる連続的なノードのリストである:
+\emph{クラスタ}は以下の形のうちのどれかひとつをとる連続的なノードのリストである:
 %</ja>
 \begin{enumerate}
 %<*en>
@@ -4613,7 +4829,7 @@ $\mathit{Np}.\mathit{head}$, $\mathit{Np}.\mathit{tail}$は,その和文文字
 \hbox{\hbox{abc}...\hbox{\lower1pt\hbox{xyz}}}
 \end{verbatim}
 のように,$p$の内容が別の水平ボックスで開始・終了している可能性も十分あり得る.そのような場合,
-$\mathit{Np}.\mathit{head}$, $\mathit{Np}.\mathit{tail}$の算出は,\textbf{垂直方向にシフトされていない}水平ボックスの
+$\mathit{Np}.\mathit{head}$, $\mathit{Np}.\mathit{tail}$の算出は,\emph{垂直方向にシフトされていない}水平ボックスの
 場合だけ内部を再帰的に探索する.例えば上の例では,$\mathit{Np}.\mathit{head}$は文字「a」を表すノードであり,
 一方$\mathit{Np}.\mathit{tail}$は垂直方向にシフトされた水平ボックス,\verb+\lower1pt\hbox{xyz}+に対応するノードである.
 \item また,先頭にアクセント付きの文字がきたり,末尾にイタリック補正用のカーンが
@@ -4723,7 +4939,7 @@ $g$は「文字コード\texttt{'boxbdd'}の文字」と\textit{Np}の間に入
 \longrightarrow \Node{glue or kern}{右空白}\longrightarrow \Node{cluster}{\textit{Np}}
 \]
 
-以後,\textbf{典型的な例として,クラスタ\textit{Nq}と\textit{Np}が共に\textsf{\textmd{和文A}}である場合を見ていこう,}
+以後,\emph{典型的な例として,クラスタ\textit{Nq}と\textit{Np}が共に\textsf{\textmd{和文A}}である場合を見ていこう,}
 この場合が全ての場合の基本となる.
 
 \paragraph{「右空白」の算出}
@@ -5328,7 +5544,7 @@ listing environments.
 \item 通常の\TeX の行分割方法に従って,段落を行分割する.この段階では,行
       長に半端が出た場合,その半端分は\Param{\hyperlink{fld:xks}{xkanjiskip}},
       \Param{\hyperlink{fld:kanjiskip}{kanjiskip}},JFMグルーの全てで(優先順位なく)負担される.
-\item その後,\texttt{post\_linebreak\_filter} callbackを使い,\textbf{段
+\item その後,\texttt{post\_linebreak\_filter} callbackを使い,\emph{段
       落中の各行ごとに},行末文字の位置を調整したり,優先度付きの行長調整
       を実現するためにグルーの伸縮度を調整する.
 \texttt{luatexja-adjust.sty} の作用は,このcallbackを追加するだけであり,
@@ -5339,7 +5555,7 @@ listing environments.
 グルーの伸縮度(\texttt{plus} や \texttt{minus} で指定されている値)には,
 有限値の他に,\texttt{fi},\texttt{fil},\texttt{fill},\texttt{filll}と
 いう4つの無限大レベル(後ろの方ほど大きい)があり,行の調整に
-\texttt{fi} などの\textbf{無限大レベルの伸縮度が用いられている場合は,そ
+\texttt{fi} などの\emph{無限大レベルの伸縮度が用いられている場合は,そ
 の行に対しての処理を中止}する.
 
 よって,以降,問題にしている行の行長調整は伸縮度が有限長のグルーを用いて
@@ -5406,419 +5622,6 @@ Victor Eijkhout,  \emph{\TeX\ by Topic, A \TeX nician's Reference}, Addison-Wesl
 
 \newpage
 \appendix
-\batchmode
-%<en>\section{The category code of non-kanji characters defined in JIS~X~0213}
-%<ja>\section{\LuaTeX-jaにおけるJIS~X~0213非漢字のcatcode}
-
-%<*en>
-In these tables, the default catcode (\LuaTeX-ja) and kcatcode ((u)\pTeX) of non-kanji
-characters defined in JIS~X~0213 from row 1 to row 13 is summarized.
-Each character is printed as follows:
-%</en>
-%<*ja>
-ここでは,JIS~X~0213の非漢字部分(第1区〜第13区)のうち,
-どの文字が(u)\pTeX や\LuaTeX-jaで制御綴内に使用可能かを表にしてまとめる.
-各文字は
-%</ja>
-\begin{center}
-\tt\fboxsep=1pt\fbox{\hbox to \zw{\gt あ\hss}}\,\scriptsize LUP
-\end{center}
-%<*ja>
-のように表示しており,各文字は次の意味を持っている.
-この表の生成は,JIS~X~0208の範囲内の文字については\verb+\jis+命令を使って行なっている.
-%</ja>
-%<*en>
-The tables are generated by using \verb+\jis+ command for characters included in
-JIS~X~0208.
-Each character in the tables means:
-%</en>
-\begin{itemize}
-%<*en>
-\item The background of a character regarded as \textbf{ALchar} in \LuaTeX-ja
-  is colored light blue.
-%</en>
-%<*ja>
-\item 背景が薄く青く塗られている文字は,
-\LuaTeX-ja の標準で\textbf{ALchar}として認識されている文字である.
-%</ja>
-
-%<*en>
-\item The first letter {\tt L} means that the character is available for
-  the name of a control sequence in \XeTeX{} and \LuaTeX-ja (its catcode is 11).
-%</en>
-%<*ja>
-\item 1文字目の {\tt L} は,\XeTeX や\LuaTeX-jaにおいてこの文字が制御綴内に
-使用可能(catcodeが11)であることを表している.
-%</ja>
-
-%<*en>
-\item The second letter {\tt U} means that the character is available for
-  the name of a control sequence in \upTeX{} (its kcatcode is 16 or 17).
-  \upTeX{} regards these characters as Japanese character.
-%</en>
-%<*ja>
-\item 2文字目の{\tt U} は,\upTeX においてこの文字が制御綴内に使用可能(kcatcodeは16,~17)であることを
-表している.この範囲内では,\upTeX は標準で全文字を和文文字として扱うようである.
-%</ja>
-
-%<*en>
-\item The third letter {\tt P} means that the character is available for
-  the name of a control sequence in \pTeX{} (its kcatcode is 16 or 17).
-%</en>
-%<*ja>
-\item 3文字目の {\tt P} は,\pTeX においてこの文字が制御綴内に使用可能(kcatcodeは16,~17)であることを
-表している.
-%</ja>
-
-%<*en>
-\item If the third letter is {\tt -} (or the character is printed in red),
-  the character is not included in JIS~X~0208.
-  Therefore, you can consider the character is not available in \pTeX.
-%</en>
-%<*ja>
-\item 3文字目が{\tt -}となっているもの(本体の文字も赤身がかっている)は,
-JIS~X~0208にないため\pTeX では使用不能と考えて良いものである.
-%</ja>
-
-%<en>\item The kana for Japanese syllable beginning with a voiced velar nasal
-%<en>      consonant.kana in rows 4~and~5 are omitted.
-%<ja>\item 第4区と第5区にある,鼻濁音の仮名については省略した.
-\end{itemize}
-
-
-\makeatletter
-\def\uplist{% upTeX で \kcatcode!=18 なもの
-  \@elt {8486}\@elt {8491}\@elt {8492}\@elt {8499}\@elt {8500}\@elt {8501}%
-  \@elt {8502}\@elt {8504}\@elt {8508}\@elt {9008}\@elt {9009}\@elt {9010}%
-  \@elt {9011}\@elt {9012}\@elt {9013}\@elt {9014}\@elt {9015}\@elt {9016}%
-  \@elt {9017}\@elt {9025}\@elt {9026}\@elt {9027}\@elt {9028}\@elt {9029}%
-  \@elt {9030}\@elt {9031}\@elt {9032}\@elt {9033}\@elt {9034}\@elt {9035}%
-  \@elt {9036}\@elt {9037}\@elt {9038}\@elt {9039}\@elt {9040}\@elt {9041}%
-  \@elt {9042}\@elt {9043}\@elt {9044}\@elt {9045}\@elt {9046}\@elt {9047}%
-  \@elt {9048}\@elt {9049}\@elt {9050}\@elt {9057}\@elt {9058}\@elt {9059}%
-  \@elt {9060}\@elt {9061}\@elt {9062}\@elt {9063}\@elt {9064}\@elt {9065}%
-  \@elt {9066}\@elt {9067}\@elt {9068}\@elt {9069}\@elt {9070}\@elt {9071}%
-  \@elt {9072}\@elt {9073}\@elt {9074}\@elt {9075}\@elt {9076}\@elt {9077}%
-  \@elt {9078}\@elt {9079}\@elt {9080}\@elt {9081}\@elt {9082}\@elt {9249}%
-  \@elt {9250}\@elt {9251}\@elt {9252}\@elt {9253}\@elt {9254}\@elt {9255}%
-  \@elt {9256}\@elt {9257}\@elt {9258}\@elt {9259}\@elt {9260}\@elt {9261}%
-  \@elt {9262}\@elt {9263}\@elt {9264}\@elt {9265}\@elt {9266}\@elt {9267}%
-  \@elt {9268}\@elt {9269}\@elt {9270}\@elt {9271}\@elt {9272}\@elt {9273}%
-  \@elt {9274}\@elt {9275}\@elt {9276}\@elt {9277}\@elt {9278}\@elt {9279}%
-  \@elt {9280}\@elt {9281}\@elt {9282}\@elt {9283}\@elt {9284}\@elt {9285}%
-  \@elt {9286}\@elt {9287}\@elt {9288}\@elt {9289}\@elt {9290}\@elt {9291}%
-  \@elt {9292}\@elt {9293}\@elt {9294}\@elt {9295}\@elt {9296}\@elt {9297}%
-  \@elt {9298}\@elt {9299}\@elt {9300}\@elt {9301}\@elt {9302}\@elt {9303}%
-  \@elt {9304}\@elt {9305}\@elt {9306}\@elt {9307}\@elt {9308}\@elt {9309}%
-  \@elt {9310}\@elt {9311}\@elt {9312}\@elt {9313}\@elt {9314}\@elt {9315}%
-  \@elt {9316}\@elt {9317}\@elt {9318}\@elt {9319}\@elt {9320}\@elt {9321}%
-  \@elt {9322}\@elt {9323}\@elt {9324}\@elt {9325}\@elt {9326}\@elt {9327}%
-  \@elt {9328}\@elt {9329}\@elt {9330}\@elt {9331}\@elt {9505}\@elt {9506}%
-  \@elt {9507}\@elt {9508}\@elt {9509}\@elt {9510}\@elt {9511}\@elt {9512}%
-  \@elt {9513}\@elt {9514}\@elt {9515}\@elt {9516}\@elt {9517}\@elt {9518}%
-  \@elt {9519}\@elt {9520}\@elt {9521}\@elt {9522}\@elt {9523}\@elt {9524}%
-  \@elt {9525}\@elt {9526}\@elt {9527}\@elt {9528}\@elt {9529}\@elt {9530}%
-  \@elt {9531}\@elt {9532}\@elt {9533}\@elt {9534}\@elt {9535}\@elt {9536}%
-  \@elt {9537}\@elt {9538}\@elt {9539}\@elt {9540}\@elt {9541}\@elt {9542}%
-  \@elt {9543}\@elt {9544}\@elt {9545}\@elt {9546}\@elt {9547}\@elt {9548}%
-  \@elt {9549}\@elt {9550}\@elt {9551}\@elt {9552}\@elt {9553}\@elt {9554}%
-  \@elt {9555}\@elt {9556}\@elt {9557}\@elt {9558}\@elt {9559}\@elt {9560}%
-  \@elt {9561}\@elt {9562}\@elt {9563}\@elt {9564}\@elt {9565}\@elt {9566}%
-  \@elt {9567}\@elt {9568}\@elt {9569}\@elt {9570}\@elt {9571}\@elt {9572}%
-  \@elt {9573}\@elt {9574}\@elt {9575}\@elt {9576}\@elt {9577}\@elt {9578}%
-  \@elt {9579}\@elt {9580}\@elt {9581}\@elt {9582}\@elt {9583}\@elt {9584}%
-  \@elt {9585}\@elt {9586}\@elt {9587}\@elt {9588}\@elt {9589}\@elt {9590}%
-  % ここから JIS X 0213
-  \@elt {8760}\@elt {8761}\@elt {9083}\@elt {9332}\@elt {9333}\@elt {9334}%
-  \@elt {9335}\@elt {9336}\@elt {9337}\@elt {9338}\@elt {9339}\@elt {9591}%
-  \@elt {9592}\@elt {9593}\@elt {9594}\@elt {9595}\@elt {9596}\@elt {9597}%
-  \@elt {9598}\@elt {9838}\@elt {9839}\@elt {9840}\@elt {9841}\@elt {9842}%
-  \@elt {9843}\@elt {9844}\@elt {9845}\@elt {9846}\@elt {9847}\@elt {9848}%
-  \@elt {9849}\@elt {9850}\@elt {9851}\@elt {9852}\@elt {9853}\@elt {9854}%
-  \@elt {10098}\@elt {10099}\@elt {10100}\@elt {10101}%
-}
-\def\plist{% pTeX で \kcatcode!=18 なもの
-  \@elt {8993}\@elt {8994}\@elt {8995}\@elt {8996}\@elt {8997}\@elt {8998}%
-  \@elt {8999}\@elt {9000}\@elt {9001}\@elt {9002}\@elt {9003}\@elt {9004}%
-  \@elt {9005}\@elt {9006}\@elt {9007}\@elt {9008}\@elt {9009}\@elt {9010}%
-  \@elt {9011}\@elt {9012}\@elt {9013}\@elt {9014}\@elt {9015}\@elt {9016}%
-  \@elt {9017}\@elt {9018}\@elt {9019}\@elt {9020}\@elt {9021}\@elt {9022}%
-  \@elt {9023}\@elt {9024}\@elt {9025}\@elt {9026}\@elt {9027}\@elt {9028}%
-  \@elt {9029}\@elt {9030}\@elt {9031}\@elt {9032}\@elt {9033}\@elt {9034}%
-  \@elt {9035}\@elt {9036}\@elt {9037}\@elt {9038}\@elt {9039}\@elt {9040}%
-  \@elt {9041}\@elt {9042}\@elt {9043}\@elt {9044}\@elt {9045}\@elt {9046}%
-  \@elt {9047}\@elt {9048}\@elt {9049}\@elt {9050}\@elt {9051}\@elt {9052}%
-  \@elt {9053}\@elt {9054}\@elt {9055}\@elt {9056}\@elt {9057}\@elt {9058}%
-  \@elt {9059}\@elt {9060}\@elt {9061}\@elt {9062}\@elt {9063}\@elt {9064}%
-  \@elt {9065}\@elt {9066}\@elt {9067}\@elt {9068}\@elt {9069}\@elt {9070}%
-  \@elt {9071}\@elt {9072}\@elt {9073}\@elt {9074}\@elt {9075}\@elt {9076}%
-  \@elt {9077}\@elt {9078}\@elt {9079}\@elt {9080}\@elt {9081}\@elt {9082}%
-  \@elt {9083}\@elt {9084}\@elt {9085}\@elt {9086}\@elt {9249}\@elt {9250}%
-  \@elt {9251}\@elt {9252}\@elt {9253}\@elt {9254}\@elt {9255}\@elt {9256}%
-  \@elt {9257}\@elt {9258}\@elt {9259}\@elt {9260}\@elt {9261}\@elt {9262}%
-  \@elt {9263}\@elt {9264}\@elt {9265}\@elt {9266}\@elt {9267}\@elt {9268}%
-  \@elt {9269}\@elt {9270}\@elt {9271}\@elt {9272}\@elt {9273}\@elt {9274}%
-  \@elt {9275}\@elt {9276}\@elt {9277}\@elt {9278}\@elt {9279}\@elt {9280}%
-  \@elt {9281}\@elt {9282}\@elt {9283}\@elt {9284}\@elt {9285}\@elt {9286}%
-  \@elt {9287}\@elt {9288}\@elt {9289}\@elt {9290}\@elt {9291}\@elt {9292}%
-  \@elt {9293}\@elt {9294}\@elt {9295}\@elt {9296}\@elt {9297}\@elt {9298}%
-  \@elt {9299}\@elt {9300}\@elt {9301}\@elt {9302}\@elt {9303}\@elt {9304}%
-  \@elt {9305}\@elt {9306}\@elt {9307}\@elt {9308}\@elt {9309}\@elt {9310}%
-  \@elt {9311}\@elt {9312}\@elt {9313}\@elt {9314}\@elt {9315}\@elt {9316}%
-  \@elt {9317}\@elt {9318}\@elt {9319}\@elt {9320}\@elt {9321}\@elt {9322}%
-  \@elt {9323}\@elt {9324}\@elt {9325}\@elt {9326}\@elt {9327}\@elt {9328}%
-  \@elt {9329}\@elt {9330}\@elt {9331}\@elt {9332}\@elt {9333}\@elt {9334}%
-  \@elt {9335}\@elt {9336}\@elt {9337}\@elt {9338}\@elt {9339}\@elt {9340}%
-  \@elt {9341}\@elt {9342}\@elt {9505}\@elt {9506}\@elt {9507}\@elt {9508}%
-  \@elt {9509}\@elt {9510}\@elt {9511}\@elt {9512}\@elt {9513}\@elt {9514}%
-  \@elt {9515}\@elt {9516}\@elt {9517}\@elt {9518}\@elt {9519}\@elt {9520}%
-  \@elt {9521}\@elt {9522}\@elt {9523}\@elt {9524}\@elt {9525}\@elt {9526}%
-  \@elt {9527}\@elt {9528}\@elt {9529}\@elt {9530}\@elt {9531}\@elt {9532}%
-  \@elt {9533}\@elt {9534}\@elt {9535}\@elt {9536}\@elt {9537}\@elt {9538}%
-  \@elt {9539}\@elt {9540}\@elt {9541}\@elt {9542}\@elt {9543}\@elt {9544}%
-  \@elt {9545}\@elt {9546}\@elt {9547}\@elt {9548}\@elt {9549}\@elt {9550}%
-  \@elt {9551}\@elt {9552}\@elt {9553}\@elt {9554}\@elt {9555}\@elt {9556}%
-  \@elt {9557}\@elt {9558}\@elt {9559}\@elt {9560}\@elt {9561}\@elt {9562}%
-  \@elt {9563}\@elt {9564}\@elt {9565}\@elt {9566}\@elt {9567}\@elt {9568}%
-  \@elt {9569}\@elt {9570}\@elt {9571}\@elt {9572}\@elt {9573}\@elt {9574}%
-  \@elt {9575}\@elt {9576}\@elt {9577}\@elt {9578}\@elt {9579}\@elt {9580}%
-  \@elt {9581}\@elt {9582}\@elt {9583}\@elt {9584}\@elt {9585}\@elt {9586}%
-  \@elt {9587}\@elt {9588}\@elt {9589}\@elt {9590}\@elt {9591}\@elt {9592}%
-  \@elt {9593}\@elt {9594}\@elt {9595}\@elt {9596}\@elt {9597}\@elt {9598}%
-  \@elt {9761}\@elt {9762}\@elt {9763}\@elt {9764}\@elt {9765}\@elt {9766}%
-  \@elt {9767}\@elt {9768}\@elt {9769}\@elt {9770}\@elt {9771}\@elt {9772}%
-  \@elt {9773}\@elt {9774}\@elt {9775}\@elt {9776}\@elt {9777}\@elt {9778}%
-  \@elt {9779}\@elt {9780}\@elt {9781}\@elt {9782}\@elt {9783}\@elt {9784}%
-  \@elt {9785}\@elt {9786}\@elt {9787}\@elt {9788}\@elt {9789}\@elt {9790}%
-  \@elt {9791}\@elt {9792}\@elt {9793}\@elt {9794}\@elt {9795}\@elt {9796}%
-  \@elt {9797}\@elt {9798}\@elt {9799}\@elt {9800}\@elt {9801}\@elt {9802}%
-  \@elt {9803}\@elt {9804}\@elt {9805}\@elt {9806}\@elt {9807}\@elt {9808}%
-  \@elt {9809}\@elt {9810}\@elt {9811}\@elt {9812}\@elt {9813}\@elt {9814}%
-  \@elt {9815}\@elt {9816}\@elt {9817}\@elt {9818}\@elt {9819}\@elt {9820}%
-  \@elt {9821}\@elt {9822}\@elt {9823}\@elt {9824}\@elt {9825}\@elt {9826}%
-  \@elt {9827}\@elt {9828}\@elt {9829}\@elt {9830}\@elt {9831}\@elt {9832}%
-  \@elt {9833}\@elt {9834}\@elt {9835}\@elt {9836}\@elt {9837}\@elt {9838}%
-  \@elt {9839}\@elt {9840}\@elt {9841}\@elt {9842}\@elt {9843}\@elt {9844}%
-  \@elt {9845}\@elt {9846}\@elt {9847}\@elt {9848}\@elt {9849}\@elt {9850}%
-  \@elt {9851}\@elt {9852}\@elt {9853}\@elt {9854}%
-}
-
-\def\jlist{% JIS X 0213 だけにあるもの
-\@elt{"222F}{"FF07}\@elt{"2230}{"FF02}\@elt{"2231}{"FF0D}\@elt{"2232}{"FF5E}%
-\@elt{"2233}{"3033}\@elt{"2234}{"3034}\@elt{"2235}{"3035}\@elt{"2236}{"303B}%
-\@elt{"2237}{"303C}\@elt{"2238}{"30FF}\@elt{"2239}{"309F}\@elt{"2242}{"2284}%
-\@elt{"2243}{"2285}\@elt{"2244}{"228A}\@elt{"2245}{"228B}\@elt{"2246}{"2209}%
-\@elt{"2247}{"2205}\@elt{"2248}{"2305}\@elt{"2249}{"2306}\@elt{"2251}{"2295}%
-\@elt{"2252}{"2296}\@elt{"2253}{"2297}\@elt{"2254}{"2225}\@elt{"2255}{"2226}%
-\@elt{"2256}{"FF5F}\@elt{"2257}{"FF60}\@elt{"2258}{"3018}\@elt{"2259}{"3019}%
-\@elt{"225A}{"3016}\@elt{"225B}{"3017}\@elt{"226B}{"2262}\@elt{"226C}{"2243}%
-\@elt{"226D}{"2245}\@elt{"226E}{"2248}\@elt{"226F}{"2276}\@elt{"2270}{"2277}%
-\@elt{"2271}{"2194}\@elt{"227A}{"266E}\@elt{"227B}{"266B}\@elt{"227C}{"266C}%
-\@elt{"227D}{"2669}\@elt{"2321}{"25B7}\@elt{"2322}{"25B6}\@elt{"2323}{"25C1}%
-\@elt{"2324}{"25C0}\@elt{"2325}{"2197}\@elt{"2326}{"2198}\@elt{"2327}{"2196}%
-\@elt{"2328}{"2199}\@elt{"2329}{"21C4}\@elt{"232A}{"21E8}\@elt{"232B}{"21E6}%
-\@elt{"232C}{"21E7}\@elt{"232D}{"21E9}\@elt{"232E}{"2934}\@elt{"232F}{"2935}%
-\@elt{"233A}{"29BF}\@elt{"233B}{"25C9}\@elt{"233C}{"303D}\@elt{"233D}{"FE46}%
-\@elt{"233E}{"FE45}\@elt{"233F}{"25E6}\@elt{"2340}{"2022}\@elt{"235B}{"2213}%
-\@elt{"235C}{"2135}\@elt{"235D}{"210F}\@elt{"235E}{"33CB}\@elt{"235F}{"2113}%
-\@elt{"2360}{"2127}\@elt{"237B}{"30A0}\@elt{"237C}{"2013}\@elt{"237D}{"29FA}%
-\@elt{"237E}{"29FB}\@elt{"2474}{"3094}\@elt{"2475}{"3095}\@elt{"2476}{"3096}%
-\@elt{"2639}{"2664}\@elt{"263A}{"2660}\@elt{"263B}{"2662}%
-\@elt{"263C}{"2666}\@elt{"263D}{"2661}\@elt{"263E}{"2665}\@elt{"263F}{"2667}%
-\@elt{"2640}{"2663}\@elt{"2659}{"03C2}\@elt{"265A}{"24F5}\@elt{"265B}{"24F6}%
-\@elt{"265C}{"24F7}\@elt{"265D}{"24F8}\@elt{"265E}{"24F9}\@elt{"265F}{"24FA}%
-\@elt{"2660}{"24FB}\@elt{"2661}{"24FC}\@elt{"2662}{"24FD}\@elt{"2663}{"24FE}%
-\@elt{"2664}{"2616}\@elt{"2665}{"2617}\@elt{"2666}{"3020}\@elt{"2667}{"260E}%
-\@elt{"2668}{"2600}\@elt{"2669}{"2601}\@elt{"266A}{"2602}\@elt{"266B}{"2603}%
-\@elt{"266C}{"2668}\@elt{"266D}{"25B1}\@elt{"266E}{"31F0}\@elt{"266F}{"31F1}%
-\@elt{"2670}{"31F2}\@elt{"2671}{"31F3}\@elt{"2672}{"31F4}\@elt{"2673}{"31F5}%
-\@elt{"2674}{"31F6}\@elt{"2675}{"31F7}\@elt{"2676}{"31F8}\@elt{"2677}{"31F9}%
-\@elt{"2678}{"31F7}\@elt{"2679}{"31FA}\@elt{"267A}{"31FB}\@elt{"267B}{"31FC}%
-\@elt{"267C}{"31FD}\@elt{"267D}{"31FE}\@elt{"267E}{"31FF}\@elt{"2742}{"23BE}%
-\@elt{"2743}{"23BF}\@elt{"2744}{"23C0}\@elt{"2745}{"23C1}\@elt{"2746}{"23C2}%
-\@elt{"2747}{"23C3}\@elt{"2748}{"23C4}\@elt{"2749}{"23C5}\@elt{"274A}{"23C6}%
-\@elt{"274B}{"23C7}\@elt{"274C}{"23C8}\@elt{"274D}{"23C9}\@elt{"274E}{"23CA}%
-\@elt{"274F}{"23CB}\@elt{"2750}{"23CC}\@elt{"2772}{"30F7}\@elt{"2773}{"30F8}%
-\@elt{"2774}{"30F9}\@elt{"2775}{"30FA}\@elt{"2776}{"22DA}\@elt{"2777}{"22DB}%
-\@elt{"2778}{"2153}\@elt{"2779}{"2154}\@elt{"277A}{"2155}\@elt{"277B}{"2713}%
-\@elt{"277C}{"2318}\@elt{"277D}{"2423}\@elt{"277E}{"23CE}\@elt{"2841}{"3251}%
-\@elt{"2842}{"3252}\@elt{"2843}{"3253}\@elt{"2844}{"3254}\@elt{"2845}{"3255}%
-\@elt{"2846}{"3256}\@elt{"2847}{"3257}\@elt{"2848}{"3258}\@elt{"2849}{"3259}%
-\@elt{"284A}{"325A}\@elt{"284B}{"325B}\@elt{"284C}{"325C}\@elt{"284D}{"325D}%
-\@elt{"284E}{"325E}\@elt{"284F}{"325F}\@elt{"2850}{"32B1}\@elt{"2851}{"32B2}%
-\@elt{"2852}{"32B3}\@elt{"2853}{"32B4}\@elt{"2854}{"32B5}\@elt{"2855}{"32B6}%
-\@elt{"2856}{"32B7}\@elt{"2857}{"32B8}\@elt{"2858}{"32B9}\@elt{"2859}{"32BA}%
-\@elt{"285A}{"32BB}\@elt{"285B}{"32BC}\@elt{"285C}{"32BD}\@elt{"285D}{"32BE}%
-\@elt{"285E}{"32BF}\@elt{"2867}{"25D0}\@elt{"2868}{"25D1}\@elt{"2869}{"25D2}%
-\@elt{"286A}{"25D3}\@elt{"286B}{"203C}\@elt{"286C}{"2047}\@elt{"286D}{"2048}%
-\@elt{"286E}{"2049}\@elt{"286F}{"01CD}\@elt{"2870}{"01CE}\@elt{"2871}{"01D0}%
-\@elt{"2872}{"1E3E}\@elt{"2873}{"1E3F}\@elt{"2874}{"01F8}\@elt{"2875}{"01F9}%
-\@elt{"2876}{"01D1}\@elt{"2877}{"01D2}\@elt{"2878}{"01D4}\@elt{"2879}{"01D6}%
-\@elt{"287A}{"01D8}\@elt{"287B}{"01DA}\@elt{"287C}{"01DC}\@elt{"2921}{"20AC}%
-\@elt{"2922}{"00A0}\@elt{"2923}{"00A1}\@elt{"2924}{"00A4}\@elt{"2925}{"00A6}%
-\@elt{"2926}{"00A9}\@elt{"2927}{"00AA}\@elt{"2928}{"00AB}\@elt{"2929}{"00AD}%
-\@elt{"292A}{"00AE}\@elt{"292B}{"00AF}\@elt{"292C}{"00B2}\@elt{"292D}{"00B3}%
-\@elt{"292E}{"00B7}\@elt{"292F}{"00B8}\@elt{"2930}{"00B9}\@elt{"2931}{"00BA}%
-\@elt{"2932}{"00BB}\@elt{"2933}{"00BC}\@elt{"2934}{"00BD}\@elt{"2935}{"00BE}%
-\@elt{"2936}{"00BF}\@elt{"2937}{"00C0}\@elt{"2938}{"00C1}\@elt{"2939}{"00C2}%
-\@elt{"293A}{"00C3}\@elt{"293B}{"00C4}\@elt{"293C}{"00C5}\@elt{"293D}{"00C6}%
-\@elt{"293E}{"00C7}\@elt{"293F}{"00C8}\@elt{"2940}{"00C9}\@elt{"2941}{"00CA}%
-\@elt{"2942}{"00CB}\@elt{"2943}{"00CC}\@elt{"2944}{"00CD}\@elt{"2945}{"00CE}%
-\@elt{"2946}{"00CF}\@elt{"2947}{"00D0}\@elt{"2948}{"00D1}\@elt{"2949}{"00D2}%
-\@elt{"294A}{"00D3}\@elt{"294B}{"00D4}\@elt{"294C}{"00D5}\@elt{"294D}{"00D6}%
-\@elt{"294E}{"00D8}\@elt{"294F}{"00D9}\@elt{"2950}{"00DA}\@elt{"2951}{"00DB}%
-\@elt{"2952}{"00DC}\@elt{"2953}{"00DD}\@elt{"2954}{"00DE}\@elt{"2955}{"00DF}%
-\@elt{"2956}{"00E0}\@elt{"2957}{"00E1}\@elt{"2958}{"00E2}\@elt{"2959}{"00E3}%
-\@elt{"295A}{"00E4}\@elt{"295B}{"00E5}\@elt{"295C}{"00E6}\@elt{"295D}{"00E7}%
-\@elt{"295E}{"00E8}\@elt{"295F}{"00E9}\@elt{"2960}{"00EA}\@elt{"2961}{"00EB}%
-\@elt{"2962}{"00EC}\@elt{"2963}{"00ED}\@elt{"2964}{"00EE}\@elt{"2965}{"00EF}%
-\@elt{"2966}{"00F0}\@elt{"2967}{"00F1}\@elt{"2968}{"00F2}\@elt{"2969}{"00F3}%
-\@elt{"296A}{"00F4}\@elt{"296B}{"00F5}\@elt{"296C}{"00F6}\@elt{"296D}{"00F8}%
-\@elt{"296E}{"00F9}\@elt{"296F}{"00FA}\@elt{"2970}{"00FB}\@elt{"2971}{"00FC}%
-\@elt{"2972}{"00FD}\@elt{"2973}{"00FE}\@elt{"2974}{"00FF}\@elt{"2975}{"0100}%
-\@elt{"2976}{"012A}\@elt{"2977}{"016A}\@elt{"2978}{"0112}\@elt{"2979}{"014C}%
-\@elt{"297A}{"0101}\@elt{"297B}{"012B}\@elt{"297C}{"016B}\@elt{"297D}{"0113}%
-\@elt{"297E}{"014D}\@elt{"2A21}{"0104}\@elt{"2A22}{"02D8}\@elt{"2A23}{"0141}%
-\@elt{"2A24}{"013D}\@elt{"2A25}{"015A}\@elt{"2A26}{"0160}\@elt{"2A27}{"015E}%
-\@elt{"2A28}{"0164}\@elt{"2A29}{"0179}\@elt{"2A2A}{"017D}\@elt{"2A2B}{"017B}%
-\@elt{"2A2C}{"0105}\@elt{"2A2D}{"02DB}\@elt{"2A2E}{"0142}\@elt{"2A2F}{"013E}%
-\@elt{"2A30}{"015B}\@elt{"2A31}{"02C7}\@elt{"2A32}{"0161}\@elt{"2A33}{"015F}%
-\@elt{"2A34}{"0165}\@elt{"2A35}{"017A}\@elt{"2A36}{"02DD}\@elt{"2A37}{"017E}%
-\@elt{"2A38}{"017C}\@elt{"2A39}{"0154}\@elt{"2A3A}{"0102}\@elt{"2A3B}{"0139}%
-\@elt{"2A3C}{"0106}\@elt{"2A3D}{"010C}\@elt{"2A3E}{"0118}\@elt{"2A3F}{"011A}%
-\@elt{"2A40}{"010E}\@elt{"2A41}{"0143}\@elt{"2A42}{"0147}\@elt{"2A43}{"0150}%
-\@elt{"2A44}{"0158}\@elt{"2A45}{"016E}\@elt{"2A46}{"0170}\@elt{"2A47}{"0162}%
-\@elt{"2A48}{"0155}\@elt{"2A49}{"0103}\@elt{"2A4A}{"013A}\@elt{"2A4B}{"0107}%
-\@elt{"2A4C}{"010D}\@elt{"2A4D}{"0119}\@elt{"2A4E}{"011B}\@elt{"2A4F}{"010F}%
-\@elt{"2A50}{"0111}\@elt{"2A51}{"0144}\@elt{"2A52}{"0148}\@elt{"2A53}{"0151}%
-\@elt{"2A54}{"0159}\@elt{"2A55}{"016F}\@elt{"2A56}{"0171}\@elt{"2A57}{"0163}%
-\@elt{"2A58}{"02D9}\@elt{"2A59}{"0108}\@elt{"2A5A}{"011C}\@elt{"2A5B}{"0124}%
-\@elt{"2A5C}{"0134}\@elt{"2A5D}{"015C}\@elt{"2A5E}{"016C}\@elt{"2A5F}{"0109}%
-\@elt{"2A60}{"011D}\@elt{"2A61}{"0125}\@elt{"2A62}{"0135}\@elt{"2A63}{"015D}%
-\@elt{"2A64}{"016D}\@elt{"2A65}{"0271}\@elt{"2A66}{"028B}\@elt{"2A67}{"027E}%
-\@elt{"2A68}{"0283}\@elt{"2A69}{"0292}\@elt{"2A6A}{"026C}\@elt{"2A6B}{"026E}%
-\@elt{"2A6C}{"0279}\@elt{"2A6D}{"0288}\@elt{"2A6E}{"0256}\@elt{"2A6F}{"0273}%
-\@elt{"2A70}{"027D}\@elt{"2A71}{"0282}\@elt{"2A72}{"0290}\@elt{"2A73}{"027B}%
-\@elt{"2A74}{"026D}\@elt{"2A75}{"025F}\@elt{"2A76}{"0272}\@elt{"2A77}{"029D}%
-\@elt{"2A78}{"028E}\@elt{"2A79}{"0261}\@elt{"2A7A}{"014B}\@elt{"2A7B}{"0270}%
-\@elt{"2A7C}{"0281}\@elt{"2A7D}{"0127}\@elt{"2A7E}{"0295}\@elt{"2B21}{"0294}%
-\@elt{"2B22}{"0266}\@elt{"2B23}{"0298}\@elt{"2B24}{"01C2}\@elt{"2B25}{"0253}%
-\@elt{"2B26}{"0257}\@elt{"2B27}{"0284}\@elt{"2B28}{"0260}\@elt{"2B29}{"0193}%
-\@elt{"2B2A}{"0153}\@elt{"2B2B}{"0152}\@elt{"2B2C}{"0268}\@elt{"2B2D}{"0289}%
-\@elt{"2B2E}{"0258}\@elt{"2B2F}{"0275}\@elt{"2B30}{"0259}\@elt{"2B31}{"025C}%
-\@elt{"2B32}{"025E}\@elt{"2B33}{"0250}\@elt{"2B34}{"026F}\@elt{"2B35}{"028A}%
-\@elt{"2B36}{"0264}\@elt{"2B37}{"028C}\@elt{"2B38}{"0254}\@elt{"2B39}{"0251}%
-\@elt{"2B3A}{"0252}\@elt{"2B3B}{"028D}\@elt{"2B3C}{"0265}\@elt{"2B3D}{"02A2}%
-\@elt{"2B3E}{"02A1}\@elt{"2B3F}{"0255}\@elt{"2B40}{"0291}\@elt{"2B41}{"027A}%
-\@elt{"2B42}{"0267}\@elt{"2B43}{"025A}\@elt{"2B44}{"00E6}\@elt{"2B45}{"01FD}%
-\@elt{"2B46}{"1F70}\@elt{"2B47}{"1F71}\@elt{"2B48}{"0254}\@elt{"2B49}{"0254}%
-\@elt{"2B4A}{"028C}\@elt{"2B4B}{"028C}\@elt{"2B4C}{"0259}\@elt{"2B4D}{"0259}%
-\@elt{"2B4E}{"025A}\@elt{"2B4F}{"025A}\@elt{"2B50}{"1F72}\@elt{"2B51}{"1F73}%
-\@elt{"2B52}{"0361}\@elt{"2B53}{"02C8}\@elt{"2B54}{"02CC}\@elt{"2B55}{"02D0}%
-\@elt{"2B56}{"02D1}\@elt{"2B57}{"0306}\@elt{"2B58}{"203F}\@elt{"2B59}{"030B}%
-\@elt{"2B5A}{"0301}\@elt{"2B5B}{"0304}\@elt{"2B5C}{"0300}\@elt{"2B5D}{"030F}%
-\@elt{"2B5E}{"030C}\@elt{"2B5F}{"0302}\@elt{"2B60}{"02E5}\@elt{"2B61}{"02E6}%
-\@elt{"2B62}{"02E7}\@elt{"2B63}{"02E8}\@elt{"2B64}{"02E9}\@elt{"2B65}{"02E9}%
-\@elt{"2B66}{"02E5}\@elt{"2B67}{"0325}\@elt{"2B68}{"032C}\@elt{"2B69}{"0339}%
-\@elt{"2B6A}{"031C}\@elt{"2B6B}{"031F}\@elt{"2B6C}{"0320}\@elt{"2B6D}{"0308}%
-\@elt{"2B6E}{"033D}\@elt{"2B6F}{"0329}\@elt{"2B70}{"032F}\@elt{"2B71}{"02DE}%
-\@elt{"2B72}{"0324}\@elt{"2B73}{"0330}\@elt{"2B74}{"033C}\@elt{"2B75}{"0334}%
-\@elt{"2B76}{"031D}\@elt{"2B77}{"031E}\@elt{"2B78}{"0318}\@elt{"2B79}{"0319}%
-\@elt{"2B7A}{"032A}\@elt{"2B7B}{"033A}\@elt{"2B7C}{"033B}\@elt{"2B7D}{"0303}%
-\@elt{"2B7E}{"031A}\@elt{"2C21}{"2776}\@elt{"2C22}{"2777}\@elt{"2C23}{"2778}%
-\@elt{"2C24}{"2779}\@elt{"2C25}{"277A}\@elt{"2C26}{"277B}\@elt{"2C27}{"277C}%
-\@elt{"2C28}{"277D}\@elt{"2C29}{"277E}\@elt{"2C2A}{"277F}\@elt{"2C2B}{"24EB}%
-\@elt{"2C2C}{"24EC}\@elt{"2C2D}{"24ED}\@elt{"2C2E}{"24EE}\@elt{"2C2F}{"24EF}%
-\@elt{"2C30}{"24F0}\@elt{"2C31}{"24F1}\@elt{"2C32}{"24F2}\@elt{"2C33}{"24F3}%
-\@elt{"2C34}{"24F4}\@elt{"2C35}{"2170}\@elt{"2C36}{"2171}\@elt{"2C37}{"2172}%
-\@elt{"2C38}{"2173}\@elt{"2C39}{"2174}\@elt{"2C3A}{"2175}\@elt{"2C3B}{"2176}%
-\@elt{"2C3C}{"2177}\@elt{"2C3D}{"2178}\@elt{"2C3E}{"2179}\@elt{"2C3F}{"217A}%
-\@elt{"2C40}{"217B}\@elt{"2C41}{"24D0}\@elt{"2C42}{"24D1}\@elt{"2C43}{"24D2}%
-\@elt{"2C44}{"24D3}\@elt{"2C45}{"24D4}\@elt{"2C46}{"24D5}\@elt{"2C47}{"24D6}%
-\@elt{"2C48}{"24D7}\@elt{"2C49}{"24D8}\@elt{"2C4A}{"24D9}\@elt{"2C4B}{"24DA}%
-\@elt{"2C4C}{"24DB}\@elt{"2C4D}{"24DC}\@elt{"2C4E}{"24DD}\@elt{"2C4F}{"24DE}%
-\@elt{"2C50}{"24DF}\@elt{"2C51}{"24E0}\@elt{"2C52}{"24E1}\@elt{"2C53}{"24E2}%
-\@elt{"2C54}{"24E3}\@elt{"2C55}{"24E4}\@elt{"2C56}{"24E5}\@elt{"2C57}{"24E6}%
-\@elt{"2C58}{"24E7}\@elt{"2C59}{"24E8}\@elt{"2C5A}{"24E9}\@elt{"2C5B}{"32D0}%
-\@elt{"2C5C}{"32D1}\@elt{"2C5D}{"32D2}\@elt{"2C5E}{"32D3}\@elt{"2C5F}{"32D4}%
-\@elt{"2C60}{"32D5}\@elt{"2C61}{"32D6}\@elt{"2C62}{"32D7}\@elt{"2C63}{"32D8}%
-\@elt{"2C64}{"32D9}\@elt{"2C65}{"32DA}\@elt{"2C66}{"32DB}\@elt{"2C67}{"32DC}%
-\@elt{"2C68}{"32DD}\@elt{"2C69}{"32DE}\@elt{"2C6A}{"32DF}\@elt{"2C6B}{"32E0}%
-\@elt{"2C6C}{"32E1}\@elt{"2C6D}{"32E2}\@elt{"2C6E}{"32E3}\@elt{"2C6F}{"32FA}%
-\@elt{"2C70}{"32E9}\@elt{"2C71}{"32E5}\@elt{"2C72}{"32ED}\@elt{"2C73}{"32EC}%
-\@elt{"2C7D}{"2051}\@elt{"2C7E}{"2042}\@elt{"2D21}{"2460}\@elt{"2D22}{"2461}%
-\@elt{"2D23}{"2462}\@elt{"2D24}{"2463}\@elt{"2D25}{"2464}\@elt{"2D26}{"2465}%
-\@elt{"2D27}{"2466}\@elt{"2D28}{"2467}\@elt{"2D29}{"2468}\@elt{"2D2A}{"2469}%
-\@elt{"2D2B}{"246A}\@elt{"2D2C}{"246B}\@elt{"2D2D}{"246C}\@elt{"2D2E}{"246D}%
-\@elt{"2D2F}{"246E}\@elt{"2D30}{"246F}\@elt{"2D31}{"2470}\@elt{"2D32}{"2471}%
-\@elt{"2D33}{"2472}\@elt{"2D34}{"2473}\@elt{"2D35}{"2160}\@elt{"2D36}{"2161}%
-\@elt{"2D37}{"2162}\@elt{"2D38}{"2163}\@elt{"2D39}{"2164}\@elt{"2D3A}{"2165}%
-\@elt{"2D3B}{"2166}\@elt{"2D3C}{"2167}\@elt{"2D3D}{"2168}\@elt{"2D3E}{"2169}%
-\@elt{"2D3F}{"216A}\@elt{"2D40}{"3349}\@elt{"2D41}{"3314}\@elt{"2D42}{"3322}%
-\@elt{"2D43}{"334D}\@elt{"2D44}{"3318}\@elt{"2D45}{"3327}\@elt{"2D46}{"3303}%
-\@elt{"2D47}{"3336}\@elt{"2D48}{"3351}\@elt{"2D49}{"3357}\@elt{"2D4A}{"330D}%
-\@elt{"2D4B}{"3326}\@elt{"2D4C}{"3323}\@elt{"2D4D}{"332B}\@elt{"2D4E}{"334A}%
-\@elt{"2D4F}{"333B}\@elt{"2D50}{"339C}\@elt{"2D51}{"339D}\@elt{"2D52}{"339E}%
-\@elt{"2D53}{"338E}\@elt{"2D54}{"338F}\@elt{"2D55}{"33C4}\@elt{"2D56}{"33A1}%
-\@elt{"2D57}{"216B}\@elt{"2D5F}{"337B}\@elt{"2D60}{"301D}\@elt{"2D61}{"301F}%
-\@elt{"2D62}{"2116}\@elt{"2D63}{"33CD}\@elt{"2D64}{"2121}\@elt{"2D65}{"32A4}%
-\@elt{"2D66}{"32A5}\@elt{"2D67}{"32A6}\@elt{"2D68}{"32A7}\@elt{"2D69}{"32A8}%
-\@elt{"2D6A}{"3231}\@elt{"2D6B}{"3232}\@elt{"2D6C}{"3239}\@elt{"2D6D}{"337E}%
-\@elt{"2D6E}{"337D}\@elt{"2D6F}{"337C}\@elt{"2D73}{"222E}\@elt{"2D78}{"221F}%
-\@elt{"2D79}{"22BF}\@elt{"2D7D}{"2756}\@elt{"2D7E}{"261E}%
-}
-
-\newcount\cntA
-\newcount\cntB
-\newcount\flag
-\def\chk@in@#1#2{{\global\flag=0\relax%
-  \def\@elt##1{\ifnum#2=##1\global\flag=1 \fi}%
-  #1}}
-\def\get@in@#1#2{{%
-  \global\flag=0\relax%
-  \def\@elt##1##2{\ifnum#2=##1\global\flag##2 \fi}%
-  #1}}
-
-\def\outi{%
-\get@in@{\jlist}{\cntA}\cntB=\flag
-\ifnum\cntB=0{}%
-  \cntB=\jis\cntA{}%
-  \ifnum\cntB=0 \else
-    \ifnum\ltjgetparameter{jacharrange}{\ltjgetparameter{chartorange}{\cntB}}=0
-    \def\@@@tmp{white}\else\def\@@@tmp{white!85!blue}\fi
-    \fcolorbox{black}{\@@@tmp}{%
-      \hbox to \zw{\gt  \hskip-\zw\ltjjachar\cntB  \hss}}\,\scriptsize%
-    \ifnum\catcode\cntB=11 L\else\ \fi
-    \chk@in@{\uplist}{\cntA}\ifnum\flag=1 U\else~\fi
-    \chk@in@{\plist}{\cntA}\ifnum\flag=1 P\else~\fi
-  \fi
-\else
-  \ifnum\ltjgetparameter{jacharrange}{\ltjgetparameter{chartorange}{\cntB}}=0
-  \def\@@@tmp{white}\else\def\@@@tmp{white!85!blue}\fi
-  \fcolorbox{black}{\@@@tmp}{\color{red!50!black}%
-     \hbox to \zw{\gt  \hskip-\zw\ltjjachar\cntB  \hss}}\,\scriptsize%
-   \ifnum\catcode\cntB=11 L\else~\fi
-  \chk@in@{\uplist}{\cntA}\ifnum\flag=1 U\else~\fi-%
-\fi\global\advance\cntA1 }
-
-\def\out#1#2{%
-\midrule\global\cntA=\numexpr 8192+#1*256+#2*16\relax
-"#2{}x&\ifnum#2=2\global\advance\cntA1\else\outi\fi&\outi&\outi&\outi&\outi&\outi&\outi&\outi%"
-&\outi&\outi&\outi&\outi&\outi&\outi&\outi&\ifnum#2=7\global\advance\cntA1\else\outi\fi\\
-}
-
-\def\test#1{{%
-%<en>\subsection*{Row #1}
-%<ja>\subsection*{第#1区}
-\tt\small\fboxsep=1pt\centering\tabcolsep=0.25\zw
-\begin{tabular}{ccccccccccccccccc}\toprule&"0&"1&"2&"3&"4&"5&"6&"7&"8&"9&"A&"B&"C&"D&"E&"F\\
-\out{#1}{2}\out{#1}{3}\out{#1}{4}\out{#1}{5}\out{#1}{6}\out{#1}{7}\bottomrule
-\end{tabular}\par}\medskip}
-
-\test{1}\test{2}\test{3}\test{4}\test{5}\test{6}\test{7}\test{8}
-\test{9}\test{10}\test{11}\test{12}\test{13}
-
-\errorstopmode
 
 \section{Package versions used in this document}
 This document was typeset using the following packages: