X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=doc%2Fluatexja.dtx;h=8187f42a3a1e31643f742fa4d9766156908aab8f;hb=79acad85e3b942cd4fe555c40886ad295b487fce;hp=c57030fb43077e62f142629a92c2f5b2e166a7a9;hpb=0d4cabde0e301b63631e876116e5743e294bcdb0;p=luatex-ja%2Fluatexja.git
diff --git a/doc/luatexja.dtx b/doc/luatexja.dtx
index c57030f..8187f42 100644
--- a/doc/luatexja.dtx
+++ b/doc/luatexja.dtx
@@ -58,7 +58,7 @@
\DeclareFontShape{ZH}{hei}{m}{n}{<->name:SimHei:jfm=jis}{}
\DeclareFontShape{ZH}{hei}{bx}{n}{<->ssub*hei/m/n}{}
\DeclareKanjiFamily{ZH}{mincho}{}
-\DeclareFontShape{ZH}{mincho}{m}{n}{<->psft:KozMinPr6N-Regular:cid=Adobe-Japan1-6;jfm=jis}{}
+\DeclareFontShape{ZH}{mincho}{m}{n}{<->name:KozMinPr6N-Regular:cid=Adobe-Japan1-6;jfm=jis}{}
\fontencoding{ZH}\selectfont
\DeclareTextFontCommand{\textsong}{\songfamily}
\DeclareTextFontCommand{\texthei}{\heifamily}
@@ -573,15 +573,6 @@ We say `alphabetic fonts' for fonts used in \textbf{ALchar}, and `Japanese fonts
\item ç¨ä¸å线表示çè¯ï¼å¦ï¼\Pkg{fontspec}ï¼è¡¨ç¤º\LaTeX çå®å
æè
æ档类ã
%
-%<*en>
-\item The word `primitive' is used not only for primitives in \LuaTeX,
- but also for control sequences that defined in the core module of
- \LuaTeX-ja.
-%
-%<*ja>
-\item ãããªããã£ããã¨ããèªãï¼\LuaTeX ã®ããªããã£ãã ãã§ã¯ãªã \LuaTeX-ja
- ã®ã³ã¢ã¢ã¸ã¥ã¼ã«ã§å®ç¾©ãããã³ã³ããã¼ã«ã·ã¼ã±ã³ã¹ã«å¯¾ãã¦ãç¨ããï¼
-%
%<*zh>
\item âprimitiveâï¼è¯¥è¯å¨æ¬ææ¡£ä¸ä¸ä»
表示\LuaTeX çåºæ¬æ§å¶å½ä»¤ï¼ä¹å
æ¬\LuaTeX-jaçç¸å
³çåºæ¬æ§å¶å½ä»¤
%
@@ -691,49 +682,63 @@ To install the \LuaTeX-ja\ package, you will need:
å®è£
\LuaTeX-jaä¹åï¼éè¦å¦ä¸ï¼
%
\begin{itemize}
-%<*en>
-\item \LuaTeX\ (version 0.65.0-beta or later) and its supporting packages.\\
-If you are using \TeX~Live~2011 or current W32\TeX, you don't have to worry.
-%
-%<*ja>
-\item \LuaTeXï¼ãã¼ã¸ã§ã³ 0.65.0-beta 以éï¼ã¨ãã®æ¯æ´ããã±ã¼ã¸ï¼
- \TeX~Live~2011ãW32\TeX ã®ææ°çãªãã°åé¡ãªãï¼
-%
-%<*zh>
-\item \LuaTeXï¼çæ¬å·ä¸ºå¤§äº0.65ï¼åç¸å
³æ¯æå®å
ã\\
-å¦æç¨æ·ä½¿ç¨çæ¯\TeX Live2011以åææ°çæ¬çW32\TeXï¼å¯ä¸èèæ¤é¡¹ã
-%
-%<*en>
-\item The source archive of \LuaTeX-ja, of course\texttt{:)}
-%
-%<*ja>
-\item \LuaTeX-jaã®ã½ã¼ã¹ã¢ã¼ã«ã¤ãï¼ãã¡ãã\texttt{:)}ï¼ï¼
-%
-%<*zh>
-\item \LuaTeX-jaçæºç ï¼å½ç¶å½\texttt{:)}ï¼ã
-%
-%<*en>
-\item The \Pkg{xunicode} package, which version is \emph{just v0.981 (2011/09/09)}.\\
-If you have the \Pkg{fontspec} package, this \Pkg{xunicode} package must be exist.
-But be careful about the version; other versions may not work correctly with \LuaTeX-ja.
-%
-%<*ja>
-\item \Pkg{xunicode}ããã±ã¼ã¸(\textbf{2011/09/09,~v0.981})ï¼\\
-\Pkg{fontspec}ããã±ã¼ã¸ãå°å
¥ããã¦ããã°ãã®ããã±ã¼ã¸ãå°å
¥ããã¦ããã¯ãã§ãããï¼
-ãã®v0.981以å¤ã®ãã¼ã¸ã§ã³ã§ã¯\LuaTeX-jaä¸ã§æ£ããåä½ããªãå±éºæ§ãããï¼
-%
-%<*zh>
-\Pkg{xunicode}å®å
ï¼å½åçæ¬å¿
须为\textit{v0.981(2011/09/09)}ã\\
-å¦æä½ ä½¿ç¨\Pkg{fontspec}å®å
ï¼\Pkg{xunicode}å°±å¿
é¡»åå¨ãä½æ¯è¯·æ³¨æ该å
ç
-çæ¬ï¼å
¶ä»çæ¬å¯è½ä¸ä¼æ£å¸¸å·¥ä½ã
-%
+\item \LuaTeX\ beta-0.74.0 (or later)
+\item \Pkg{luaotfload} v2.2
+\item \Pkg{luatexbase} v0.6~(2013/05/04)
+\item \Pkg{xunicode} v0.981~(2011/09/09)
\end{itemize}
-%<*en>
-The installation methods are as follows:
-%
+%<*!ja>
+\emph{From this version of \LuaTeX-ja, \TeX~Live~2012 (or older version) is
+no longer supported, since \LuaTeX\ binary and \Pkg{luaotfload} is updated in
+\TeX~Live~2013.}
+And conversely, older versions of \LuaTeX-ja (20130318.1 or earlier) don't work in
+\TeX~Live~2013.
+
+\medskip
+
+Now \LuaTeX-ja is available from the following archive and distributions:
+ \begin{itemize}
+ \item CTAN (in the \texttt{macros/luatex/generic/luatexja} directory)
+ \item MiK\TeX\ (in \texttt{luatexja.tar.lzma})
+ \item \TeX\ Live (in \texttt{texmf-dist/tex/luatex/luatexja})
+ \item W32\TeX\ (in \texttt{luatexja.tar.xz})
+ \end{itemize}
+
+If you are using \TeX~Live~2013, you can install \LuaTeX-ja
+from \TeX~Live manager (\texttt{tlmgr}):
+\begin{verbatim}
+$ tlmgr install luatexja
+\end{verbatim}
+
+\medskip
+
+%If you want to install manually, do the following instruvtions:
+%!ja>
%<*ja>
-ã¤ã³ã¹ãã¼ã«æ¹æ³ã¯ä»¥ä¸ã®ããã«ãªãï¼
+\textbf{æ¬ãã¼ã¸ã§ã³ä»¥éã®\LuaTeX-jaã¯\TeX~Live~2012以åã§ã¯åä½ããªãï¼}
+ããã¯ï¼\LuaTeX ã¨\Pkg{luaotfload}ã\TeX~Live~2013ã«ããã¦æ´æ°ããããã¨ã«ããï¼
+éã«ï¼20130318.1以åã®\LuaTeX-jaã¯\TeX~Live~2013ã§ã¯åä½ããªãï¼
+
+\medskip
+
+ç¾å¨ï¼\LuaTeX-jaã¯ä»¥ä¸ã®ã¢ã¼ã«ã¤ãï¼ããã³ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«åé²ããã¦ããï¼
+ \begin{itemize}
+ \item CTAN (\texttt{macros/luatex/generic/luatexja})
+ \item MiK\TeX\ (\texttt{luatexja.tar.lzma})
+ \item \TeX\ Live (\texttt{texmf-dist/tex/luatex/luatexja})
+ \item W32\TeX\ (\texttt{luatexja.tar.xz})
+ \end{itemize}
+
+ä¾ãã°\TeX~Live~2013ãå©ç¨ãã¦ãããªãï¼\LuaTeX-jaã¯\TeX~Live manager (\texttt{tlmgr})ã
+使ã£ã¦ã¤ã³ã¹ãã¼ã«ãããã¨ãã§ããï¼
+\begin{verbatim}
+$ tlmgr install luatexja
+\end{verbatim}
+
+\medskip
+
+æåã§ã¤ã³ã¹ãã¼ã«ããå ´åã®æ¹æ³ã¯ä»¥ä¸ã®ããã«ãªãï¼
%
%<*zh>
å®è£
æ¹æ³å¦ä¸ï¼
@@ -752,15 +757,7 @@ $ git clone git://git.sourceforge.jp/gitroot/luatex-ja/luatexja.git
\begin{flushleft}
\url{http://git.sourceforge.jp/view?p=luatex-ja/luatexja.git;a=snapshot;h=HEAD;sf=tgz}.
\end{flushleft}
-\item Now \LuaTeX-ja is available from the following archive and distributions:
- \begin{itemize}
- \item CTAN (in the \texttt{macros/luatex/generic/luatexja} directory)
- \item MiK\TeX\ (in \texttt{luatexja.tar.lzma})
- \item \TeX\ Live (in \texttt{texmf-dist/tex/luatex/luatexja})
- \item W32\TeX\ (in \texttt{luatexja.tar.xz})
- \end{itemize}
- These are based on the \texttt{master} branch.
-\end{itemize}
+\end{itemize}
Note that the \texttt{master} branch, and hence the archive in CTAN, are not updated frequently;
the forefront of development is not the \texttt{master} branch.
@@ -778,16 +775,7 @@ $ git clone git://git.sourceforge.jp/gitroot/luatex-ja/luatexja.git
\begin{flushleft}
\url{http://git.sourceforge.jp/view?p=luatex-ja/luatexja.git;a=snapshot;h=HEAD;sf=tgz}.
\end{flushleft}
-\item ä»ãï¼\LuaTeX-jaã¯ä»¥ä¸ã®ã¢ã¼ã«ã¤ãï¼ããã³ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã«ãåé²ããã¦ããï¼
- \begin{itemize}
- \item CTAN (\texttt{macros/luatex/generic/luatexja})
- \item MiK\TeX\ (\texttt{luatexja.tar.lzma})
- \item \TeX\ Live (\texttt{texmf-dist/tex/luatex/luatexja})
- \item W32\TeX\ (\texttt{luatexja.tar.xz})
- \end{itemize}
- ãããã¯\texttt{master}ãã©ã³ãã®å
容ãå
ã«ãã¦ããï¼
\end{itemize}
-
\texttt{master}ãã©ã³ãï¼å¾ã£ã¦ï¼CTANå
ã®ã¢ã¼ã«ã¤ããï¼ã¯ãã¾ã«ããæ´æ°ãããªããã¨ã«æ³¨æï¼
主ãªéçºã¯\texttt{master}ã®å¤ã§è¡ããï¼æ¯è¼çã¾ã¨ã¾ã£ã¦ãããããã\texttt{master}ã«
åæ ããããã¨ã«ãã¦ããï¼
@@ -804,16 +792,7 @@ $ git clone git://git.sourceforge.jp/gitroot/luatex-ja/luatexja.git
\begin{flushleft}
\url{http://git.sourceforge.jp/view?p=luatex-ja/luatexja.git;a=snapshot;h=HEAD;sf=tgz}.
\end{flushleft}
-\item ç°å¨\LuaTeX-jaå¯ä»¥å¨ä¸åä»åºååè¡çä¸è·åï¼:
- \begin{itemize}
- \item CTAN ( \texttt{macros/luatex/generic/luatexja}ï¼
- \item MiK\TeX\ (\texttt{luatexja.tar.lzma})
- \item \TeX\ Live ï¼\texttt{texmf-dist/tex/luatex/luatexja}ï¼
- \item W32\TeX\ ï¼\texttt{luatexja.tar.xz}ï¼
- \end{itemize}
- è¿äºçæ¬é½åºäº\texttt{master}åæ¯ã
\end{itemize}
-
注æ\texttt{master}åæ¯åCTANä»åºä¸ççæ¬ï¼å级并ä¸é¢ç¹ã
å段å¼å并æªå¨\texttt{master}åæ¯ã
%
@@ -839,7 +818,7 @@ But only the contents in \texttt{src/} are needed to work \LuaTeX-ja.
instead copying is also good.
%
%<*ja>
-\item \texttt{src/}ã®ä¸èº«ãèªåã®\texttt{TEXMF}ããªã¼ã«ã³ãã¼ããï¼
+\item \texttt{src}ã®ä¸èº«ãèªåã®\texttt{TEXMF}ããªã¼ã«ã³ãã¼ããï¼
å ´æã®ä¾ã¨ãã¦ã¯ï¼ä¾ãã°\texttt{TEXMF/tex/luatex/luatexja/}ãããï¼
ã·ã³ããªãã¯ãªã³ã¯ãå©ç¨ã§ããç°å¢ã§ï¼ãã¤ãªãã¸ããªãç´æ¥åå¾ããã®ã§ããã°ï¼
ï¼æ´æ°ã容æã«ããããã«ï¼ã³ãã¼ã§ã¯ãªããªã³ã¯ãè²¼ããã¨ãå§ããï¼
@@ -878,6 +857,13 @@ But only the contents in \texttt{src/} are needed to work \LuaTeX-ja.
%<*zh>
\item æºææ¡£ç¼ç å¿
é¡»æ¯UTF-8ãå
¶ä»çç¼ç ï¼å¦EUC-JPåShift-JISé½ä¸è¢«æ¯æã
%
+%<*en>
+\item \LuaTeX-ja is very slower than \pTeX. Using LuaJIT\TeX slightly improve the situation.
+%
+%<*ja>
+\item \LuaTeX-jaã¯åä½ã\pTeX ã«æ¯ã¹ã¦é常ã«é
ãï¼ã³ã¼ããå¤æ´ãã¦å¾ã
ã«éããã¦ãããï¼
+ã¾ã æºè¶³ã§ããé度ã§ã¯ãªãï¼LuaJIT\TeX ãç¨ããã¨\LuaTeX ã®ã ããã1.3åã®é度ã§åãããã§ããï¼
+%
\end{itemize}
%\subsection{Using in plain \TeX}
@@ -947,7 +933,7 @@ This does minimal settings (like \texttt{ptex.tex}) for typesetting Japanese doc
\begin{itemize}
%<*en>
\item It is widely accepted that the font `Ryumin-Light' and
- `GothicBBB-Medium' aren't embedded into PDF files, and PDF reader
+ `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.
@@ -1138,11 +1124,11 @@ Okumura), namely, \Pkg{ltjclasses} and \Pkg{ltjsclasses}.
\paragraph{plain \TeX}
%<*en>
-To change Japanese fonts in plain \TeX, you must use the primitive
+To change Japanese fonts in plain \TeX, you must use the control sequence
\verb+\jfont+. So please see Subsection~\ref{ssec-jfont}.
%
%<*ja>
-plain \TeX ã§åæãã©ã³ããå¤æ´ããããã«ã¯ï¼\verb+\jfont+ ããªããã£ããç´æ¥ç¨ããï¼
+plain \TeX ã§åæãã©ã³ããå¤æ´ããããã«ã¯ï¼\pTeX ã®ããã« \verb+\jfont+ å½ä»¤ãç´æ¥ç¨ããï¼
\ref{ssec-jfont}ç¯ãåç
§ï¼
%
%<*zh>
@@ -1481,16 +1467,16 @@ featureã\textbf{JAglue}ã¨è¡çªããããã§ããï¼\ref{para-kern}ç¯ã
å¦æ³¨æï¼åºæ ¼ç¹æ§å¨è¿7个å½ä»¤ä¸é»è®¤å
³éï¼å 为æ¤ç¹æ§ä¼ä¸\textbf{JAglue}å²çªï¼åè§\ref{para-kern}ï¼ã
%
-%\subsection{Preset}
+%\subsection{Preset}
%\subsection{ããªã»ããè¨å®}
\label{ssec-preset}
-%<*en>
+%<*!ja>
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.
-%
+%!ja>
%<*ja>
ãã使ããã¦ããåæãã©ã³ãè¨å®ãä¸è¡ã§æå®ã§ããããã«ããã®ã
\Pkg{luatexja-preset}ããã±ã¼ã¸ã§ããï¼ãã®ããã±ã¼ã¸ã¯ï¼
@@ -1498,11 +1484,11 @@ and loads \Pkg{luatexja-fontspec} internally.
åããããããªæ ¼å¥½ããã¦ããï¼å
é¨ã§\Pkg{luatexja-fontspec}ãèªã¿è¾¼ãã§ããï¼
%
-%\paragraph{General options}
+%\paragraph{General options}
%\paragraph{ä¸è¬çãªãªãã·ã§ã³}
\begin{list}{}{\def\makelabel{\ttfamily}\def\{{\char`\{}\def\}{\char`\}}\advance\leftmargin1\zw}
\item[deluxe]
-%<*en>
+%<*!ja>
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},
@@ -1510,7 +1496,7 @@ because \textit{rounded gothic} is called \textit{maru gothic} (丸ã´ã·ãã¯)
The heavy weight of \textit{gothic} can be used by ``changing the family'' \verb+\gtebfamily+.
This is because \Pkg{fontspec} package can handle only medium (\verb+\mdseries+) and
bold (\verb+\bfseries+).
-%
+%!ja>
%<*ja>
ææä½2ã¦ã§ã¤ãã»ã´ã·ãã¯ä½3ã¦ã§ã¤ãã¨ï¼
丸ã´ã·ãã¯ä½ (\verb+\mgfamily+) ã使ç¨å¯è½ã¨ããï¼
@@ -1519,39 +1505,25 @@ bold (\verb+\bfseries+).
ãã®ãããªä¸éå端ãªå®è£
ã«ãªã£ã¦ããï¼
%
\item[expert]
-%<*en>
+%<*!ja>
Use horizontal kana alternates, and define a control sequence \verb+\rubyfamily+ to use kana
characters designed for ruby.
-%
-%<*ja>
-横çµå°ç¨ä»®åãç¨ããï¼ã¾ãï¼\verb+\rubyfamily+ ã§ã«ãç¨ä»®åã使ç¨å¯è½ã¨ãªãï¼
-%
+%!ja>
+%横çµå°ç¨ä»®åãç¨ããï¼ã¾ãï¼\verb+\rubyfamily+ ã§ã«ãç¨ä»®åã使ç¨å¯è½ã¨ãªãï¼
\item[bold]
-%<*en>
-Use bold gothic as bold mincho.
-%
-%<*ja>
-ææã®å¤ªåãã´ã·ãã¯ä½ã®å¤ªåã¨ããï¼
-%
+%Use bold gothic as bold mincho.
+%ææã®å¤ªåãã´ã·ãã¯ä½ã®å¤ªåã¨ããï¼
\item[90jis]
-%<*en>
-Use fonts with 90JIS glyphs if possible.
-%
-%<*ja>
-åºæ¥ãéã90JISã®åå½¢ãæ¡ç¨ãã¦ãããã©ã³ãã使ãï¼
-%
+%Use 90JIS glyph variants if possible.
+%åºæ¥ãéã90JISã®åå½¢ã使ãï¼
\item[jis2004]
-%<*en>
-Use fonts with JIS2004 glyphs if possible.
-%
-%<*ja>
-åºæ¥ãéãJIS2004ã®åå½¢ãæ¡ç¨ãã¦ãããã©ã³ãã使ãï¼
-%
+%Use JIS2004 glyph variants if possible.
+%åºæ¥ãéãJIS2004ã®åå½¢ã使ãï¼
\item[jis]
-%<*en>
+%<*!ja>
Use the JFM \texttt{jfm-jis.lua}, instead of \texttt{jfm-ujis.lua}, which is the default JFM of
\LuaTeX-ja.
-%
+%!ja>
%<*ja>
ç¨ããJFMãï¼JISãã©ã³ãã¡ããªãã¯é¡ä¼¼ã®ï¼\texttt{jfm-jis.lua}ã«ããï¼ãã®ãªãã·ã§ã³ããªãæã¯
\LuaTeX-jaæ¨æºã®\texttt{jfm-ujis.lua}ãç¨ããããï¼
@@ -1561,30 +1533,25 @@ Use the JFM \texttt{jfm-jis.lua}, instead of \texttt{jfm-ujis.lua}, which is the
%\paragraph{Kozuka fonts}
%\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}.
%
%<*ja>
-ã¾ãï¼å°å¡ãã©ã³ããç¨ããè¨å®ãè¿°ã¹ãï¼
-åã¦ã§ã¤ãæã®ã´ã·ãã¯ä½ã¯å°å¡ã´ã·ãã¯Rã§ã¯ç´°ãããã«æããã®ã§ï¼
-å°å¡ã´ã·ãã¯Mã«å¤æ´ãã¦ããï¼
-ããã«ï¼ä¸¸ã´ã·ãã¯ä½ã¯ãªãã®ã§ä¾¿å®ä¸å°å¡ã´ã·ãã¯Hã§ä»£ç¨ãã¦ããï¼
+丸ã´ã·ãã¯ä½ã¯ãªãã®ã§ä¾¿å®ä¸å°å¡ã´ã·ãã¯Hã§ä»£ç¨ãã¦ããï¼
%
\begin{center}\small
\begin{tabular}{llll}
\toprule
-&\tt kozuka4&\tt kozuka6&\tt kozuka6n\\
+&\tt kozuka-pro&\tt kozuka-pr6&\tt kozuka-pr6n\\
\midrule
-%<*en>
+%<*!ja>
\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\\
\midrule
\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
@@ -1593,7 +1560,7 @@ as a substitute for \textit{rounded gothic}.
&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\\
-%
+%!ja>
%<*ja>
\gt ææä½ç´°å&å°å¡ææPro~R&å°å¡ææProVI~R&å°å¡ææPr6N~R\\
\gt ææä½å¤ªå&å°å¡ææPro~B&å°å¡ææProVI~B&å°å¡ææPr6N~B\\
@@ -1615,42 +1582,44 @@ as a substitute for \textit{rounded gothic}.
\end{tabular}
\end{center}
-%\paragraph{Hiragino and Morisawa}
-%\paragraph{ãã©ã®ãã»ã¢ãªãµã¯}
-%<*en>
-Settings for Hiragino fonts:
-%
-%<*ja>
-ã¾ããã©ã®ããã©ã³ãããï¼
-%
-% ãããã¯æã£ã¦ããããã§ã¯ãªãã®ã§ï¼ãã©ã³ãåã
-% ç°ãªã£ã¦ããããããã¾ããï¼ç¢ºèªãé¡ããã¾ãï¼
+%\paragraph{Hiragino and Morisawa}\
+%\paragraph{ãã©ã®ãã»ã¢ãªãµã¯}\
\begin{center}\small
\begin{tabular}{lll}
\toprule
-&\tt hiragino&\tt hiraginon\\
+&\tt hiragino-pro&\tt hiragino-pron\\
\midrule
-%<*en>
+%<*!ja>
\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&
Hiragino Kaku Gothic Std W8&Hiragino Kaku Gothic StdN W8\\
\bf rounded gothic&
Hiragino Maru Gothic Pro W4&Hiragino Maru Gothic ProN W4\\
-%
+%!ja>
%<*ja>
\gt ææä½ç´°å&
ãã©ã®ãææä½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 ã´ã·ãã¯ä½æ¥µå¤ª&
@@ -1658,19 +1627,9 @@ Hiragino Maru Gothic Pro W4&Hiragino Maru Gothic ProN W4\\
\gt 丸ã´ã·ãã¯ä½&
ãã©ã®ã丸ã´Pro~W4&ãã©ã®ã丸ã´ProN~W4\\
%
-\bottomrule
-\end{tabular}
-\end{center}
-%<*en>
-Settings for Morisawa fonts:
-%
-%<*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&
@@ -1706,12 +1665,12 @@ Jun Pro 101&Jun Pr6N 101\\
%\paragraph{Settings for single weight}
%\paragraph{åã¦ã§ã¤ãç¨è¨å®}
-%<*en>
+%<*!ja>
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).
-%
+%!ja>
%<*ja>
次ã«ï¼åã¦ã§ã¤ãç¨ã®è¨å®ãè¿°ã¹ãï¼ãã®4è¨å®ã§ã¯ãç´°åãã太åãã®åºå¥ã¯ãªãï¼
ã¾ãï¼ä¸¸ã´ã·ãã¯ä½ã¯ã´ã·ãã¯ä½ã¨åããã©ã³ããç¨ããï¼
@@ -1721,12 +1680,12 @@ if \texttt{deluxe} option is also specified).
\toprule
&\tt noembed&\tt ipa&\tt ipaex&\tt ms\\
\midrule
-%<*en>
+%<*!ja>
\bf mincho&Ryumin-Light (non-embedded)
&IPAMincho&IPAexMincho&MS Mincho\\
\bf gothic&GothicBBB-Medium (non-embedded)
&IPAGothic&IPAexGothic&MS Gothic\\
-%
+%!ja>
%<*ja>
\gt ææä½&Ryumin-Lightï¼éåè¾¼ï¼
&IPAææ&IPAexææ&MSææ\\
@@ -1737,11 +1696,11 @@ if \texttt{deluxe} option is also specified).
\end{tabular}
\end{center}
-%\paragraph{Using HG fonts}
+%\paragraph{Using HG fonts}
%\paragraph{HGãã©ã³ãã®å©ç¨}
-%<*en>
+%<*!ja>
We can use HG~fonts bundled with Microsoft Office for realizing multiple weights in Japanese fonts.
-%
+%!ja>
%<*ja>
ããåã«æ¸ããåã¦ã§ã¤ãç¨è¨å®ãï¼Microsoft Officeçã«ä»å±ããHGãã©ã³ãã使ã£ã¦
å¤ã¦ã§ã¤ãåããè¨å®ãããï¼
@@ -1749,9 +1708,9 @@ We can use HG~fonts bundled with Microsoft Office for realizing multiple weights
\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>
+%<*!ja>
\bf mincho medium
&IPAMincho&IPAexMincho&MS Mincho\\\midrule
\bf mincho bold&
@@ -1770,7 +1729,7 @@ We can use HG~fonts bundled with Microsoft Office for realizing multiple weights
\multicolumn{3}{c}{HG Soei Kaku Gothic UB}\\\midrule
\bf rounded gothic&
\multicolumn{3}{c}{HG Maru Gothic PRO}\\
-%
+%!ja>
%<*ja>
\gt ææä½ç´°å
&IPAææ&IPAexææ&MSææ\\\midrule
@@ -1794,7 +1753,7 @@ We can use HG~fonts bundled with Microsoft Office for realizing multiple weights
\bottomrule
\end{tabular}
\end{center}
-%<*en>
+%<*!ja>
Note that HG~Mincho~E, HG~Gothic~E, HG Soei Kaku Gothic UB and HG Maru Gothic PRO
are internally specified by:
\begin{description}
@@ -1802,7 +1761,7 @@ are internally specified by:
\item[{\tt 90jis}] by filename (\texttt{hgrme.ttc}, \texttt{hgrge.ttc}, \texttt{hgrsgu.ttc}, \texttt{hgrsmp.ttf}).
\item[{\tt jis2004}] by filename (\texttt{hgrme04.ttc}, \texttt{hgrge04.ttc}, \texttt{hgrsgu04.ttc}, \texttt{hgrsmp04.ttf}).
\end{description}
-%
+%!ja>
%<*ja>
ãªãï¼HGææEã»HGã´ã·ãã¯Eã»HGåµè±è§ã´ã·ãã¯UBã»HG丸ã´ã·ãã¯ä½PROã®4ã¤ã«ã¤ãã¦ã¯ï¼å
é¨ã§
\begin{description}
@@ -1843,10 +1802,14 @@ If you want to use these functions, load \Pkg{luatexja-otf} package.
%
\begin{LTXexample}
+\jfontspec{KozMinPr6N-Regular.otf}
森\UTF{9DD7}å¤ã¨å
ç°ç¾\UTF{9592}ã¨ã\UTF{9AD9}島å±ã«è¡ãã
\CID{7652}飾åºã®\CID{13706}é家ï¼
-è飾åºã®åé家
+\CID{1481}åå¸ï¼è西é§
ï¼
+é«å´ã¨\CID{8705}\UTF{FA11}
+
+\ajåè§{ã¯ãããã«ã¿ã«ã}
\end{LTXexample}
%<*zh>
\egroup
@@ -1899,13 +1862,13 @@ parameters, you have to use commands \verb+\ltjsetparameter+ and
%<*en>
To edit the range of \textbf{JAchar}s, you have to assign a non-zero
natural number which is less than 217 to the character range first. This
-can be done by using \verb+\ltjdefcharrange+ primitive. For example, the
+can be done by using \verb+\ltjdefcharrange+. For example, the
next line assigns whole characters in Supplementary Ideographic Plane
and the character `æ¼¢' to the range number~100.
%
%<*ja>
\textbf{JAchar}ã®ç¯å²ãè¨å®ããããã«ã¯ï¼ã¾ãåæåã«0ãã大ãã217ããå°ããindexã
-å²ãå½ã¦ãå¿
è¦ãããï¼ããã«ã¯ \verb+\ltjdefcharrange+ ããªããã£ããç¨ããï¼
+å²ãå½ã¦ãå¿
è¦ãããï¼ããã«ã¯ \verb+\ltjdefcharrange+ ãç¨ããï¼
ä¾ãã°ï¼æ¬¡ã®ããã«æ¸ããã¨ã§è¿½å æ¼¢åé¢(SIP)ã«ããå
¨ã¦ã®æåã¨`æ¼¢'ã
ã100çªã®æåç¯å²ãã«å±ããããã«è¨å®ãããï¼
%
@@ -2211,8 +2174,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
"2700--"27BF&Dingbats&
"2900--"297F&Supplemental Arrows-B\\
"2980--"29FF&Misc.\ Mathematical Symbols-B&
-"2B00--"2BFF&Miscellaneous Symbols and Arrows\\
-"E000--"F8FF&Private Use Area&
+"2B00--"2BFF&Miscellaneous Symbols and Arrows
%
%<*ja>
"2000--"206F&ä¸è¬å¥èªç¹&
@@ -2232,8 +2194,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
"2700--"27BF&è£
飾è¨å·&
"2900--"297F&è£å©ç¢å°B\\
"2980--"29FF&ãã®ä»ã®æ°å¦è¨å·B&
-"2B00--"2BFF&ãã®ä»ã®è¨å·åã³ç¢å°\\
-"E000--"F8FF&ç§ç¨é åï¼å¤åé åï¼&
+"2B00--"2BFF&ãã®ä»ã®è¨å·åã³ç¢å°
%
%<*zh>
"2000--"206F&ä¸è¬æ ç¹ç¬¦å·&
@@ -2253,8 +2214,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
"2700--"27BF&ä»é¦ç¬¦å·&
"2900--"297F&è¡¥å
æ§ç®å¤´-B\\
"2980--"29FF&æ··åæ°å¦ç¬¦å·-B&
-"2B00--"2BFF&æ项符å·åç®å¤´ç¬¦å·\\
-"E000--"F8FF&ç§ç¨åºå&
+"2B00--"2BFF&æ项符å·åç®å¤´ç¬¦å·
%
\end{tabular}
\end{center}
@@ -2279,7 +2239,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
\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} % non-Japanese
+ "FE20-"FE2F, "FE70-"FEFF, "FB00-"FB4F, "10000-"1FFFF, "E000-"F8FF} % non-Japanese
\end{lstlisting}
%<*en>
\item[Range~5${}^{\text{A}}$] Surrogates and Supplementary Private Use Areas.
@@ -2693,22 +2653,22 @@ xyzæ¼¢å
%\section{Font Metric and Japanese Font}
%\section{ãã©ã³ãã¡ããªãã¯ã¨åæãã©ã³ã}
%\section{åä½æµåº¦åæ¥æåä½}
-%\subsection{\texttt{\char92jfont} primitive}
-%\subsection{\texttt{\char92jfont}ããªããã£ã}
+%\subsection{\texttt{\char92jfont}}
+%\subsection{\texttt{\char92jfont} å½ä»¤}
%\subsection{\texttt{\char92jfont}åºæ¬è¯å¥}
\label{ssec-jfont}
%<*en>
To load a font as a Japanese font, you must use the
-\verb+\jfont+ primitive instead of~\verb+\font+, while
+\verb+\jfont+ instead of~\verb+\font+, while
\verb+\jfont+ admits the same syntax used in~\verb+\font+.
\LuaTeX-ja automatically loads \Pkg{luaotfload} package,
so TrueType/OpenType fonts with features can be used for Japanese fonts:
%
%<*ja>
-ãã©ã³ããåæãã©ã³ãã¨ãã¦èªã¿è¾¼ãããã«ã¯ï¼\verb+\jfont+ ããªããã£ãã
+ãã©ã³ããåæãã©ã³ãã¨ãã¦èªã¿è¾¼ãããã«ã¯ï¼\verb+\jfont+ ã
\verb+\font+ ããªããã£ãã®ä»£ããã«ç¨ããï¼
-\verb+\jfont+ ããªããã£ãã®ææ³ã¯ \verb+\font+ ã¨åãã§ããï¼
+\verb+\jfont+ ã®ææ³ã¯ \verb+\font+ ã¨åãã§ããï¼
\LuaTeX-jaã¯\Pkg{luaotfload}ããã±ã¼ã¸ãèªåçã«èªã¿è¾¼ãã®ã§ï¼
TrueType/OpenTypeãã©ã³ãã«featureãæå®ãããã®ãåæãã©ã³ãã¨ãã¦ç¨ãã
ãã¨ãã§ããï¼
@@ -2747,13 +2707,13 @@ causes a error. We denote control sequences which are defined in
As noted in Introduction, a JFM has measurements of characters and
glues/kerns that are automatically inserted for Japanese
typesetting. The structure of JFM will be described in the next
-subsection. At the calling of \verb+\jfont+ primitive, you must specify
+subsection. At the calling of \verb+\jfont+, you must specify
which JFM will be used for this font by the following keys:
%
%<*ja>
ãã¯ããã«ãã®ç¯ã§è¿°ã¹ãããã«ï¼JFMã¯æåã¨åæçµçã§èªåçã«æ¿å
¥ããã
ã°ã«ã¼ï¼ã«ã¼ã³ã®å¯¸æ³æ
å ±ãæã£ã¦ããï¼JFMã®æ§é ã¯æ¬¡ã®å°ç¯ã§è¿°ã¹ãï¼
-\verb+\jfont+ ããªããã£ãã®å¼ã³åºãã®éã«ã¯ï¼ã©ã®JFMãç¨ããã®ãã以ä¸ã®ãã¼ã§
+\verb+\jfont+ å½ä»¤ã®å¼ã³åºãã®éã«ã¯ï¼ã©ã®JFMãç¨ããã®ãã以ä¸ã®ãã¼ã§
æå®ããå¿
è¦ãããï¼
%
%<*zh>
@@ -2901,12 +2861,12 @@ JFMã«åºã¥ãã°ã«ã¼ï¼ã«ã¼ã³ãæ¿å
¥ãããå ´åã«ã¯2æåéã®
\begin{itemize}
%<*en>
\item You should specify \texttt{-kern} in
- \verb+jfont+ primitive, when you want to use other font features,
+ \verb+jfont+ when you want to use other font features,
such as \texttt{script=...}\,.
%
%<*ja>
\item \texttt{script=...}ã¨ãã£ãfeatureã使ãããå ´åã«ã¯ï¼\verb+\jfont+
- ããªããã£ãã«\texttt{-kern}ãæå®ããã¹ãã§ããï¼
+ ã«\texttt{-kern}ãæå®ããã¹ãã§ããï¼
%
%<*zh>
\item å½ä½ æ³ä½¿ç¨å
¶ä»åä½ç¹æ§å¦\texttt{script=...}çæ¶åï¼å¯ä»¥å¨\verb!jfont!åºæ¬è¯å¥ä¸è®¾ç½®\texttt{-kern}
@@ -2931,29 +2891,37 @@ TODO: kanjiskip?
%\subsection{\texttt{psft}åç¼}
\label{ssec-psft}
%<*en>
-Besides \texttt{file:}\ and \texttt{name:}\ prefixes, one can use \texttt{psft:}\
-prefix in \verb+\jfont+ (and~\verb+\font+) primitive,
+Besides `\texttt{file:}'\ and `\texttt{name:}'\ prefixes, one can use `\texttt{psft:}'\
+prefix in \verb+\jfont+ (and~\verb+\font+),
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.}
%
%<*ja>
-\texttt{file:}ã¨\texttt{name:}ã®ããªãã£ãã¯ã¹ã«å ãã¦ï¼
-\verb+\jfont+ ããªããã£ãï¼ã¨ \verb+\font+ ããªããã£ãï¼ã§ã¯
+\texttt{file:} 㨠\texttt{name:} ã®ããªãã£ãã¯ã¹ã«å ãã¦ï¼
+\verb+\jfont+ï¼ã¨ \verb+\font+ ããªããã£ãï¼ã§ã¯
\texttt{psft:}ããªãã£ãã¯ã¹ãç¨ãããã¨ãã§ããï¼
ãã®ããªãã£ãã¯ã¹ãç¨ãããã¨ã§ï¼PDFã«ã¯åãè¾¼ã¾ããªããååã ãã®ã
åæãã©ã³ããæå®ãããã¨ãã§ããï¼ãæ¨æºçãªãåæãã©ã³ãï¼
ã¤ã¾ã`Ryumin-Light'ã¨`GothicBBB-Medium'ã®æå®ã§ãã®ããªãã£ãã¯ã¹ã使ãããï¼
+\textbf{éåè¾¼ãã©ã³ããPDFã«ä½¿ç¨ããã¨ï¼å®éã«ã©ã®ãããªãã©ã³ãã表示ã«ç¨ãããããäºæ¸¬ã§ããªãï¼
+æ¬ããªãã£ãã¯ã¹æå®æã«ã¯ï¼\texttt{+jp90} ãªã©ã®OpenType font featureã®å¹åã¯ãªãï¼}
%
%<*zh>
é¤ä½¿ç¨\texttt{file:}å\texttt{name:}å¤ï¼æ们è¿å¯ä»¥å¨\verb!\jfont!ï¼ä»¥å\verb!\font!ï¼
ä¸ä½¿ç¨\texttt{psft:}æ¥è®¾å®ä¸ä¸ªâåä¹ä¸âç并ä¸åµå
¥PDFä¸çæ¥æåä½ã
æ¤åç¼çå
¸å使ç¨æ¯å®ä¹âæ åâæ¥æåä½ï¼å³âRyumin-LightâåâGothicBBB-Mediumâã
-\paragraph{\texttt{cid}é®} é»è®¤ä½¿ç¨\texttt{psft:}åç¼å®ä¹çåä½æ¯ä¸ºAdobe-Japan1-6 CIDåä½ã
-ä¹å¯ä»¥ä½¿ç¨\texttt{cid}é®æ¥ä½¿ç¨å
¶ä»çCIDåä½ï¼å¦ä¸æåé©æã
%
+%<*zh>
+\paragraph{\texttt{cid}é®}
+é»è®¤ä½¿ç¨\texttt{psft:}åç¼å®ä¹çåä½æ¯ä¸ºAdobe-Japan1-6 CIDåä½ã
+ä¹å¯ä»¥ä½¿ç¨\texttt{cid}é®æ¥ä½¿ç¨å
¶ä»çCIDåä½ï¼å¦ä¸æåé©æã
+%
%\paragraph{\texttt{cid} key}
%\paragraph{\texttt{cid}ãã¼}
\label{para-cid}
@@ -3026,6 +2994,40 @@ Please contact the LuaTeX-ja project team.
ã¨ããã¨ã©ã¼ãåºãï¼
%
+%<*ja>
+\paragraph{\texttt{extend}ã¨\texttt{slant}}
+OpenType font featureã¨è¦ããä¸åããããªå½¢å¼ã§æå®ã§ãããã®ã«ï¼
+\begin{description}
+\item[\texttt{extend=}] 横æ¹åã«åæ¡å¤§ããï¼
+\item[\texttt{slant=}] ã«æå®ãããå²åã ãå¾ããï¼
+\end{description}
+ã®2ã¤ãããï¼ãããã ãã¯\texttt{psft}ããªãã£ãã¯ã¹ã§ã使ç¨å¯è½ã«ãã¦ããï¼
+\texttt{extend}ã\texttt{slant}ãæå®ããå ´åã¯ï¼ããã«å¿ããJFMãæå®ãã¹ãã§ãã%
+\footnote{\LuaTeX-jaã§ã¯ï¼ãããã«å¯¾ããJFMãç¹ã«æä¾ãããã¨ã¯ããªãäºå®ã§ããï¼}ï¼
+ä¾ãã°ï¼æ¬¡ã®ä¾ã§ã¯ç¡çããé常ã®JFMã使ã£ã¦ããããã«ï¼æåééãã¤ã¿ãªãã¯è£æ£éã
+æ£ãããªãï¼
+%
+%<*!ja>
+\paragraph{\texttt{extend} and \texttt{slant}}
+The following setting can be specified as OpenType font features:
+\begin{description}
+\item[\texttt{extend=}] expand the font horizontally by .
+\item[\texttt{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:
+%!ja>
+\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}
+
%\subsection{Structure of JFM file}
%\subsection{JFMãã¡ã¤ã«ã®æ§é }
%\subsection{JFMç»æ}
@@ -3172,8 +3174,8 @@ This field is a list of characters which are in this character
\textbf{JAchar}s). In the list, character(s) can be specified in the following form:
\begin{itemize}
\item a Unicode code point
-\item the character itself (as a Lua string, like \verb+'ã'+)
-\item a string like \verb+'ã*'+ (the character followed by an asterisk)
+\item the character itself (as a Lua string, like \hbox{\ltjsetparameter{autoxspacing=false}\verb+'ã'+})
+\item a string like \hbox{\ltjsetparameter{autoxspacing=false}\verb+'ã*'+} (the character followed by an asterisk)
\item several ``imaginary'' characters (We will describe these later.)
\end{itemize}
%
@@ -3183,8 +3185,8 @@ This field is a list of characters which are in this character
é¤ããå
¨ã¦ã®\textbf{JAchar}ãå±ããããï¼ï¼ãã®ãªã¹ãä¸ã§æåãæå®ããã«ã¯ï¼ä»¥ä¸ã®æ¹æ³ãããï¼
\begin{itemize}
\item Unicode ã«ãããã³ã¼ãçªå·
-\item ã\verb+'ã'+ãã®ãããªï¼æåããèªä½
-\item ã\verb+'ã*'+ãã®ãããªï¼æåããèªä½ã®å¾ã«ã¢ã¹ã¿ãªã¹ã¯ãã¤ãããã®
+\item ã\hbox{\ltjsetparameter{autoxspacing=false}\verb+'ã'+}ãã®ãããªï¼æåããèªä½
+\item ã\hbox{\ltjsetparameter{autoxspacing=false}\verb+'ã*'+}ãã®ãããªï¼æåããèªä½ã®å¾ã«ã¢ã¹ã¿ãªã¹ã¯ãã¤ãããã®
\item ããã¤ãã®ãä»®æ³çãªæåãï¼å¾ã«èª¬æããï¼
\end{itemize}
%
@@ -3210,7 +3212,7 @@ But there is one exception: if \texttt{'prop'} is specified in \texttt{width} fi
æåã¯ã©ã¹$i$ã«å±ããæåã®å¹
ï¼é«ãï¼æ·±ãï¼ã¤ã¿ãªãã¯è£æ£ã®éãæå®ããï¼
æåã¯ã©ã¹$i$ã«å±ããå
¨ã¦ã®æåã¯ï¼ãã®å¹
ï¼é«ãï¼æ·±ãããã®ãã£ã¼ã«ãã§æå®ãã
å¤ã§ãããã®ã¨ãã¦æ±ãããï¼
-ãããï¼ä¾å¤ãä¸ã¤ããï¼ãã\texttt{'prop'}ã\texttt{width}ãã£ã¼ã«ãã«
+ãããï¼ä¾å¤ãä¸ã¤ããï¼ãã \texttt{'prop'} ã \texttt{width} ãã£ã¼ã«ãã«
æå®ãããå ´åï¼æåã®å¹
ã¯ãã®ãå®éã®ãã°ãªãã®å¹
ã¨ãªãï¼
%
%<*zh>
@@ -3378,7 +3380,7 @@ Furthermore, the glyph is shifted according to values of fields
\label{fig-pos}
\end{figure}
-\item[kern={\{[$j$]=, [$j'$]=\{, []\}...\}}]
+\item[kern={\{[$j$]=, [$j'$]=\{, []\}, ...\}}]
\item[glue={\{[$j$]=\{, , , [], []\}, ...\}}]
%<*ja>
@@ -3629,8 +3631,8 @@ you can set both \verb+\fam+ and \verb+\jfam+ to the same value.
%
\begin{table}[!tb]
-%\caption{Primitives for Japanese math fonts.}
-%\caption{åææ°å¼ãã©ã³ãã«å¯¾ããããªããã£ãï¼}
+%\caption{Control sequences for Japanese math fonts}
+%\caption{åææ°å¼ãã©ã³ãã«å¯¾ããå½ä»¤}
%\caption{æ¥è¯æ°å¦åä½åºæ¬è¯å¥}
\label{tab-math}
\begin{center}
@@ -3895,13 +3897,13 @@ Then, the position of glyphs is shifted up by
%\section{Parameters}
%\section{ãã©ã¡ã¼ã¿}
%\section{åæ°}
-%\subsection{\texttt{\char92 ltjsetparameter} primitive}
-%\subsection{\texttt{\char92 ltjsetparameter}ããªããã£ã}
+%\subsection{\texttt{\char92 ltjsetparameter}}
+%\subsection{\texttt{\char92 ltjsetparameter}å½ä»¤}
%\subsection{\texttt{\char92 ltjsetparameter}åºæ¬åæ°}
%<*en>
As noted before, \verb+\ltjsetparameter+ and \verb+\ltjgetparameter+ are
-primitives for accessing most parameters of \LuaTeX-ja. One of the main
+control sequences for accessing most parameters of \LuaTeX-ja. One of the main
reason that \LuaTeX-ja didn't adopted the syntax similar to that of \pTeX\
(\textit{e.g.},~\verb+\prebreakpenalty`ï¼=10000+)
is the position of \verb+hpack_filter+ callback in the source
@@ -3909,14 +3911,14 @@ of \LuaTeX, see Section~\ref{sec-para}.
%
%<*ja>
å
ã«è¿°ã¹ãããã«ï¼\verb+\ltjsetparameter+ 㨠\verb+\ltjgetparameter+ ã¯
-\LuaTeX-jaã®ã»ã¨ãã©ã®ãã©ã¡ã¼ã¿ã«ã¢ã¯ã»ã¹ããããã®ããªããã£ãã§ããï¼
+\LuaTeX-jaã®ã»ã¨ãã©ã®ãã©ã¡ã¼ã¿ã«ã¢ã¯ã»ã¹ããããã®å½ä»¤ã§ããï¼
\LuaTeX-jaã\pTeX ã®ãããªææ³ï¼ä¾ãã°ï¼\verb+\prebreakpenalty`ï¼=10000+ï¼ã
æ¡ç¨ããªãçç±ã®ä¸ã¤ã¯ï¼\LuaTeX ã®ã½ã¼ã¹ã«ããã \verb+hpack_filter+
ã³ã¼ã«ããã¯ã®ä½ç½®ã«ããï¼\ref{sec-para}ç¯ãåç
§ï¼
%
%<*en>
-\verb+\ltjsetparameter+ and \verb+\ltjglobalsetparameter+ are primitives
+\verb+\ltjsetparameter+ and \verb+\ltjglobalsetparameter+ are control sequences
for assigning parameters. These take one argument which is a
\texttt{=} list. Allowed keys are described in the next
subsection.
@@ -3930,7 +3932,7 @@ like other assignment.
%
%<*ja>
\verb+\ltjsetparameter+ 㨠\verb+\ltjglobalsetparameter+ ã¯ãã©ã¡ã¼ã¿ã
-æå®ããããã®ããªããã£ãã§ããï¼ãããã¯\texttt{=}ã®ãªã¹ãã
+æå®ããããã®å½ä»¤ã§ããï¼ãããã¯\texttt{=}ã®ãªã¹ãã
å¼æ°ã¨ãã¦ã¨ãï¼è¨±ããããã¼ã¯æ¬¡ã®ç¯ã«è¨è¿°ããï¼
\verb+\ltjsetparameter+ 㨠\verb+\ltjglobalsetparameter+ ã®éãã¯ã¹ã³ã¼ãã®
éãã®ã¿ã§ããï¼
@@ -3940,12 +3942,12 @@ like other assignment.
%
%<*en>
-\verb+\ltjgetparameter+ is the primitive for acquiring parameters. It
+\verb+\ltjgetparameter+ is for acquiring parameters. It
always takes a parameter name as first argument, and also takes the
additional argument---a character code, for example---in some cases.
%
%<*ja>
-\verb+\ltjgetparameter+ ã¯ãã©ã¡ã¼ã¿ã®å¤ãåå¾ããããã®ããªããã£ãã§ããï¼
+\verb+\ltjgetparameter+ ã¯ãã©ã¡ã¼ã¿ã®å¤ãåå¾ããããã®å½ä»¤ã§ããï¼
常ã«ãã©ã¡ã¼ã¿ã®ååã第ä¸å¼æ°ã«ã¨ãï¼
ããã¦ï¼ããã¤ãã®å ´åã«ã¯å ãã¦ããã«å¼æ°ï¼ä¾ãã°æåã³ã¼ãï¼ãã¨ãï¼
%
@@ -3971,36 +3973,33 @@ character other than space~`\texttt{\char32}'~(U+0020) has the category code
%\subsection{åæ°ä¸è§}
\label{ssec-param}
-%<*en>
+%<*!ja>
The following is the list of parameters which can be specified by the
\verb+\ltjsetparameter+ command. [\verb+\cs+] indicates the counterpart
in \pTeX, and symbols beside each parameter has the following meaning:
-%
+%!ja>
%<*ja>
以ä¸ã¯ \verb+\ltjsetparameter+ ã«æå®ãããã¨ãã§ãããã©ã¡ã¼ã¿ã®ä¸è¦§ã§ããï¼
[\verb+\cs+]ã¯\pTeX ã«ããã対å¿ç©ã示ãï¼
ã¾ãï¼ããããã®ãã©ã¡ã¼ã¿ã®å³ä¸ã«ããè¨å·ã«ã¯æ¬¡ã®æå³ãããï¼
%
\begin{itemize}
-%<*zh>
-\item % avoiding from error ``Something's wrong--perhaps a missing \item.''.
-%
-%<*en>
+%<*!ja>
\item No mark: values at the end of the paragraph or the hbox are
adopted in the whole paragraph/hbox.
-%
+%!ja>
%<*ja>
\item è¨å·ãªãï¼æ®µè½ãæ°´å¹³ããã¯ã¹ã®çµç«¯ã§ã®å¤ããã®æ®µè½ï¼æ°´å¹³ããã¯ã¹å
¨ä½ã§ç¨ããããï¼
%
-%<*en>
+%<*!ja>
\item `\ast' : local parameters, which can change everywhere inside a paragraph/hbox.
-%
+%!ja>
%<*ja>
\item `\ast'ï¼ãã¼ã«ã«ãªãã©ã¡ã¼ã¿ã§ããï¼æ®µè½ï¼æ°´å¹³ããã¯ã¹å
ã®ã©ãã§ã§ãå¤ãå¤ãããã¨ãã§ããï¼
%
-%<*en>
+%<*!ja>
\item `\dagger': assignments are always global.
-%
+%!ja>
%<*ja>
\item `\dagger'ï¼æå®ã¯å¸¸ã«ã°ãã¼ãã«ã«ãªãï¼
%
@@ -4195,19 +4194,20 @@ JFMï¼ãããã¯ãµã¤ãºï¼ãç°ãªã2ã¤ã®\textbf{JAchar}ã®éã«ã°ã«
\end{list}
-%\section{Other Primitives}
-%\section{ãã®ä»ã®ããªããã£ã}
+%\section{Other Control Sequences}
+%\section{ãã®ä»ã®å½ä»¤}
%\section{å
¶ä»åºæ¬è¯å¥}
-%\subsection{Primitives for Compatibility}
-%\subsection{äºæããªããã£ã}
+%\subsection{Control Sequences for Compatibility}
+%\subsection{\pTeX äºæç¨å½ä»¤}
%\subsection{åºæ¬è¯å¥å
¼å®¹æ§}
%<*en>
-The following primitives are implemented for compatibility with \pTeX.
-Note that these primitives don't support JIS~X~0213, but only JIS~X~0208.
+The following control sequences are implemented for compatibility with \pTeX.
+Note that these don't support JIS~X~0213, but only JIS~X~0208.
%
%<*ja>
-以ä¸ã®ããªããã£ãã¯\pTeX ã¨ã®äºææ§ã®ããã«å®è£
ããã¦ããï¼
+以ä¸ã®å½ä»¤ã¯\pTeX ã¨ã®äºææ§ã®ããã«å®è£
ããã¦ããï¼ãã®ããï¼JIS~X~0213ã«ã¯å¯¾å¿ããï¼
+\pTeX ã¨åãããã«JIS~X~0208ã®ç¯å²ãããµãã¼ããã¦ããªãï¼
%
%<*zh>
ä¸ååºæ¬è¯å¥çå®ç°ä¸\pTeX å
¼å®¹ï¼
@@ -4221,16 +4221,16 @@ Note that these primitives don't support JIS~X~0213, but only JIS~X~0208.
\item[kansuji]
\end{list}
-%\subsection{\texttt{\char92 inhibitglue} primitive}
-%\subsection{\texttt{\char92 inhibitglue}ããªããã£ã}
+%\subsection{\texttt{\char92 inhibitglue}}
+%\subsection{\texttt{\char92 inhibitglue}}
%\subsection{\texttt{\char92 inhibitglue}åºæ¬è¯å¥}
%<*en>
-The primitive \verb+\inhibitglue+ suppresses the insertion of \textbf{JAglue}.
+\verb+\inhibitglue+ suppresses the insertion of \textbf{JAglue}.
The following is an example, using a special JFM that there will be a glue between
the beginning of a box and `ã', and also between `ã' and `ã¦'.
%
%<*ja>
-\verb+\inhibitglue+ ããªããã£ãã¯\textbf{JAglue}ã®æ¿å
¥ãæå¶ããï¼
+\verb+\inhibitglue+ ã¯\textbf{JAglue}ã®æ¿å
¥ãæå¶ããï¼
以ä¸ã¯ï¼ããã¯ã¹ã®å§ãã¨`ã'ã®éï¼`ã'ã¨`ã¦'ã®éã«ã°ã«ã¼ãå
¥ãç¹å¥ãªJFMãç¨ããä¾ã§
ããï¼
%
@@ -4259,7 +4259,7 @@ With the help of this example, we remark the specification of \verb+\inhibitglue
%
\begin{itemize}
%<*zh>
-\item
+\item ...
%
%<*en>
\item The call of \verb+\inhibitglue+ in the (internal) vertical mode is
@@ -4294,7 +4294,7 @@ With the help of this example, we remark the specification of \verb+\inhibitglue
\end{itemize}
%\section{Control Sequences for \LaTeXe}
-%\section{\LaTeXe ç¨ã®ã³ã³ããã¼ã«ã·ã¼ã±ã³ã¹}
+%\section{\LaTeXe ç¨ã®å½ä»¤}
%\section{\LaTeXe ä¸ä½¿ç¨çæ§å¶åºå}
%\subsection{Patch for NFSS2}
@@ -4306,12 +4306,12 @@ With the help of this example, we remark the specification of \verb+\inhibitglue
As described in Subsection~\ref{ssec-ltx}, \LuaTeX-ja simply adopted
\texttt{plfonts.dtx} in \pLaTeXe\ for the Japanese patch for NFSS2.
For an convenience, we will describe
-commands which are not described in Subsection~\ref{ssub-chgfnt}.
+control sequences which are not described in Subsection~\ref{ssub-chgfnt}.
%
%<*ja>
\ref{ssec-ltx}ç¯ã§è¿°ã¹ãããã«ï¼\LuaTeX-jaã¯NFSS2ã¸ã®æ¥æ¬èªãããã§ãã
\pLaTeXe ã®\texttt{plfonts.dtx}ãåç´ã«åãå
¥ãã¦ããï¼
-便å®ã®ããï¼ããã§ã¯\ref{ssub-chgfnt}ç¯ã§è¿°ã¹ã¦ããªãã£ãã³ãã³ãã«ã¤ãã¦
+便å®ã®ããï¼ããã§ã¯\ref{ssub-chgfnt}ç¯ã§è¿°ã¹ã¦ããªãã£ãå½ä»¤ã«ã¤ãã¦
è¨è¿°ãã¦ããï¼
%
@@ -4436,21 +4436,21 @@ to . Which family will be changed is determined as follows:
%
\begin{itemize}
%<*en>
-\item The family under the encoding has been already defined by
+\item The family under the encoding has been already defined by
\verb+\DeclareKanijFamily+.
%
%<*ja>
-\item ã¨ã³ã³ã¼ãã£ã³ã°ã«ããããã¡ããªãæ¢ã« \verb+\DeclareKanjiFamily+ ã«ãã£ã¦å®ç¾©ããã¦ããï¼
+\item ã¨ã³ã³ã¼ãã£ã³ã°ã«ããããã¡ããªãæ¢ã« \verb+\DeclareKanjiFamily+ ã«ãã£ã¦å®ç¾©ããã¦ããï¼
%
%<*en>
-\item A font definition named \texttt{.fd} (the file name is
+\item A font definition named \texttt{.fd} (the file name is
all lowercase) exists.
%
%<*zh>
\item
%
%<*ja>
-\item ãã©ã³ãå®ç¾©ãã¡ã¤ã«\texttt{.fd}ï¼ãã¡ã¤ã«åã¯å
¨ã¦å°æåï¼ãåå¨ããï¼
+\item ãã©ã³ãå®ç¾©ãã¡ã¤ã«\texttt{.fd}ï¼ãã¡ã¤ã«åã¯å
¨ã¦å°æåï¼ãåå¨ããï¼
%
\end{itemize}
%<*en>
@@ -4522,13 +4522,13 @@ the commands of Japanese version:
%<*en>
These 3 font features correspond to \texttt{cid}, \texttt{jfm} and
-\texttt{jfmvar} keys for \verb+\jfont+ primitive, respectively.
+\texttt{jfmvar} keys for \verb+\jfont+ respectively.
\texttt{CID} is effective only when with \texttt{NoEmbed}
described below.
See Subsections~\ref{ssec-jfont} and \ref{ssec-psft} for details.
%
%<*ja>
-ããã3ã¤ã®ãã¼ã¯ãããã \verb+\jfont+ ããªããã£ãã«å¯¾ãã
+ããã3ã¤ã®ãã¼ã¯ãããã \verb+\jfont+ ã«å¯¾ãã
\texttt{cid}, \texttt{jfm}, \texttt{jfmvar}ãã¼ã¨ãããã対å¿ããï¼
\texttt{CID} ã¯ä¸ã® \texttt{NoEmbed} ã¨åããã¦ç¨ããããã¨ãã®ã¿æå¹ã§ããï¼
\verb+\jfont+ ããªããã£ãã«å¯¾ãã
@@ -4547,6 +4547,13 @@ will not be embedded in the output PDF file. See Subsection~\ref{ssec-psft}.
%
\end{list}
+%<*ja>
+ãªãï¼\texttt{luatexja-fontspec.sty} èªã¿è¾¼ã¿æã«ã¯åæãã©ã³ãå®ç¾©ãã¡ã¤ã«%
+\texttt{.fd}ã¯å
¨ãåç
§ãããªããªãï¼
+%
+
+
+
\subsection{\texttt{luatexja-otf.sty}}
%<*en>
@@ -4924,15 +4931,15 @@ $i$ã¯7ããå°ããèªç¶æ°ï¼
%<*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).
%
%<*ja>
-ããã«ï¼\LuaTeX-jaã¯ããã¤ãã®ãã¦ã¼ã¶å®ç¾©ã®ãwhatsit ãã¼ããå
é¨å¦çã«ç¨ããï¼
+ããã«ï¼\LuaTeX-jaã¯ããã¤ãã®ãã¦ã¼ã¶å®ç¾©ã®ãwhatsitãã¼ããå
é¨å¦çã«ç¨ããï¼
ãããã®å
¨ã¦ã®ãã¼ãã¯èªç¶æ°ãæ ¼ç´ãã¦ããï¼ãããã£ã¦ãã¼ãã®\texttt{type}ã¯
-100ã§ããï¼ï¼æ¬¡ã® \verb+user_id+ ã使ç¨ãããï¼
+100ã§ããï¼ï¼
%
\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.
@@ -4942,7 +4949,7 @@ Nodes for indicating that \verb+\inhibitglue+ is
\texttt{value}ãã£ã¼ã«ãã¯æå³ãæããªãï¼
%
-\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
@@ -4953,7 +4960,7 @@ Nodes for \LuaTeX-ja's stack system (see the next
ãããã®ãã¼ãã®\texttt{value}ãã£ã¼ã«ãã¯ç¾å¨ã®ã°ã«ã¼ãã表ãï¼
%
-\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
@@ -4970,7 +4977,7 @@ Nodes for Japanese Characters which the callback process of
\Pkg{luatexja-otf} ããã±ã¼ã¸ã§ã®ã¿ä½¿ç¨ãããï¼
%
-\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
@@ -6364,7 +6371,7 @@ listing environments.
ã¾ãï¼è¡é·ã¨èªç¶é·ã¨ã®å·®ã®çµ¶å¯¾å¤ãè¨ç®ãï¼ããã\textit{total}ã¨ããï¼
\subsection{è¡æ«æåã®ä½ç½®èª¿æ´}
-ã¾ãï¼è¡æ«ãæåã¯ã©ã¹$n$ã®\textbf{Jachar}ã§ãã£ãå ´åï¼
+ã¾ãï¼è¡æ«ãæåã¯ã©ã¹$n$ã®\textbf{JAchar}ã§ãã£ãå ´åï¼
ãããåãããã¨ã«ãã£ã¦ï¼\textbf{JAglue} ãè² æ
ãã調æ´éãå°ãªããããã¨ããï¼
ãã®è¡æ«æåã®å·¦å³ã®ç§»åå¯è½éã¯ï¼JFMä¸ã«ããæåã¯ã©ã¹$n$ã®å®ç¾©ã®
\texttt{end\_stretch},~\texttt{end\_shrink}ãã£ã¼ã«ãã«å
¨è§åä½ã®å¤ã¨ãã¦è¨è¿°ããã¦ããï¼
@@ -6837,9 +6844,9 @@ JIS~X~0208ã«ãªããã\pTeX ã§ã¯ä½¿ç¨ä¸è½ã¨èãã¦è¯ããã®ã§ã
\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}
+%!zh>
\errorstopmode
-%!zh>
\section{Package versions used in this document}
This document was typeset using the following packages: