X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=doc%2Fluatexja.dtx;h=d062b9b696f018f7b24125f9bb5052c2c0d54ebd;hb=5bf470f139df9dae6f51f0f710ac6b2aeb331e8e;hp=953019e05609ff4c60e5662da11d40b7bf1b317a;hpb=8049e2bb43cb350c8af4ee30c61c63e831276de9;p=luatex-ja%2Fluatexja.git diff --git a/doc/luatexja.dtx b/doc/luatexja.dtx index 953019e..d062b9b 100644 --- a/doc/luatexja.dtx +++ b/doc/luatexja.dtx @@ -158,7 +158,8 @@ \vskip\belowcaptionskip} \def\_{\leavevmode \kern .06em\vbox {\hrule \@width .333em}} -\def\cs#1{\texttt{\upshape\textbackslash\ltjsetparameter{autoxspacing=false}#1}} +\def\cs#1{\texttt{\upshape\textbackslash + \texorpdfstring{\ltjsetparameter{autoxspacing=false}#1}{#1}}} %%%%%%%% \makeatother @@ -5612,7 +5613,7 @@ With the help of this example, we remark the specification of \cs{inhibitglue}: Using \cs{ltjdeclarealtfont}, one can ``compose'' more than one Japanese fonts. This \cs{ltjdeclarealtfont} uses in the following form: \begin{quote} -\ttfamily \textbackslash ltjdeclarealtfont{} +\ttfamily \textbackslash ltjdeclarealtfont\{\} \end{quote} where ~and~ are defined by \cs{jfont}. Its meaning is @@ -5620,8 +5621,7 @@ Its meaning is If the current Japanese font is , characters which belong to is typeset by another Japanese font , instead of . \end{quote} - - is a comma-separated list of character codes, but also accepts negative integers: +Here is a comma-separated list of character codes, but also accepts negative integers: $-n$~($n≥1$) means that all characters of character classes~$n$, with respect to JFM used by . Note that characters which do not exist in are ignored. @@ -5645,7 +5645,7 @@ are typeset by \cs{piyo}. \cs{ltjdeclarealtfont} は以下の書式で使用する: \begin{quote} -\ttfamily \textbackslash ltjdeclarealtfont{} +\ttfamily \textbackslash ltjdeclarealtfont\{\} \end{quote} これは「現在の和文フォント」がであるとき, に属する文字はを用いて組版される,という意味である. @@ -6097,10 +6097,7 @@ loaded. %\paragraph{Remarks} %\paragraph{注意} -\begin{itemize} - %<*en> -\item Of course, there is a case that is not recognized as a Japanese font family, nor an alphabetic font family. In this case, \LuaTeX-ja treats ``the argument is wrong'', so @@ -6108,21 +6105,12 @@ set both current alphabetic and Japanese font family to , to use the default family for font substitution. % %<*ja> -\item さて,引数によっては,「和文フォントファミリとも欧文フォントファミリも認識されなかった」 という事態もあり得る. この場合,引数は不正だった,ということになるので, 和文・欧文の両方のフォントファミリをに設定し,代用フォントが使われるに任せることにする. % -%<*en> -\item -% -%<*ja> -\item -% -\end{itemize} - %<*en> \section{Addons}