X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=doc%2Fluatexja.dtx;h=c57030fb43077e62f142629a92c2f5b2e166a7a9;hb=0d4cabde0e301b63631e876116e5743e294bcdb0;hp=01fcf2815e42bd0614075e06a2f1eb875f067045;hpb=3535d9a4c45d83dcb28bc7cdbfc44e60bd3e9d80;p=luatex-ja%2Fluatexja.git
diff --git a/doc/luatexja.dtx b/doc/luatexja.dtx
index 01fcf28..c57030f 100644
--- a/doc/luatexja.dtx
+++ b/doc/luatexja.dtx
@@ -26,14 +26,17 @@
%<*en>
\usepackage[margin=25mm,footskip=6mm]{geometry}
+\usepackage{luatexja-adjust}\ltjdisableadjust
\parskip=\smallskipamount
%
%<*ja>
\usepackage[textwidth=45\zw, lines=45, footskip=6mm]{geometry}
+\usepackage{luatexja-adjust}%\ltjdisableadjust
\advance\leftmargini-1\zw\advance\leftmarginii-1\zw
%
%<*zh>
\usepackage[textwidth=45\zw, lines=45, footskip=6mm]{geometry}
+\usepackage{luatexja-adjust}\ltjdisableadjust
\advance\leftmargini-1\zw\advance\leftmarginii-1\zw
\def\postpartname{ç¼}
\DeclareYokoKanjiEncoding{ZH}{}{}
@@ -369,12 +372,12 @@ The followings are major changes from \pTeX:
%<*en>
\item The insertion process of glues/kerns between two Japanese
characters and between a Japanese character and other characters
- (we refer these glues/kerns as \textbf{JAglue}) is rewritten from
+ (we refer glues/kerns of both kinds as \textbf{JAglue}) is rewritten from
scratch.
%
%<*ja>
-\item 2ã¤ã®åææåã®éï¼åææåã¨æ¬§ææåã®éã«å
¥ãã°ã«ã¼ï¼ã«ã¼ã³
- ï¼\textbf{JAglue}ã¨å¼ã¶ï¼ã®æ¿å
¥å¦çã0ããæ¸ãç´ããã¦ããï¼
+\item 2ã¤ã®åææåã®éãï¼åææåã¨æ¬§ææåã®éã«å
¥ãã°ã«ã¼ï¼ã«ã¼ã³
+ ï¼ä¸¡è
ããããã¦\textbf{JAglue}ã¨å¼ã¶ï¼ã®æ¿å
¥å¦çã0ããæ¸ãç´ããã¦ããï¼
%
%<*zh>
\item æå¨æ¥æå符åå
¶ä»å符è¨ä¹é´çè¶/åºæ ¼ï¼æ们å°æ¤ç§°ä¸º\textbf{JAglue}ï¼æ¯éæ°å®ç°çã
@@ -544,17 +547,17 @@ We say `alphabetic fonts' for fonts used in \textbf{ALchar}, and `Japanese fonts
%
%<*en>
-\item A word in a sans-serif font (like \Param{prebreakpenalty})
+\item A word in a sans-serif font (like \Param{\hyperlink{fld:prebp}{prebreakpenalty}})
means an internal parameter for Japanese typesetting, and it
is used as a key in \verb+\ltjsetparameter+ command.
%
%<*ja>
-\item ãµã³ã»ãªãä½ã§æ¸ãããèªï¼ä¾ï¼\Param{prebreakpenalty}ï¼ã¯æ¥æ¬èªçµçç¨ã®
+\item ãµã³ã»ãªãä½ã§æ¸ãããèªï¼ä¾ï¼\Param{\hyperlink{fld:prebp}{prebreakpenalty}}ï¼ã¯æ¥æ¬èªçµçç¨ã®
ãã©ã¡ã¼ã¿ã表ãï¼ããã㯠\verb+\ltjsetparameter+ ã³ãã³ãã®ãã¼ã¨ãã¦
ç¨ããããï¼
%
%<*zh>
-\item ç¨æ 衬线åä½è¡¨ç¤ºçè¯ï¼å¦ï¼\Param{prebreakpenalty}ï¼è¡¨ç¤º
+\item ç¨æ 衬线åä½è¡¨ç¤ºçè¯ï¼å¦ï¼\Param{\hyperlink{fld:prebp}{prebreakpenalty}}ï¼è¡¨ç¤º
æ¥ææçä¸çå
é¨ä¾¿å©iangï¼å¹¶ç¨å\verb!\ltjsetparameter!å½ä»¤ä¸ä¸ªé®ã
%
@@ -982,10 +985,10 @@ Kozuka Minchoåä½æ¿ä»£Ryumin-Lightï¼ãæ们使ç¨é»è®¤è®¾å®ã
%<*en>
\item The amount of glue that are inserted between a \textbf{JAchar} and
- an \textbf{ALchar} (the parameter \Param{xkanjiskip}) is set to
+ an \textbf{ALchar} (the parameter \Param{\hyperlink{fld:xks}{xkanjiskip}}) is set to
%
%<*ja>
-\item \textbf{JAchar}ã¨\textbf{ALchar}ã®éã«å
¥ãã°ã«ã¼(\Param{xkanjiskip})ã®
+\item \textbf{JAchar}ã¨\textbf{ALchar}ã®éã«å
¥ãã°ã«ã¼(\Param{\hyperlink{fld:xks}{xkanjiskip}})ã®
éã¯æ¬¡ã®ããã«è¨å®ããã¦ããï¼
%
%<*zh>
@@ -1532,25 +1535,25 @@ Use bold gothic as bold mincho.
%
\item[90jis]
%<*en>
-Use 90JIS glyphs if possible.
+Use fonts with 90JIS glyphs if possible.
%
%<*ja>
-åºæ¥ãéã90JISã®åå½¢ã使ãï¼
+åºæ¥ãéã90JISã®åå½¢ãæ¡ç¨ãã¦ãããã©ã³ãã使ãï¼
%
\item[jis2004]
%<*en>
-Use JIS2004 glyphs if possible.
+Use fonts with JIS2004 glyphs if possible.
%
%<*ja>
-åºæ¥ãéãJIS2004ã®åå½¢ã使ãï¼
+åºæ¥ãéãJIS2004ã®åå½¢ãæ¡ç¨ãã¦ãããã©ã³ãã使ãï¼
%
\item[jis]
%<*en>
-Use the JFM \texttt{jfm-jis.lua}, instead of the default JFM of
-\LuaTeX-ja, \texttt{jfm-ujis.lua}.
+Use the JFM \texttt{jfm-jis.lua}, instead of \texttt{jfm-ujis.lua}, which is the default JFM of
+\LuaTeX-ja.
%
%<*ja>
-ç¨ããJFMã\texttt{jfm-jis.lua}ã¨ããï¼ãã®ãªãã·ã§ã³ããªãæã¯
+ç¨ããJFMãï¼JISãã©ã³ãã¡ããªãã¯é¡ä¼¼ã®ï¼\texttt{jfm-jis.lua}ã«ããï¼ãã®ãªãã·ã§ã³ããªãæã¯
\LuaTeX-jaæ¨æºã®\texttt{jfm-ujis.lua}ãç¨ããããï¼
%
\end{list}
@@ -1618,7 +1621,6 @@ as a substitute for \textit{rounded gothic}.
Settings for Hiragino fonts:
%
%<*ja>
-ã¢ãªãµã¯ã»ãã©ã®ãç¨ã®è¨å®ã¯ãã®ãããªãã¨ã¯è¡ã£ã¦ããªãï¼
ã¾ããã©ã®ããã©ã³ãããï¼
%
% ãããã¯æã£ã¦ããããã§ã¯ãªãã®ã§ï¼ãã©ã³ãåã
@@ -2120,7 +2122,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
\item \texttt{U+0180}--\texttt{U+024F}: ã©ãã³æåæ¡å¼µB
\item \texttt{U+0250}--\texttt{U+02AF}: IPAæ¡å¼µï¼å½éé³å£°è¨å·ï¼
\item \texttt{U+02B0}--\texttt{U+02FF}: åé²ãä¼´ã修飾æå
-\item \texttt{U+0300}--\texttt{U+036F}: ãã¤ã¢ã¯ãªãã£ã«ã«ãã¼ã¯ï¼åæå¯è½ï¼
+\item \texttt{U+0300}--\texttt{U+036F}: åæå¯è½ãªèå¥è¨å·
\item \texttt{U+1E00}--\texttt{U+1EFF}: ã©ãã³æåæ¡å¼µè¿½å
%
%<*zh>
@@ -2140,7 +2142,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
fonts) has some of these characters.
%
%<*ja>
-\item[ç¯å²2${}^{\text{J}}$] ã®ãªã·ã£æåã¨ããªã«æåï¼JIS~X~0208ï¼ãããã£ã¦å¤ãã®
+\item[ç¯å²2${}^{\text{J}}$] ã®ãªã·ã£æåã¨ããªã«æåï¼JIS~X~0208ï¼ãããã£ã¦ã»ã¨ãã©ã®
åæãã©ã³ãï¼ã¯ãããã®æåãæã¤ï¼
%
%<*zh>
@@ -2154,7 +2156,7 @@ This range consist of the following Unicode ranges, \emph{except characters in t
\item \texttt{U+1F00}--\texttt{U+1FFF}: Greek Extended
%
%<*ja>
-\item \texttt{U+0370}--\texttt{U+03FF}: ã®ãªã·ã¢æååã³ã³ããæå
+\item \texttt{U+0370}--\texttt{U+03FF}: ã®ãªã·ã¢æåã»ã³ããæå
\item \texttt{U+0400}--\texttt{U+04FF}: ããªã«æå
\item \texttt{U+1F00}--\texttt{U+1FFF}: ããªã«æåè£å©
%
@@ -2475,31 +2477,31 @@ The block list is indicated in Table~\ref{table-rng7}.
kanjiskip}).
%
%<*ja>
-\item ããã©ã«ãã§2ã¤ã®\textbf{JAchar}ã®éã«æ¿å
¥ãããã°ã«ã¼(\Param{kanjiskip})ï¼
+\item ããã©ã«ãã§2ã¤ã®\textbf{JAchar}ã®éã«æ¿å
¥ãããã°ã«ã¼(\Param{\hyperlink{fld:kanjiskip}{kanjiskip}})ï¼
%
%<*zh>
-\item 两个\textbf{JAchar}ä¹é´é»è®¤æå
¥çè¶ï¼\Param{kanjiskip}ï¼ã
+\item 两个\textbf{JAchar}ä¹é´é»è®¤æå
¥çè¶ï¼\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ï¼ã
%
%<*en>
\item The default glue which inserted between a \textbf{JAchar} and an
- \textbf{ALchar} (\Param{xkanjiskip}).
+ \textbf{ALchar} (\Param{\hyperlink{fld:xks}{xkanjiskip}}).
%
%<*ja>
-\item ããã©ã«ãã§\textbf{JAchar}ã¨\textbf{ALchar}ã®éã«æ¿å
¥ãããã°ã«ã¼(\Param{xkanjiskip})ï¼
+\item ããã©ã«ãã§\textbf{JAchar}ã¨\textbf{ALchar}ã®éã«æ¿å
¥ãããã°ã«ã¼(\Param{\hyperlink{fld:xks}{xkanjiskip}})ï¼
%
%<*zh>
-\item \textbf{JAchar}å\textbf{ALchar}ä¹é´é»è®¤æå
¥çè¶ï¼\Param{xkanjiskip}ï¼ã
+\item \textbf{JAchar}å\textbf{ALchar}ä¹é´é»è®¤æå
¥çè¶ï¼\Param{\hyperlink{fld:xks}{xkanjiskip}}ï¼ã
%
\end{itemize}
%<*en>
-The value (a skip) of \Param{kanjiskip} or \Param{xkanjiskip} can be
+The value (a skip) of \Param{\hyperlink{fld:kanjiskip}{kanjiskip}} or \Param{\hyperlink{fld:xks}{xkanjiskip}} can be
changed as the following.
%
%<*ja>
-\Param{kanjiskip}ã\Param{xkanjiskip}ã®å¤ã¯ä»¥ä¸ã®ããã«ãã¦å¤æ´å¯è½ã§ãã.
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®å¤ã¯ä»¥ä¸ã®ããã«ãã¦å¤æ´å¯è½ã§ãã.
%
%<*zh>
-\Param{kanjiskip}å\Param{xkanjiskip}ç设å®å¦ä¸æ示ï¼
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}å\Param{\hyperlink{fld:xks}{xkanjiskip}}ç设å®å¦ä¸æ示ï¼
%
\begin{lstlisting}
\ltjsetparameter{kanjiskip={0pt plus 0.4pt minus 0.4pt},
@@ -2507,20 +2509,20 @@ changed as the following.
\end{lstlisting}
%<*en>
-It may occur that JFM contains the data of `ideal width of \Param{kanjiskip}'
-and/or `ideal width of \Param{xkanjiskip}'.
-To use these data from JFM, set the value of \Param{kanjiskip} or
-\Param{xkanjiskip} to \verb+\maxdimen+.
+It may occur that JFM contains the data of `ideal width of \Param{\hyperlink{fld:kanjiskip}{kanjiskip}}'
+and/or `ideal width of \Param{\hyperlink{fld:xks}{xkanjiskip}}'.
+To use these data from JFM, set the value of \Param{\hyperlink{fld:kanjiskip}{kanjiskip}} or
+\Param{\hyperlink{fld:xks}{xkanjiskip}} to \verb+\maxdimen+.
%
%<*ja>
-JFMã¯ãæã¾ãã\Param{kanjiskip}ã®å¤ãããæã¾ãã\Param{xkanjiskip}ã®å¤ãã
+JFMã¯ãæã¾ãã\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã®å¤ãããæã¾ãã\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®å¤ãã
æã£ã¦ãããã¨ãããï¼
-ãããã®ãã¼ã¿ã使ãããã«ã¯ï¼\Param{kanjiskip}ã\Param{xkanjiskip}ã®
+ãããã®ãã¼ã¿ã使ãããã«ã¯ï¼\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®
å¤ã \verb+\maxdimen+ ã®å¤ã«è¨å®ããã°ããï¼
%
%<*zh>
-å½JFMå
å«â\Param{kanjiskip}çæ³å®½åº¦âå/æâ\Param{xkanjiskip}çæ³å®½åº¦âæ°æ®æ¶ï¼
-ä¸è¿°è®¾å®äº§çä½ç¨ãå¦ææ³ç¨JFMä¸çæ°æ®ï¼è¯·è®¾å®\Param{kanjiskip}æ\textsf{xkanjiskip}为\verb!\maxdimen!ã
+å½JFMå
å«â\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}çæ³å®½åº¦âå/æâ\Param{\hyperlink{fld:xks}{xkanjiskip}}çæ³å®½åº¦âæ°æ®æ¶ï¼
+ä¸è¿°è®¾å®äº§çä½ç¨ãå¦ææ³ç¨JFMä¸çæ°æ®ï¼è¯·è®¾å®\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}æ\textsf{xkanjiskip}为\verb!\maxdimen!ã
%
%\subsection{Insertion Setting of \Param{xkanjiskip}}
@@ -2528,28 +2530,28 @@ JFMã¯ãæã¾ãã\Param{kanjiskip}ã®å¤ãããæã¾ãã\Param{xkanjisk
%\subsection{\Param{xkanjiskip}æå
¥è®¾å®}
%<*en>
-It is not desirable that \Param{xkanjiskip} is inserted into every
+It is not desirable that \Param{\hyperlink{fld:xks}{xkanjiskip}} is inserted into every
boundary between \textbf{JAchar}s and \textbf{ALchar}s. For example,
-\Param{xkanjiskip} should not be inserted after opening parenthesis
+\Param{\hyperlink{fld:xks}{xkanjiskip}} should not be inserted after opening parenthesis
(\textit{e.g.}, compare `(ã' and `(\hskip\ltjgetparameter{xkanjiskip}ã').
-\LuaTeX-ja can control whether \Param{xkanjiskip} can be inserted
+\LuaTeX-ja can control whether \Param{\hyperlink{fld:xks}{xkanjiskip}} can be inserted
before/after a character, by changing \Param{jaxspmode} for \textbf{JAchar}s and
\Param{alxspmode} parameters \textbf{ALchar}s respectively.
%
%<*ja>
-\Param{xkanjiskip}ããã¹ã¦ã®\textbf{JAchar}ã¨\textbf{ALchar}ã®å¢çã«
-æ¿å
¥ãããã®ã¯æã¾ãããã¨ã§ã¯ãªãï¼ä¾ãã°ï¼\Param{xkanjiskip}ã¯éãæ¬å¼§ã®
+\Param{\hyperlink{fld:xks}{xkanjiskip}}ããã¹ã¦ã®\textbf{JAchar}ã¨\textbf{ALchar}ã®å¢çã«
+æ¿å
¥ãããã®ã¯æã¾ãããã¨ã§ã¯ãªãï¼ä¾ãã°ï¼\Param{\hyperlink{fld:xks}{xkanjiskip}}ã¯éãæ¬å¼§ã®
å¾ã«ã¯æ¿å
¥ãããã¹ãã§ã¯ãªãï¼`(ã'ã¨`(\hskip\ltjgetparameter{xkanjiskip}ã'ã
æ¯ã¹ã¦ã¿ãï¼ï¼
-\LuaTeX-jaã§ã¯\Param{xkanjiskip}ãããæåã®åï¼å¾ã«æ¿å
¥ãããã©ãããï¼
+\LuaTeX-jaã§ã¯\Param{\hyperlink{fld:xks}{xkanjiskip}}ãããæåã®åï¼å¾ã«æ¿å
¥ãããã©ãããï¼
\textbf{JAchar}ã«å¯¾ãã¦ã¯\Param{jaxspmode}ãï¼\textbf{ALchar}ã«å¯¾ãã¦ã¯
\Param{alxspmode}ãããããå¤ãããã¨ã§å¶å¾¡ãããã¨ãã§ããï¼
%
%<*zh>
并ä¸æ¯å¨ææç\textbf{JAchar}å\textbf{ALchar}å¨å´æå
¥\textsf{xkanjiskip}é½æ¯åéçã
-æ¯å¦ï¼å¨å¼æ ç¹ä¹åæå
¥\Param{xkanjiskip}并ä¸åé[å¦ï¼æ¯è¾â(ãâåâ(\hskip\ltjgetparameter{xkanjiskip}ãâ]ã
+æ¯å¦ï¼å¨å¼æ ç¹ä¹åæå
¥\Param{\hyperlink{fld:xks}{xkanjiskip}}并ä¸åé[å¦ï¼æ¯è¾â(ãâåâ(\hskip\ltjgetparameter{xkanjiskip}ãâ]ã
\LuaTeX-jaå¯ä»¥éè¿è®¾å®\textbf{JAchar}ç\Param{jaxspmode}以å\textbf{ALchar}ç\Param{alxspmode}æ¥æ§å¶
-\Param{xkanjiskip}å¨å符ååçæå
¥ã
+\Param{\hyperlink{fld:xks}{xkanjiskip}}å¨å符ååçæå
¥ã
%
\begin{LTXexample}
\ltjsetparameter{jaxspmode={`ã,preonly}, alxspmode={`\!,postonly}}
@@ -2558,12 +2560,12 @@ pãq ã!ã
%<*en>
The second argument \texttt{preonly} means `the insertion of
-\Param{xkanjiskip} is allowed before this character, but not after'.
+\Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed before this character, but not after'.
the other possible values are \texttt{postonly}, \texttt{allow} and \texttt{
inhibit}.
%
%<*ja>
-2ã¤ç®ã®å¼æ°ã® \texttt{preonly}ã¯ã\Param{xkanjiskip}ã®æ¿å
¥ã¯ãã®æåã®
+2ã¤ç®ã®å¼æ°ã® \texttt{preonly}ã¯ã\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯ãã®æåã®
åã§ã®ã¿è¨±ããï¼å¾ã§ã¯è¨±ããªãããã¨ãæå³ããï¼ä»ã«æå®å¯è½ãªå¤ã¯
\texttt{postonly}, \texttt{allow}, \texttt{inhibit}ã§ããï¼
%
@@ -2600,17 +2602,17 @@ One can use also numbers to specify these two parameters (see Subsection~\ref{ss
%
%<*en>
-If you want to enable/disable all insertions of \Param{kanjiskip} and
-\Param{xkanjiskip}, set \Param{autospacing} and \Param{autoxspacing}
+If you want to enable/disable all insertions of \Param{\hyperlink{fld:kanjiskip}{kanjiskip}} and
+\Param{\hyperlink{fld:xks}{xkanjiskip}}, set \Param{autospacing} and \Param{autoxspacing}
parameters to \texttt{true}/\texttt{false}, respectively.
%
%<*ja>
-ããå
¨ã¦ã®\Param{kanjiskip}ã¨\Param{xkanjiskip}ã®æ¿å
¥ãæå¹åï¼ç¡å¹å
+ããå
¨ã¦ã®\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã¨\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ãæå¹åï¼ç¡å¹å
ããããã°ï¼ãããã\Param{autospacing}ã¨\Param{autoxspacing}ã
\texttt{true}/\texttt{false}ã«è¨å®ããã°ããï¼
%
%<*zh>
-å¦æä½ æ³è¦å¯ç¨/å±è½ææç\Param{kanjiskip}å\Param{xkanjiskip}æå
¥ï¼è®¾å®
+å¦æä½ æ³è¦å¯ç¨/å±è½ææç\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}å\Param{\hyperlink{fld:xks}{xkanjiskip}}æå
¥ï¼è®¾å®
\Param{autospacing}å\Param{autoxspcing}为\texttt{ture}/\texttt{false}å³å¯ã
%
@@ -3093,22 +3095,22 @@ floating-point numbers in design-size unit.
%ï¼å¯éï¼
%<*en>
-This field specifies the `ideal' amount of \Param{kanjiskip}. As noted
+This field specifies the `ideal' amount of \Param{\hyperlink{fld:kanjiskip}{kanjiskip}}. As noted
in Subsection~\ref{subs-kskip}, if the parameter
- \Param{kanjiskip} is \verb+\maxdimen+, the value specified
+ \Param{\hyperlink{fld:kanjiskip}{kanjiskip}} is \verb+\maxdimen+, the value specified
in this field is actually used (if this field is not specified in
JFM, it is regarded as 0\,pt). Note that and
fields are in design-size unit too.
%
%<*ja>
-ãçæ³çãªã\Param{kanjiskip}ã®éãæå®ããï¼\ref{subs-kskip}ç¯ã§è¿°ã¹ãããã«ï¼
-ãã\Param{kanjiskip}ã \verb+\maxdimen+ ã®å¤ãªãã°ï¼ãã®ãã£ã¼ã«ãã§æå®ããã
+ãçæ³çãªã\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã®éãæå®ããï¼\ref{subs-kskip}ç¯ã§è¿°ã¹ãããã«ï¼
+ãã\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã \verb+\maxdimen+ ã®å¤ãªãã°ï¼ãã®ãã£ã¼ã«ãã§æå®ããã
å¤ãå®éã«ã¯ç¨ããããï¼ãããã®ãã£ã¼ã«ããJFMã§æå®ããã¦ããªããã°ï¼
0\,ptã§ãããã®ã¨ãã¦æ±ãããï¼ï¼ã¨ã®ãã£ã¼ã«ããdesign-size
ãåä½ã§ãããã¨ã«æ³¨æããï¼
%
%<*zh>
-è¿é¨å为âçæ³é¿åº¦â\Param{kanjiskip}ã\ref{subs-kskip}èæ详述ï¼å¦æåæ°\Param{kanjiskip}
+è¿é¨å为âçæ³é¿åº¦â\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã\ref{subs-kskip}èæ详述ï¼å¦æåæ°\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}
为\verb!\maxdimen!ï¼åå¼è®¾å®å°ä¼è¢«ä½¿ç¨ï¼è¥åJFMä¸æªè®¾å®ï¼å被è§ä¸º0\,ptï¼ã
请注æï¼åçé¿åº¦å为design-sizeåä½ã
%
@@ -3119,15 +3121,15 @@ This field specifies the `ideal' amount of \Param{kanjiskip}. As noted
%ï¼å¯éï¼
%<*en>
-Like the \Param{kanjiskip} field, this field specifies the `ideal'
- amount of \Param{xkanjiskip}.
+Like the \texttt{kanjiskip} field, this field specifies the `ideal'
+ amount of \Param{\hyperlink{fld:xks}{xkanjiskip}}.
%
%<*ja>
-\Param{kanjiskip}ãã£ã¼ã«ãã¨åæ§ã«ï¼\Param{xkanjiskip}ã®ãçæ³çãªãéã
+\texttt{kanjiskip}ãã£ã¼ã«ãã¨åæ§ã«ï¼\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®ãçæ³çãªãéã
æå®ããï¼
%
%<*zh>
-å\Param{kanjiskip}类似ï¼æ¤é¨å设å®\Param{xkanjiskip}çâçæ³é¿åº¦âã
+å\texttt{kanjiskip}类似ï¼æ¤é¨å设å®\Param{\hyperlink{fld:xks}{xkanjiskip}}çâçæ³é¿åº¦âã
%
\end{list}
@@ -3376,22 +3378,45 @@ Furthermore, the glyph is shifted according to values of fields
\label{fig-pos}
\end{figure}
-\item[kern={\{[$j$]=, ...\}}]
+\item[kern={\{[$j$]=, [$j'$]=\{, []\}...\}}]
-\item[glue={\{[$j$]=\{, , , []\}, ...\}}]
+\item[glue={\{[$j$]=\{, , , [], []\}, ...\}}]
%<*ja>
æåã¯ã©ã¹$i$ã®æåã¨$j$ã®æåã®éã«æ¿å
¥ãããkernãglueã®éãæå®ããï¼
- ã¯çç¥å¯è½ã§ããï¼è¡èª¿æ´å¦çã«ããããã®glueã®åªå
+
+ ã¯\texttt{luatexja-adjust.sty} ã«ããåªå
é ä½ä»ã
+ è¡é·èª¿æ´ï¼\ref{ssec-adj}ç¯ï¼ãæå¹ãªã¨ãã®ã¿æå³ãæã¤ï¼
+ãã®ãã£ã¼ã«ãã¯çç¥å¯è½ã§ããï¼è¡èª¿æ´å¦çã«ããããã®glueã®åªå
度ã$-2$ãã$+2$ã®éã®æ´æ°ã§æå®ããï¼ã®çç¥æã®å¤
ã¯0ã§ããï¼ç¯å²å¤ã®å¤ãæå®ãããã¨ãã®åä½ã¯æªå®ç¾©ã§ããï¼ï¼
+ãçç¥å¯è½ãã£ã¼ã«ãã§ããï¼$-1$ãã$+1$ã®å®æ°å¤ãã¨ãï¼çç¥æã®å¤ã¯0ã§ããï¼
+\begin{itemize}
+\item $-1$ã¯ãã®ã°ã«ã¼ããåã®æåãç±æ¥ã§ãããã¨ã示ãï¼
+\item $+1$ã¯ãã®ã°ã«ã¼ããå¾ã®æåãç±æ¥ã§ãããã¨ã示ãï¼
+\item ãã以å¤ã®å¤ã¯ï¼ãåã®æåãç±æ¥ã®ã°ã«ã¼ã¨ãå¾ã®æåãç±æ¥ã®
+ã°ã«ã¼ãæ··åããã¦ãããã¨ã示ãï¼
+\end{itemize}
+ãªãï¼ãã®ãã£ã¼ã«ãã®å¤ã¯\Param{\hyperlink{fld:diffjfm}{differentjfm}}ã®å¤ã\texttt{pleft},~\texttt{pright},~\texttt{paverage}ã®å¤ã®ã¨ãã®ã¿å®éã«ç¨ããããï¼
+
+ä¾ãã°ï¼\cite{x4051}ã§ã¯ï¼å¥ç¹ã¨ä¸ç¹ã®éã«ã¯ï¼
+å¥ç¹ç±æ¥ã®äºå空ãã¨ä¸ç¹ç±æ¥ã®åå空ããæ¿å
¥ããããï¼ãã®å ´åã«ã¯
+\begin{itemize}
+\item ã«ã¯$0.5+0.25=0.75$ãæå®ããï¼
+\item ã«ã¯æ¬¡ã®å¤ãæå®ããï¼
+\[
+ -1\cdot \frac{0.5}{0.5+0.25} + 1 \cdot \frac{0.25}{0.5+0.25} = -\frac13
+\]
+\end{itemize}
+
%
\item[end\_stretch=]
\item[end\_shrink=]
%<*ja>
ãããã®ãã£ã¼ã«ãã¯çç¥å¯è½ã§ããï¼
-ç¾å¨ã®æåã¯ã©ã¹ã®æåãè¡æ«ã«æ¥ãæã«ï¼è¡é·ãè©°ãã調æ´ã»ä¼¸ã°ã調æ´ã®ã
+åªå
é ä½ä»ãè¡é·èª¿æ´ãæå¹ã§ããï¼ãã¤ç¾å¨ã®æåã¯ã©ã¹ã®æåãè¡
+ æ«ã«æ¥ãæã«ï¼è¡é·ãè©°ãã調æ´ã»ä¼¸ã°ã調æ´ã®ã
ãã«ãã®æåã¨è¡æ«ã®éã«æ¿å
¥å¯è½ãªã«ã¼ã³ã®å¤§ãããæå®ããï¼
%
@@ -3481,10 +3506,10 @@ The following is the list of `imaginary characters':
%%%è¡ã®çµç«¯ã表ãï¼
%%%è¡å°¾ç»æå符ã
-\item['diffmet']
-%Used at a boundary between two \textbf{JAchar}s whose JFM or size is different.
-%JFMããµã¤ãºãç°ãªã2ã¤ã®\textbf{JAchar}ã®éã®å¢çã¨ãã¦ç¨ããããï¼
-%ç¨äºä¸¤ä¸ªä¸å大å°æä¸åJFMç两个\textbf{JAchar}é´è¾¹çã
+%%\item['diffmet']
+%%Used at a boundary between two \textbf{JAchar}s whose JFM or size is different.
+%%JFMããµã¤ãºãç°ãªã2ã¤ã®\textbf{JAchar}ã®éã®å¢çã¨ãã¦ç¨ããããï¼
+%%ç¨äºä¸¤ä¸ªä¸å大å°æä¸åJFMç两个\textbf{JAchar}é´è¾¹çã
\item['boxbdd']
%The beginning/ending of a horizontal box, and the beginning of a noindented paragraph.
@@ -4007,25 +4032,21 @@ At the present version, the lowermost bit of indicates
ã¿ãªããããã©ããã表ãã¦ããï¼ä¸ã®\Param{jcharwidowpenalty}ã®è¨è¿°ãåç
§ï¼ï¼
%
-\item[\Param{prebreakpenalty}\,=\{,\}] [\verb+\prebreakpenalty+]\
+\item[\Param{\hypertarget{fld:prebp}{prebreakpenalty}}\,=\{,\}] [\verb+\prebreakpenalty+]\
%<*ja>
æåã³ã¼ãã®\textbf{JAchar}ãè¡é ã«ãããã¨ãææ¢ããããã«ï¼
ãã®æåã®åã«æ¿å
¥/追å ãããããã«ãã£ã®éãæå®ããï¼
-ä¾ãã°éãæ¬å¼§ãããã¯çµ¶å¯¾ã«è¡é ã«ãã¦ã¯ãªããªãã®ã§ï¼æ¨æºã§èªã¿è¾¼ã¾ãã
- \texttt{luatexja-kinsoku.tex}ã«ããã¦
+ä¾ãã°éãæ¬å¼§ãããã¯çµ¶å¯¾ã«è¡é ã«ãã¦ã¯ãªããªãã®ã§ï¼
\begin{verbatim}
\ltjsetparameter{prebreakpenalty={`ã,10000}}
\end{verbatim}
-ã¨ï¼æ大å¤ã®10000ãæå®ããã¦ããï¼ä»ã«ãï¼å°æ¸ãã®ã«ããªã©ï¼çµ¶å¯¾ç¦æ¢ã¨ã
+ã¨ï¼æ大å¤ã®10000ãæ¨æºã§æå®ããã¦ããï¼ä»ã«ãï¼å°æ¸ãã®ã«ããªã©ï¼çµ¶å¯¾ç¦æ¢ã¨ã
ãããã§ã¯ãªããã§ããã°è¡é ã«ã¯ãã¦æ¬²ãããªãå ´åã«ï¼0ã¨
10000ã®éã®å¤ãæå®ããã®ãæç¨ã§ããã.
-\begin{verbatim}
-\ltjsetparameter{prebreakpenalty={`ã,150}}
-\end{verbatim}
%
-\item[\Param{postbreakpenalty}\,=\{,\}] [\verb+\postbreakpenalty+]
+\item[\Param{\hypertarget{fld:postbp}{postbreakpenalty}}\,=\{,\}] [\verb+\postbreakpenalty+]
%<*ja>
æåã³ã¼ãã®\textbf{JAchar}ãè¡æ«ã«ãããã¨ãææ¢ããããã«ï¼
ãã®æåã®å¾ã«æ¿å
¥/追å ãããããã«ãã£ã®éãæå®ããï¼
@@ -4057,27 +4078,27 @@ At the present version, the lowermost bit of indicates
\item[\Param{jaxspmode}\,=\{,\}]
%<*en>
-Setting whether inserting \Param{xkanjiskip} is allowed before/after a \textbf{JAchar} whose character code is .
+Setting whether inserting \Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed before/after a \textbf{JAchar} whose character code is .
The followings are allowed for :
%
%<*ja>
-æåã³ã¼ããã®\textbf{JAchar}ã®åï¼å¾ãã«\Param{xkanjiskip}ã®
+æåã³ã¼ããã®\textbf{JAchar}ã®åï¼å¾ãã«\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®
æ¿å
¥ã許ããã©ããã®è¨å®ï¼
以ä¸ã®ã許ãããï¼
%
\begin{description}
-%\item[0, \texttt{inhibit}] Insertion of \Param{xkanjiskip} is inhibited before the character, nor after the character.
-%\item[0, \texttt{inhibit}] \Param{xkanjiskip}ã®æ¿å
¥ã¯æåã®åï¼å¾ãã®ãããã§ãç¦æ¢ãããï¼
-%\item[0, \texttt{inhibit}] æå
¥æåå/åç\Param{xkanjiskip}å被ç¦æ¢ã
-%\item[1, \texttt{preonly}] Insertion of \Param{xkanjiskip} is allowed before the character, but not after.
-%\item[1, \texttt{preonly}] \Param{xkanjiskip}ã®æ¿å
¥ã¯æåã®åã§ã¯è¨±ããããï¼å¾ãã§ã¯è¨±ãããªãï¼
-%\item[1, \texttt{preonly}] æååå
许æå
¥\Param{xkanjiskip}ï¼ä½å
¶åä¸å
许æå
¥ã
-%\item[2, \texttt{postonly}] Insertion of \Param{xkanjiskip} is allowed after the character, but not before.
-%\item[2, \texttt{postonly}] \Param{xkanjiskip}ã®æ¿å
¥ã¯æåã®å¾ãã§ã¯è¨±ããããï¼åã§ã¯è¨±ãããªãï¼
-%\item[2, \texttt{postonly}] æååå
许æå
¥\Param{xkanjiskip}ï¼ä½ä¹åä¸å
许æå
¥ã
-%\item[3, \texttt{allow}] Insertion of \Param{xkanjiskip} is allowed both before the character and after the character. This is the default value.
-%\item[3, \texttt{allow}] \Param{xkanjiskip}ã®æ¿å
¥ã¯æåã®åï¼å¾ãã®ãããã§ã許ãããï¼ãããããã©ã«ãã®å¤ã§ããï¼
-%\item[3, \texttt{allow}] æååååå¯æå
¥\Param{xkanjiskip}ãæ¤ä¸ºé»è®¤å¼ã
+%\item[0, \texttt{inhibit}] Insertion of \Param{\hyperlink{fld:xks}{xkanjiskip}} is inhibited before the character, nor after the character.
+%\item[0, \texttt{inhibit}] \Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯æåã®åï¼å¾ãã®ãããã§ãç¦æ¢ãããï¼
+%\item[0, \texttt{inhibit}] æå
¥æåå/åç\Param{\hyperlink{fld:xks}{xkanjiskip}}å被ç¦æ¢ã
+%\item[1, \texttt{preonly}] Insertion of \Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed before the character, but not after.
+%\item[1, \texttt{preonly}] \Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯æåã®åã§ã¯è¨±ããããï¼å¾ãã§ã¯è¨±ãããªãï¼
+%\item[1, \texttt{preonly}] æååå
许æå
¥\Param{\hyperlink{fld:xks}{xkanjiskip}}ï¼ä½å
¶åä¸å
许æå
¥ã
+%\item[2, \texttt{postonly}] Insertion of \Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed after the character, but not before.
+%\item[2, \texttt{postonly}] \Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯æåã®å¾ãã§ã¯è¨±ããããï¼åã§ã¯è¨±ãããªãï¼
+%\item[2, \texttt{postonly}] æååå
许æå
¥\Param{\hyperlink{fld:xks}{xkanjiskip}}ï¼ä½ä¹åä¸å
许æå
¥ã
+%\item[3, \texttt{allow}] Insertion of \Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed both before the character and after the character. This is the default value.
+%\item[3, \texttt{allow}] \Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯æåã®åï¼å¾ãã®ãããã§ã許ãããï¼ãããããã©ã«ãã®å¤ã§ããï¼
+%\item[3, \texttt{allow}] æååååå¯æå
¥\Param{\hyperlink{fld:xks}{xkanjiskip}}ãæ¤ä¸ºé»è®¤å¼ã
\end{description}
%<*en>
This parameter is similar to the \verb+\inhibitxspcode+ primitive of \pTeX, but not compatible with \verb+\inhibitxspcode+.
@@ -4092,28 +4113,28 @@ This parameter is similar to the \verb+\inhibitxspcode+ primitive of \pTeX, but
\item[\Param{alxspmode}\,=\{,\}] [\verb+\xspcode+]
%<*en>
-Setting whether inserting \Param{xkanjiskip} is allowed before/after a
+Setting whether inserting \Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed before/after a
\textbf{ALchar} whose character code is .
The followings are allowed for :
%
%<*ja>
-æåã³ã¼ããã®\textbf{ALchar}ã®åï¼å¾ãã«\Param{xkanjiskip}ã®
+æåã³ã¼ããã®\textbf{ALchar}ã®åï¼å¾ãã«\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®
æ¿å
¥ã許ããã©ããã®è¨å®ï¼
以ä¸ã®ã許ãããï¼
%
\begin{description}
-%\item[0, \texttt{inhibit}] Insertion of \Param{xkanjiskip} is inhibited before the character, nor after the character.
-%\item[0, \texttt{inhibit}] \Param{xkanjiskip}ã®æ¿å
¥ã¯æåã®åï¼å¾ãã®ãããã§ãç¦æ¢ãããï¼
-%\item[0, \texttt{inhibit}] æå
¥æåå/åç\Param{xkanjiskip}å被ç¦æ¢ã
-%\item[1, \texttt{preonly}] Insertion of \Param{xkanjiskip} is allowed before the character, but not after.
-%\item[1, \texttt{preonly}] \Param{xkanjiskip}ã®æ¿å
¥ã¯æåã®åã§ã¯è¨±ããããï¼å¾ãã§ã¯è¨±ãããªãï¼
-%\item[1, \texttt{preonly}] æååå
许æå
¥\Param{xkanjiskip}ï¼ä½å
¶åä¸å
许æå
¥ã
-%\item[2, \texttt{postonly}] Insertion of \Param{xkanjiskip} is allowed after the character, but not before.
-%\item[2, \texttt{postonly}] \Param{xkanjiskip}ã®æ¿å
¥ã¯æåã®å¾ãã§ã¯è¨±ããããï¼åã§ã¯è¨±ãããªãï¼
-%\item[2, \texttt{postonly}] æååå
许æå
¥\Param{xkanjiskip}ï¼ä½ä¹åä¸å
许æå
¥ã
-%\item[3, \texttt{allow}] Insertion of \Param{xkanjiskip} is allowed before the character and after the character. This is the default value.
-%\item[3, \texttt{allow}] \Param{xkanjiskip}ã®æ¿å
¥ã¯æåã®åï¼å¾ãã®ãããã§ã許ãããï¼ãããããã©ã«ãã®å¤ã§ããï¼
-%\item[3, \texttt{allow}] æååååå¯æå
¥\Param{xkanjiskip}ãæ¤ä¸ºé»è®¤å¼ã
+%\item[0, \texttt{inhibit}] Insertion of \Param{\hyperlink{fld:xks}{xkanjiskip}} is inhibited before the character, nor after the character.
+%\item[0, \texttt{inhibit}] \Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯æåã®åï¼å¾ãã®ãããã§ãç¦æ¢ãããï¼
+%\item[0, \texttt{inhibit}] æå
¥æåå/åç\Param{\hyperlink{fld:xks}{xkanjiskip}}å被ç¦æ¢ã
+%\item[1, \texttt{preonly}] Insertion of \Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed before the character, but not after.
+%\item[1, \texttt{preonly}] \Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯æåã®åã§ã¯è¨±ããããï¼å¾ãã§ã¯è¨±ãããªãï¼
+%\item[1, \texttt{preonly}] æååå
许æå
¥\Param{\hyperlink{fld:xks}{xkanjiskip}}ï¼ä½å
¶åä¸å
许æå
¥ã
+%\item[2, \texttt{postonly}] Insertion of \Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed after the character, but not before.
+%\item[2, \texttt{postonly}] \Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯æåã®å¾ãã§ã¯è¨±ããããï¼åã§ã¯è¨±ãããªãï¼
+%\item[2, \texttt{postonly}] æååå
许æå
¥\Param{\hyperlink{fld:xks}{xkanjiskip}}ï¼ä½ä¹åä¸å
许æå
¥ã
+%\item[3, \texttt{allow}] Insertion of \Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed before the character and after the character. This is the default value.
+%\item[3, \texttt{allow}] \Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯æåã®åï¼å¾ãã®ãããã§ã許ãããï¼ãããããã©ã«ãã®å¤ã§ããï¼
+%\item[3, \texttt{allow}] æååååå¯æå
¥\Param{\hyperlink{fld:xks}{xkanjiskip}}ãæ¤ä¸ºé»è®¤å¼ã
\end{description}
%<*en>
Note that parameters \Param{jaxspmode} and \Param{alxspmode} use a common table, hence these two parameters are synonyms of each other.
@@ -4128,10 +4149,23 @@ Note that parameters \Param{jaxspmode} and \Param{alxspmode} use a common table,
\item[\Param{autospacing}\,=$^\ast$] [\verb+\autospacing+]
\item[\Param{autoxspacing}\,=$^\ast$] [\verb+\autoxspacing+]
-\item[\Param{kanjiskip}\,=] [\verb+\kanjiskip+]
-\item[\Param{xkanjiskip}\,=] [\verb+\xkanjiskip+]
+\item[\Param{\hypertarget{fld:kanjiskip}{kanjiskip}}\,=] [\verb+\kanjiskip+]
+%<*ja>
+ããã©ã«ãã§2ã¤ã®\textbf{JAchar}ã®éã«æ¿å
¥ãããã°ã«ã¼ã§ããï¼
+é常ã§ã¯ï¼\pTeX ã¨åãããã«ãã©ã³ããµã¤ãºã«æ¯ä¾ãã¦å¤ãããã¨ã¯ãªãï¼
+ãããï¼èªç¶é·ã \verb+\maxdimen+ ã®å ´åã¯ï¼ä¾å¤çã«åæãã©ã³ãã®JFMå´ã§æå®ããã¦ãã
+å¤ãæ¡ç¨ï¼ãã¡ãã¯ãã©ã³ããµã¤ãºã«æ¯ä¾ï¼ãããã¨ã«ãªã£ã¦ããï¼
+%
+
+\item[\Param{\hypertarget{fld:xks}{xkanjiskip}}\,=] [\verb+\xkanjiskip+]
+%<*ja>
+ããã©ã«ãã§\textbf{JAchar}ã¨\textbf{ALchar}ã®éã«æ¿å
¥ãããã°ã«ã¼ã§ããï¼
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã¨åãããã«ï¼é常ã§ã¯ãã©ã³ããµã¤ãºã«æ¯ä¾ãã¦å¤ãããã¨ã¯ãªããï¼
+èªç¶é·ã \verb+\maxdimen+ ã®å ´åãä¾å¤ã§ããï¼
+%
+
-\item[\Param{differentjfm}\,=$^\dagger$]
+\item[\Param{\hypertarget{fld:diffjfm}{differentjfm}}\,=$^\dagger$]
%<*en>
Specify how glues/kerns between two \textbf{JAchar}s whose JFM (or size) are different.
@@ -4139,7 +4173,7 @@ The allowed arguments are the followings:
%
%<*ja>
JFMï¼ãããã¯ãµã¤ãºï¼ãç°ãªã2ã¤ã®\textbf{JAchar}ã®éã«ã°ã«ã¼ï¼ã«ã¼ã³ãã©ã®ããã«
-å
¥ããããæå®ããï¼
+å
¥ããããæå®ããï¼
許ãããå¤ã¯ä»¥ä¸ã®éãï¼
%
%<*zh>
@@ -4151,6 +4185,9 @@ JFMï¼ãããã¯ãµã¤ãºï¼ãç°ãªã2ã¤ã®\textbf{JAchar}ã®éã«ã°ã«
\item[\texttt{both}]
\item[\texttt{large}]
\item[\texttt{small}]
+\item[\texttt{pleft}]
+\item[\texttt{pright}]
+\item[\texttt{paverage}]
\end{description}
\item[\Param{jacharrange}\,=$^\ast$]
@@ -4494,7 +4531,9 @@ See Subsections~\ref{ssec-jfont} and \ref{ssec-psft} for details.
ããã3ã¤ã®ãã¼ã¯ãããã \verb+\jfont+ ããªããã£ãã«å¯¾ãã
\texttt{cid}, \texttt{jfm}, \texttt{jfmvar}ãã¼ã¨ãããã対å¿ããï¼
\texttt{CID} ã¯ä¸ã® \texttt{NoEmbed} ã¨åããã¦ç¨ããããã¨ãã®ã¿æå¹ã§ããï¼
-詳細ã¯\ref{ssec-jfont}ç¯ã¨\ref{ssec-psft}ç¯ãåç
§ï¼
+\verb+\jfont+ ããªããã£ãã«å¯¾ãã
+\texttt{cid}, \texttt{jfm}, \texttt{jfmvar}ãã¼ã®è©³ç´°ã¯\ref{ssec-jfont}ç¯
+ ã¨\ref{ssec-psft}ç¯ãåç
§ï¼
%
\item[NoEmbed]
@@ -4588,26 +4627,66 @@ JFMã®\texttt{chars}ãã¼ãã«ã®ã¨ã³ããªã¨ã㦠\verb+'AJ1-xxx'+ ã®å½¢
%
\subsection{\texttt{luatexja-adjust.sty}}
+\label{ssec-adj}
+\begin{figure}[t]
+\def\sq{%
+ \hbox to 1\zw{\hss\fboxsep=-.5\fboxrule\fbox{%
+ ã\hskip\dimexpr-.5\zw-.2pt\vrule width.4pt height.08\zw depth.12\zw%
+ \hskip\dimexpr.5\zw-.2pt\relax}\hss}}
+\def\sb{\hbox to 1\zw{\hss\fboxsep=-.5\fboxrule\fbox{%
+ â \hskip\dimexpr-.5\zw-.2pt\vrule width.4pt height.08\zw depth.12\zw%
+ \hskip\dimexpr.5\zw-.2pt\relax}\hss}}
+\newbox\gridbox
+\def\outbox#1{{\Large%
+ \ltjsetparameter{kanjiskip=0pt plus .2\zw minus .2\zw}%
+ \setbox\gridbox=\hbox to 20\zw{\sq\sq\sq\sq\sb\sq\sq\sq\sq\sb\sq\sq\sq\sq\sb\sq\sq\sq\sq\sb}%
+ \hbox{\textcolor{cyan!50!white}{\copy\gridbox}\hskip-20\zw%
+ \vbox{\hsize=20\zw\noindent\leftskip0pt\rightskip0pt\parfillskip0pt#1}\vrule}%
+}}
+
+{\centering
+\begin{tabular}{lc}
+\toprule
+no adjustment&\outbox{以ä¸ã®åçã¯ï¼ãå
é¤åçãã¨ããå¼ã°ããã\hskip-.5\zw\null}\\
+without priority&%
+\ltjdisableadjust
+\outbox{以ä¸ã®åçã¯ï¼ãå
é¤åçãã¨ããå¼ã°ããã}%
+\ltjenableadjust\\
+with priority&%
+\outbox{以ä¸ã®åçã¯ï¼ãå
é¤åçãã¨ããå¼ã°ããã}
+%\ltjdisableadjust
+\\
+\bottomrule
+\end{tabular}\par}
+\smallskip
+
+Note: the value of
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}} is 0\,pt${}^{+1/5\,\mathrm{em}}_{-1/5\,\mathrm{em}}$ in this figure,
+for making the difference obvious.
+%\caption{è¡é·èª¿æ´}\label{fig-adj}
+%\caption{Line adjustment}\label{fig-adj}
+\end{figure}
+
+
%<*en>
...
%
%<*ja>
\pTeX ã§ã¯ï¼è¡é·èª¿æ´ã«ããã¦åªå
度ã®æ¦å¿µãåå¨ããªãã£ãããï¼å³
-\ref{fig-adj-input}ããåè§åã®å端ã¯ï¼å³\ref{fig-adj-ptex}ã®ããã«ï¼éµæ¬
-弧å¨è¾ºã®ç©ºç½ã¨åæé空ç½(\Param{kanjiskip}))ã®ä¸¡æ¹ã«ãã£ã¦è² æ
ãããï¼ã
-ããï¼ãæ¥æ¬èªçµçã®è¦ä»¶ã\cite{jlreq}ãJIS~X~4051~\cite{x4051}ã«ããã¦ã¯ï¼
-ãã®å³\ref{fig-adj-input}ã®ãããªç¶æ³ã§ã¯å端ã¯éµæ¬å¼§å¨è¾ºã®ç©ºç½ã®ã¿ã§è² æ
-ãï¼ãã®ä»ã®åææåã¯ãã¿çµã§çµã¾ãããã¨ã«ãªã£ã¦ããï¼ãã®è¿½å ããã±ã¼
-ã¸ã¯\cite{jlreq}ã\cite{x4051}ã«ãããè¦å®ã®ãããªï¼åªå
é ä½ä»ãã®è¡é·èª¿
-æ´ãæä¾ããï¼
+\ref{fig-adj}ä¸æ®µã«ãããåè§åã®å端ã¯ï¼å³\ref{fig-adj}ä¸æ®µã®ããã«ï¼éµ
+æ¬å¼§å¨è¾ºã®ç©ºç½ã¨åæé空ç½(\Param{\hyperlink{fld:kanjiskip}{kanjiskip}})ã®ä¸¡æ¹ã«ãã£ã¦è² æ
ãããï¼ã
+ããï¼ãæ¥æ¬èªçµçå¦çã®è¦ä»¶ã\cite{jlreq}ãJIS~X~4051~\cite{x4051}ã«ãã
+ã¦ã¯ï¼ãã®ãããªç¶æ³ã§ã¯å端ã¯éµæ¬å¼§å¨è¾ºã®ç©ºç½ã®ã¿ã§è² æ
ãï¼ãã®ä»ã®åæ
+æåã¯ãã¿çµã§çµã¾ããï¼å³\ref{fig-adj}ä¸æ®µï¼ãã¨ã«ãªã£ã¦ããï¼ãã®è¿½å
+ããã±ã¼ã¸ã¯\cite{jlreq}ã\cite{x4051}ã«ãããè¦å®ã®ãããªï¼åªå
é ä½ä»ã
+ã®è¡é·èª¿æ´ãæä¾ããï¼è©³ç´°ãªä»æ§ã«ã¤ãã¦ã¯\ref{sec-adjspec}ãåç
§ï¼
\texttt{luatexja-adjust.sty}ã¯ï¼ä»¥ä¸ã®å½ä»¤ãæä¾ããï¼ãããã¯ãã¹ã¦ã°ãã¼ãã«ã«å¹åãçºæ®ããï¼
\begin{list}{}{\def\makelabel{\ttfamily}\def\{{\char`\{}\def\}{\char`\}}\advance\leftmargin1\zw}
\item[\char92ltjdisableadjust]
-åªå
é ä½ä»ãã®è¡é·èª¿æ´ãç¡å¹åãï¼
-\pTeX ã\LuaTeX-jaããã©ã«ãã®ãããªï¼åªå
度ãªãã®è¡é·èª¿æ´ã«æ»ãï¼
+åªå
é ä½ä»ãã®è¡é·èª¿æ´ãç¡å¹åããï¼
\item[\char92ltjenableadjust]
åªå
é ä½ä»ãã®è¡é·èª¿æ´ãæå¹åããï¼
@@ -4727,18 +4806,18 @@ The amount of shifting the baseline of Japanese fonts in scaled point ($2^{-16}\
\attr{ltj@autospc}
%<*en>
-Whether the auto insertion of \Param{kanjiskip} is allowed at the node.
+Whether the auto insertion of \Param{\hyperlink{fld:kanjiskip}{kanjiskip}} is allowed at the node.
%
%<*ja>
-ãã®ãã¼ãã§\Param{kanjiskip}ã®èªåæ¿å
¥ã許ããããã©ããï¼
+ãã®ãã¼ãã§\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã®èªåæ¿å
¥ã許ããããã©ããï¼
%
\attr{ltj@autoxspc}
%<*en>
-Whether the auto insertion of \Param{xkanjiskip} is allowed at the node.
+Whether the auto insertion of \Param{\hyperlink{fld:xks}{xkanjiskip}} is allowed at the node.
%
%<*ja>
-ãã®ãã¼ãã§\Param{xkanjiskip}ã®èªåæ¿å
¥ã許ããããã©ããï¼
+ãã®ãã¼ãã§\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®èªåæ¿å
¥ã許ããããã©ããï¼
%
\attr{ltj@icflag}
@@ -4755,11 +4834,11 @@ assigned to this attribute:
Glues from an italic correction
(\verb+\/+). This distinction of origins of glues
(from explicit \verb+\kern+, or from \verb+\/+)
- is needed in the insertion process of \Param{xkanjiskip}.
+ is needed in the insertion process of \Param{\hyperlink{fld:xks}{xkanjiskip}}.
%
%<*ja>
ã¤ã¿ãªãã¯è£æ£(\verb+\/+)ã«ããã°ã«ã¼ï¼ãã®ã°ã«ã¼ã®ç±æ¥ã®åºå¥ï¼\verb+\kern+ ã
-\verb+\/+ ãï¼ã¯\Param{xkanjiskip}ã®æ¿å
¥éç¨ã«ããã¦å¿
è¦ã«ãªãï¼
+\verb+\/+ ãï¼ã¯\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥éç¨ã«ããã¦å¿
è¦ã«ãªãï¼
%
\item[\textit{packed} (2)]
@@ -4791,18 +4870,18 @@ JFMç±æ¥ã®ã°ã«ã¼ï¼ã«ã¼ã³ï¼
\item[\textit{kanji\_skip} (9)]
%<*en>
-Glues for \Param{kanjiskip}.
+Glues for \Param{\hyperlink{fld:kanjiskip}{kanjiskip}}.
%
%<*ja>
-\Param{kanjiskip}ã®ã°ã«ã¼ï¼
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã®ã°ã«ã¼ï¼
%
\item[\textit{xkanji\_skip} (10)]
%<*en>
-Glues for \Param{xkanjiskip}.
+Glues for \Param{\hyperlink{fld:xks}{xkanjiskip}}.
%
%<*ja>
-\Param{xkanjiskip}ã®ã°ã«ã¼ï¼
+\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®ã°ã«ã¼ï¼
%
\item[\textit{processed} (11)]
@@ -4912,13 +4991,13 @@ These whatsits will be removed during the process of inserting \textbf{JAglue}s.
%<*en>
\LuaTeX-ja has its own stack system, and most parameters of \LuaTeX-ja
are stored in it. To clarify the reason, imagine the parameter
-\Param{kanjiskip} is stored by a skip, and consider the following
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}} is stored by a skip, and consider the following
source:
%
%<*ja>
\LuaTeX-jaã¯ç¬èªã®ã¹ã¿ãã¯ã·ã¹ãã ãæã¡ï¼\LuaTeX-jaã®ã»ã¨ãã©ã®ãã©ã¡ã¼ã¿ã¯
ãããç¨ãã¦ä¿æããã¦ããï¼ãã®çç±ãæããã«ããããã«ï¼
-\Param{kanjiskip}ãã©ã¡ã¼ã¿ãã¹ãããã¬ã¸ã¹ã¿ã§ä¿æããã¦ããã¨ãï¼
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ãã©ã¡ã¼ã¿ãã¹ãããã¬ã¸ã¹ã¿ã§ä¿æããã¦ããã¨ãï¼
以ä¸ã®ã³ã¼ããèãã¦ã¿ããï¼
%
\begin{LTXexample}
@@ -4929,16 +5008,16 @@ source:
%<*en>
As described in Subsection~\ref{ssec-param}, the only effective value of
-\Param{kanjiskip} in an hbox is the latest value, so the value of
-\Param{kanjiskip} which applied in the entire hbox should be 5\,pt.
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}} in an hbox is the latest value, so the value of
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}} which applied in the entire hbox should be 5\,pt.
However, by the implementation method of \LuaTeX, this `5\,pt' cannot be
known from any callbacks. In the \texttt{tex/packaging.w} (which is a
file in the source of \LuaTeX), there are the following codes:
%
%<*ja>
\ref{ssec-param}ç¯ã§è¿°ã¹ãããã«ï¼ããæ°´å¹³ããã¯ã¹ã®ä¸ã§å¹åãæã¤
-\Param{kanjiskip}ã®å¤ã¯æå¾ã«ç¾ããå¤ã®ã¿ã§ããï¼ãããã£ã¦ããã¯ã¹å
¨ä½ã«é©ç¨ããã
-\Param{kanjiskip}ã¯5\,ptã§ããã¹ãã§ããï¼ãããï¼\LuaTeX ã®å®è£
ã®ããã«ï¼
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã®å¤ã¯æå¾ã«ç¾ããå¤ã®ã¿ã§ããï¼ãããã£ã¦ããã¯ã¹å
¨ä½ã«é©ç¨ããã
+\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã¯5\,ptã§ããã¹ãã§ããï¼ãããï¼\LuaTeX ã®å®è£
ã®ããã«ï¼
ãã®`5\,pt'ã¯ã©ã®ã³ã¼ã«ããã¯ãããç¥ããã¨ã¯ã§ããªãï¼
\texttt{tex/packaging.w}ï¼ããã¯\LuaTeX ã®ã½ã¼ã¹ãã¡ã¤ã«ã§ããï¼ã®ä¸ã«ï¼
以ä¸ã®ã³ã¼ããããï¼
@@ -5329,17 +5408,17 @@ u
%\subsection{æ¦è¦}
%\subsection{æ¦è¦}
-\LuaTeX-jaã«ãããåæå¦çã°ã«ã¼ã®æ¿å
¥æ¹æ³ã¯ï¼\pTeX ã®ããã¨ã¯å
¨ãç°ãªãï¼
+\LuaTeX-jaã«ããã \textbf{JAglue} ã®æ¿å
¥æ¹æ³ã¯ï¼\pTeX ã®ããã¨ã¯å
¨ãç°ãªãï¼
\pTeX ã§ã¯æ¬¡ã®ãããªä»æ§ã§ãã£ãï¼
\begin{itemize}
\item JFMã°ã«ã¼ã®æ¿å
¥ã¯ï¼åææåã表ããã¼ã¯ã³ãå
ã«æ°´å¹³ãªã¹ãã«ï¼æåã表ãï¼ã
追å ããéç¨ã§è¡ãããï¼
-\item \Param{xkanjiskip}ã®æ¿å
¥ã¯ï¼æ°´å¹³ããã¯ã¹ã¸ã®ããã±ã¼ã¸ã³ã°ãè¡åå²åã«è¡ãããï¼
-\item \Param{kanjiskip}ã¯ãã¼ãã¨ãã¦ã¯æ¿å
¥ãããªãï¼ããã±ã¼ã¸ã³ã°ãè¡åå²ã®è¨ç®æã«
-ãåææåã表ã2ã¤ã®ã®éã«ã¯\Param{kanjiskip}ãããããã®ã¨ã¿ãªãããï¼
+\item \Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯ï¼æ°´å¹³ããã¯ã¹ã¸ã®ããã±ã¼ã¸ã³ã°ãè¡åå²åã«è¡ãããï¼
+\item \Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã¯ãã¼ãã¨ãã¦ã¯æ¿å
¥ãããªãï¼ããã±ã¼ã¸ã³ã°ãè¡åå²ã®è¨ç®æã«
+ãåææåã表ã2ã¤ã®ã®éã«ã¯\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ãããããã®ã¨ã¿ãªãããï¼
\end{itemize}
ãããï¼\LuaTeX-jaã§ã¯ï¼æ°´å¹³ããã¯ã¹ã¸ã®ããã±ã¼ã¸ã³ã°ãè¡åå²åã«å
¨ã¦ã®
-\textbf{JAglue}ï¼å³ã¡JFMã°ã«ã¼ã»\Param{xkanjiskip}ã»\Param{kanjiskip}ã®
+\textbf{JAglue}ï¼å³ã¡JFMã°ã«ã¼ã»\Param{\hyperlink{fld:xks}{xkanjiskip}}ã»\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã®
3種é¡ãä¸åº¦ã«æ¿å
¥ãããã¨ã«ãªã£ã¦ããï¼ããã¯ï¼\LuaTeX ã«ããã¦æ¬§æã®ååã»
ã«ã¼ãã³ã°å¦çããã¼ããã¼ã¹ã«ãªã£ããã¨ã«å¯¾å¿ããå¤æ´ã§ããï¼
@@ -5531,7 +5610,7 @@ $\mathit{Np}.\mathit{head}$, $\mathit{Np}.\mathit{tail}$ã®ç®åºã¯ï¼\textbf{
\textit{id}ã\textit{id\_pbox}ã§ãã£ã¦$\mathit{Np}.\mathit{head}$ã\textbf{JAchar}ã§ããã¨ãï¼
\item[åæB] ãªã¹ãä¸ã®æ°´å¹³ããã¯ã¹ã®ä¸èº«ã®å
é ã¨ãã¦åºç¾ããåææåï¼åæAã¨ã®éãã¯ï¼ããã®åã«
-JFMã°ã«ã¼ã®æ¿å
¥ãè¡ãããªãï¼\Param{xkanjiskip},~\Param{kanjiskip}ã¯å
¥ãå¾ãï¼ãã¨ã§ããï¼\\
+JFMã°ã«ã¼ã®æ¿å
¥ãè¡ãããªãï¼\Param{\hyperlink{fld:xks}{xkanjiskip}},~\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã¯å
¥ãå¾ãï¼ãã¨ã§ããï¼\\
\textit{id}ã\textit{id\_hlist}ã\textit{id\_disc}ã§ãã£ã¦$\mathit{Np}.\mathit{head}$ã\textbf{JAchar}ã§ããã¨ãï¼
\item[欧æ] ãªã¹ãä¸ã«ç´æ¥ï¼æ°´å¹³ããã¯ã¹ã®ä¸èº«ã¨ãã¦åºç¾ãã¦ãã欧ææåï¼æ¬¡ã®3ã¤ã®å ´åã該å½ï¼
@@ -5616,24 +5695,59 @@ $g$ã¯ãæåã³ã¼ã\texttt{'boxbdd'}ã®æåãã¨\textit{Np}ã®éã«å
¥
ã¾ãï¼ãå³ç©ºç½ãã«ãããéãç®åºããï¼é常ã¯ãããï¼é£ãåã£ã2ã¤ã®åææåéã«å
¥ã空ç½éã¨ãªãï¼
\begin{description}
\item[JFMç±æ¥{[M]}] JFMã®æåã¯ã©ã¹æå®ã«ãã£ã¦å
¥ã空ç½ã以ä¸ã«ãã£ã¦æ±ããï¼ãã®æ®µéã§ç©ºç½éãæªå®ç¾©ï¼æªæå®ï¼ã ã£ãå ´åï¼
- ããã©ã«ãå¤\Param{kanjiskip}ãæ¡ç¨ãããã¨ã¨ãªãã®ã§ï¼æ¬¡ã¸ï¼
+ ããã©ã«ãå¤\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ãæ¡ç¨ãããã¨ã¨ãªãã®ã§ï¼æ¬¡ã¸ï¼
\begin{enumerate}
\item ãã両ã¯ã©ã¹ã¿ã®éã§\verb+\inhibitglue+ãå®è¡ããã¦ããå ´åï¼è¨¼ã¨ãã¦whatsitãã¼ããèªåæ¿å
¥ãããï¼ï¼
- 代ããã«\Param{kanjiskip}ãæ¿å
¥ããããã¨ã¨ãªãï¼æ¬¡ã¸ï¼
+ 代ããã«\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ãæ¿å
¥ããããã¨ã¨ãªãï¼æ¬¡ã¸ï¼
\item \textit{Nq}ã¨\textit{Np}ãåãJFMã»åã\texttt{jfmvar}ãã¼ã»åããµã¤ãºã®åæãã©ã³ãã§ãã£ããªãã°ï¼
- å
±éã«ä½¿ã£ã¦ããJFMå
ã§æ¿å
¥ããã空ç½ï¼ã°ã«ã¼ãã«ã¼ã³ï¼ã決ã¾ã£ã¦ããã調ã¹ãï¼
+ å
±éã«ä½¿ã£ã¦ããJFMå
ã§æ¿å
¥ããã空ç½ï¼ã°ã«ã¼ãã«ã¼ã³ï¼ã決ã¾ã£ã¦ããã調ã¹ï¼æ±ºã¾ã£ã¦ããã°ãããæ¡ç¨ï¼
\item 1.ã§ã2.ã§ããªãå ´åã¯ï¼\textit{Nq}ã¨\textit{Np}ãéãJFM/\texttt{jfmvar}/ãµã¤ãºã§ããï¼
ãã®å ´åï¼ã¾ã
\[
-\vcenter{\halign{\hfil$#:={}$&(\inhibitglue#\inhibitglue)\cr
-gb&\textit{Nq}ã¨ãæåã³ã¼ãã{\tt'diffmet'}ã®æåãã¨ã®éã«å
¥ãã°ã«ã¼ï¼ã«ã¼ã³\cr
-ga&ãæåã³ã¼ãã{\tt'diffmet'}ã®æåãã¨\textit{Np}ã¨ã®éã«å
¥ãã°ã«ã¼ï¼ã«ã¼ã³\cr
+\vcenter{\halign{\hfil$#:={}$&\inhibitglue#\inhibitglue\cr
+gb&(\textit{Nq}ã¨ã使ç¨ãã©ã³ãã\textit{Nq}ã®ããã¨åãã§ï¼\hfil\cr
+\omit&\quad æåã³ã¼ãã\textit{Np}ã®ããã®æåãã¨ã®éã«å
¥ãã°ã«ã¼ï¼ã«ã¼ã³)\hfil\cr
+ga&(\inhibitglue ã使ç¨ãã©ã³ãã\textit{Np}ã®ããã¨åãã§ï¼\hfil\cr
+\omit&\quad æåã³ã¼ãã\textit{Nq}ã®ããã®æåãã¨\textit{Np}ã¨ã®éã«å
¥ãã°ã«ã¼ï¼ã«ã¼ã³)\hfil\cr
}}
\]
-ã¨ãã¦ï¼å·¦å´ç±æ¥ã»å³å´ç±æ¥ã®ç©ºç½ï¼ã°ã«ã¼ï¼ã«ã¼ã³ï¼ãï¼ããããã®JFMããï¼æ±ããï¼
-$\mathit{ga}$ã¨$\mathit{gb}$ã®ã©ã¡ããçæ¹ãæªå®ç¾©ã§ãããªãã°ï¼å®ç¾©ããã¦ããå´ã®å¤ããã®ã¾ã¾æ¡ç¨ããï¼
-ãã$\mathit{ga}$ã¨$\mathit{gb}$ã両æ¹æ±ºã¾ã£ã¦ãããªãã°ï¼ä¸¡è
ã®å¤ãå¹³å\footnote{\Param{differentjfm}ãã©ã¡ã¿ã®
-å¤ã«ãã£ã¦ï¼ã大ããæ¹ããå°ããæ¹ããåè¨ãã«å¤ãããã¨ãã§ããï¼}ããå¤ãæ¡ç¨ããï¼
+ã¨ãã¦ï¼åå´ã®æåã®JFMã使ã£ãæã®ç©ºç½ï¼ã°ã«ã¼ï¼ã«ã¼ã³ï¼ã¨ï¼å¾å´ã®æåã®JFMã使ã£ãæã®ãããæ±ããï¼
+
+$\mathit{gb}$,~$\mathit{ga}$ããããã«å¯¾ããã®å¤ã$d_b$,~$d_a$ã¨ããï¼
+\begin{itemize}
+\item
+$\mathit{ga}$ã¨$\mathit{gb}$ã®ä¸¡æ¹ãæªå®ç¾©ã§ãããªãã°ï¼JFMç±æ¥ã®ã°ã«ã¼ã¯æ¿å
¥ãããï¼\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ãæ¡ç¨ãããã¨ã¨ãªãï¼ã©ã¡ããçæ¹ã®ã¿ãæªå®ç¾©ã§ãããªãã°ï¼æ¬¡ã®ã¹ãããã§ãã®æªå®ç¾©ã®æ¹ã¯é·ã0ã®kernã§ï¼ã®å¤ã¯0ã§ãããã®ããã«æ±ãããï¼
+\item
+\Param{\hyperlink{fld:diffjfm}{diffrentjfm}}ã®å¤ã\texttt{pleft}, \texttt{pright}, \texttt{paverage}ã®ã¨ãï¼
+ã®æå®ã«å¾ã£ã¦æ¯ä¾é
åãè¡ãï¼
+JFMç±æ¥ã®ã°ã«ã¼ï¼ã«ã¼ã³ã¯ä»¥ä¸ã®å¤ã¨ãªãï¼
+\[
+ f\left(\frac{1-d_b}2\textit{gb} + \frac{1+d_b}2\textit{ga},
+\frac{1-d_a}2\textit{gb} + \frac{1+d_a}2\textit{ga}\right)
+\]
+ããã§ï¼$f(x,y)$ã¯
+\[
+ f(x,y)=\begin{cases}
+x&\text{if\ }\Param{\hyperlink{fld:diffjfm}{diffrentjfm}}=\texttt{pleft};\\
+y&\text{if\ }\Param{\hyperlink{fld:diffjfm}{diffrentjfm}}=\texttt{pright};\\
+(x+y)/2&\text{if\ }\Param{\hyperlink{fld:diffjfm}{diffrentjfm}}=\texttt{paverage};
+\end{cases}.
+\]
+\item
+\Param{differentmet}ããã以å¤ã®å¤ã®æã¯ï¼ã®å¤ã¯ç¡è¦ããï¼JFMç±æ¥ã®ã°ã«ã¼ï¼ã«ã¼ã³ã¯ä»¥ä¸ã®å¤ã¨ãªãï¼
+\[
+ f(\textit{gb},\textit{ga})
+\]
+ããã§ï¼$f(x,y)$ã¯
+\[
+ f(x,y)=\begin{cases}
+\min(x,y)&\text{if\ }\Param{\hyperlink{fld:diffjfm}{diffrentjfm}}=\texttt{small};\\
+\max(x,y)&\text{if\ }\Param{\hyperlink{fld:diffjfm}{diffrentjfm}}=\texttt{large};\\
+(x+y)/2&\text{if\ }\Param{\hyperlink{fld:diffjfm}{diffrentjfm}}=\texttt{average};\\
+x+y&\text{if\ }\Param{\hyperlink{fld:diffjfm}{diffrentjfm}}=\texttt{both};
+\end{cases}.
+\]
+\end{itemize}
\end{enumerate}
ä¾ãã°ï¼
@@ -5652,15 +5766,15 @@ $\mathit{ga}$ã¨$\mathit{gb}$ã®ã©ã¡ããçæ¹ãæªå®ç¾©ã§ãããªãã°
ãã®å ´åï¼$p$ã¨$q$ã®éã¯ï¼å®ãã©ã³ããç°ãªãã«ãããããã(2)ã®ç¶æ³ã¨ãªãä¸æ¹ã§ï¼
$q$ã¨$r$ã®éã¯ï¼å®ãã©ã³ããåããªã®ã«ï¼\texttt{jfmvar}ãã¼ã®å
容ãç°ãªãã®ã§(3)ã®ç¶æ³ã¨ãªãï¼
\item[\Param{kanjiskip}~{[K]}] ä¸ã®[M]ã«ããã¦ç©ºç½ãå®ã¾ããªãã£ãå ´åï¼
-\Param{kanjiskip}ã®å¤ã以ä¸ã§å®ãï¼ããããå³ç©ºç½ãã¨ãã¦æ¡ç¨ããï¼
+以ä¸ã§å®ããéãå³ç©ºç½ãã¨ãã¦æ¡ç¨ããï¼
ãã®æ®µéã«ããã¦ã¯ï¼\verb+\inhibitglue+ã¯å¹åãæããªãããï¼
çµæã¨ãã¦ï¼2ã¤ã®åææåéã«ã¯å¸¸ã«ä½ããã®ã°ã«ã¼ï¼ã«ã¼ã³ãæ¿å
¥ããããã¨ã¨ãªãï¼
\begin{enumerate}
\item 両ã¯ã©ã¹ã¿ï¼å³å¯ã«ã¯$\mathit{Nq}.\mathit{tail}$ï¼$\mathit{Np}.\mathit{head}$ï¼ã®ä¸èº«ã®æåã³ã¼ãã«å¯¾ãã
\Param{autospacing}ãã©ã¡ã¿ã両æ¹ã¨ãfalseã ã£ãå ´åã¯ï¼é·ã0ã®glueã¨ããï¼
-\item ã¦ã¼ã¶å´ããè¦ã\Param{kanjiskip}ãã©ã¡ã¿ã®èªç¶é·ã${\tt \char92 maxdimen}=(2^{30}-1)\,{\rm sp}$ã§
-ãªããã°ï¼\Param{kanjiskip}ãã©ã¡ã¿ã®å¤ãæã¤glueãæ¡ç¨ããï¼
-\item 2.ã§ãªãå ´åã¯ï¼\textit{Nq}, \textit{Np}ã§ä½¿ããã¦ããJFMã«æå®ããã¦ãã\Param{kanjiskip}ã®å¤ãç¨ããï¼
+\item ã¦ã¼ã¶å´ããè¦ã\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ãã©ã¡ã¿ã®èªç¶é·ã${\tt \char92 maxdimen}=(2^{30}-1)\,{\rm sp}$ã§
+ãªããã°ï¼\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ãã©ã¡ã¿ã®å¤ãæã¤glueãæ¡ç¨ããï¼
+\item 2.ã§ãªãå ´åã¯ï¼\textit{Nq}, \textit{Np}ã§ä½¿ããã¦ããJFMã«æå®ããã¦ãã\Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ã®å¤ãç¨ããï¼
ã©ã¡ããçæ¹ã®ã¯ã©ã¹ã¿ã ããåææåï¼\textsf{åæA}ã»\textsf{åæB}ï¼ã®ã¨ãã¯ï¼ãã¡ãã®ã¯ã©ã¹ã¿ã§ä½¿ããã¦ãã
JFMç±æ¥ã®å¤ã ããç¨ããï¼ãã両è
ã§ä½¿ããã¦ããJFMãç°ãªã£ãå ´åã¯ï¼ä¸ã®[M]~3.ã¨åæ§ã®æ¹æ³ãç¨ãã¦èª¿æ´ããï¼
\end{enumerate}
@@ -5682,8 +5796,8 @@ JFMç±æ¥ã®å¤ã ããç¨ããï¼ãã両è
ã§ä½¿ããã¦ããJFMãç°
\paragraph{ç¦åç¨ããã«ãã£ã®æ¿å
¥}
ã¾ãï¼
\[
- a:=(\text{\textit{Nq}{\footnotemark}ã®æåã«å¯¾ãã\Param{postbreakpenalty}ã®å¤})
-+(\text{\textit{Np}{\footnotemark}ã®æåã«å¯¾ãã\Param{prebreakpenalty}ã®å¤})
+ a:=(\text{\textit{Nq}{\footnotemark}ã®æåã«å¯¾ãã\Param{\hyperlink{fld:postbp}{postbreakpenalty}}ã®å¤})
++(\text{\textit{Np}{\footnotemark}ã®æåã«å¯¾ãã\Param{\hyperlink{fld:prebp}{prebreakpenalty}}ã®å¤})
\]
ã¨ãã\footnotetext{å³å¯ã«ã¯ãããã$\mathit{Nq}.\mathit{tail}$ï¼$\mathit{Np}.\mathit{head}$ï¼}ï¼
ããã«ãã£ã¯é常$[-10000,10000]$ã®æ´æ°å¤ãã¨ãï¼ã¾ã$\pm 10000$ã¯æ£è² ã®ç¡é大ãæå³ãããã¨ã«ãªã£ã¦ãããï¼ãã®$a$ã®
@@ -5785,7 +5899,7 @@ If this attempt fails, \LuaTeX-ja use the method `\textsf{\Param{kanjiskip}~[K]}
\textit{Nq}ã\textsf{åæA}ã§ï¼\textit{Np}ã\textsf{欧æ}ã®å ´åï¼JFMã°ã«ã¼æ¿å
¥å¦çã¯æ¬¡ã®ããã«ãã¦è¡ãããï¼
\begin{itemize}
\item ãå³ç©ºç½ãã«ã¤ãã¦ã¯ï¼ã¾ã以ä¸ã«è¿°ã¹ã\textsf{Boundary-B~[\OB]}ã«ãã空ç½ã決å®ãããã¨è©¦ã¿ãï¼
-ããã失æããå ´åã¯ï¼\textsf{\Param{xkanjiskip}~[X]}ã«ãã£ã¦å®ããï¼
+ããã失æããå ´åã¯ï¼\textsf{\Param{\hyperlink{fld:xks}{xkanjiskip}}~[X]}ã«ãã£ã¦å®ããï¼
\item ã左空ç½ãã«ã¤ãã¦ã¯ï¼æ¢ã«è¿°ã¹ã\textsf{line-end~[E]}ããã®ã¾ã¾æ¡ç¨ããï¼ããã«ä¼´ããå³ç©ºç½ãã®è£æ£ãåãï¼
\item ç¦åç¨ããã«ãã£ãï¼ä»¥åè¿°ã¹ã\textsf{P-normal~[PN]}ã¨åãã§ããï¼
\end{itemize}
@@ -5799,23 +5913,23 @@ If this attempt fails, \LuaTeX-ja use the method `\textsf{\Param{kanjiskip}~[K]}
\item ããã§ãªããã°ï¼
\textit{Nq}ã¨ãæåã³ã¼ãã{\tt'jcharbdd'}ã®æåãã¨ã®éã«å
¥ãã°ã«ã¼ï¼ã«ã¼ã³ã¨ãã¦å®ã¾ãï¼
\end{enumerate}
-\item[\Param{xkanjiskip}~{[X]}]
+\item[\Param{\hyperlink{fld:xks}{xkanjiskip}}~{[X]}]
ãã®æ®µéã§ã¯ï¼\textsf{\Param{kanjiskip}~[K]}ã®ã¨ãã¨åãããã«ï¼
-\Param{xkanjiskip}ã®å¤ã以ä¸ã§å®ãï¼ããããå³ç©ºç½ãã¨ãã¦æ¡ç¨ããï¼
+以ä¸ã§å®ããéããå³ç©ºç½ãã¨ãã¦æ¡ç¨ããï¼
ãã®æ®µéã§\verb+\inhibitglue+ã¯å¹åãæããªãã®ãåãã§ããï¼
\begin{enumerate}
-\item 以ä¸ã®ããããã®å ´åã¯ï¼\Param{xkanjiskip}ã®æ¿å
¥ã¯ææ¢ãããï¼ãããï¼å®éã«ã¯è¡åå²ã許容ããããã«ï¼é·ã0ã®glueãæ¡ç¨ããï¼
+\item 以ä¸ã®ããããã®å ´åã¯ï¼\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ã¯ææ¢ãããï¼ãããï¼å®éã«ã¯è¡åå²ã許容ããããã«ï¼é·ã0ã®glueãæ¡ç¨ããï¼
\begin{itemize}
\item 両ã¯ã©ã¹ã¿ã«ããã¦ï¼ãããã®ä¸èº«ã®æåã³ã¼ãã«å¯¾ãã\Param{autoxspacing}ãã©ã¡ã¿ãå
±ã«falseã§ããï¼
-\item \textit{Nq}ã®ä¸èº«ã®æåã³ã¼ãã«ã¤ãã¦ï¼ãç´å¾ã¸ã®\Param{xkanjiskip}ã®æ¿å
¥ããç¦æ¢ããã¦ãã
+\item \textit{Nq}ã®ä¸èº«ã®æåã³ã¼ãã«ã¤ãã¦ï¼ãç´å¾ã¸ã®\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ããç¦æ¢ããã¦ãã
ï¼ã¤ã¾ãï¼\Param{jaxspmode}~(or \Param{alxspmode})ãã©ã¡ã¿ã2以ä¸ï¼ï¼
-\item \textit{Np}ã®ä¸èº«ã®æåã³ã¼ãã«ã¤ãã¦ï¼ãç´åã¸ã®\Param{xkanjiskip}ã®æ¿å
¥ããç¦æ¢ããã¦ãã
+\item \textit{Np}ã®ä¸èº«ã®æåã³ã¼ãã«ã¤ãã¦ï¼ãç´åã¸ã®\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®æ¿å
¥ããç¦æ¢ããã¦ãã
ï¼ã¤ã¾ãï¼\Param{jaxspmode}~(or \Param{alxspmode})ãã©ã¡ã¿ãå¶æ°ï¼ï¼
\end{itemize}
-\item ã¦ã¼ã¶å´ããè¦ã\Param{xkanjiskip}ãã©ã¡ã¿ã®èªç¶é·ã${\tt \char92 maxdimen}=(2^{30}-1)\,{\rm sp}$ã§
-ãªããã°ï¼\Param{xkanjiskip}ãã©ã¡ã¿ã®å¤ãæã¤glueãæ¡ç¨ããï¼
+\item ã¦ã¼ã¶å´ããè¦ã\Param{\hyperlink{fld:xks}{xkanjiskip}}ãã©ã¡ã¿ã®èªç¶é·ã${\tt \char92 maxdimen}=(2^{30}-1)\,{\rm sp}$ã§
+ãªããã°ï¼\Param{\hyperlink{fld:xks}{xkanjiskip}}ãã©ã¡ã¿ã®å¤ãæã¤glueãæ¡ç¨ããï¼
\item 2.ã§ãªãå ´åã¯ï¼\textit{Nq}, \textit{Np}ï¼\textsf{åæA}/\textsf{åæB}ãªã®ã¯çæ¹ã ãï¼
-ã§ä½¿ããã¦ããJFMã«æå®ããã¦ãã\Param{xkanjiskip}ã®å¤ãç¨ããï¼
+ã§ä½¿ããã¦ããJFMã«æå®ããã¦ãã\Param{\hyperlink{fld:xks}{xkanjiskip}}ã®å¤ãç¨ããï¼
\end{enumerate}
\end{description}
@@ -5824,7 +5938,7 @@ If this attempt fails, \LuaTeX-ja use the method `\textsf{\Param{kanjiskip}~[K]}
\textsf{åæA}ã®ã¯ã©ã¹ã¿ãéã«ãªãã®ã§ï¼\textsf{Boundary-A~[\OA]}ã®é¨åãå¤ããã ãï¼
\begin{itemize}
\item ãå³ç©ºç½ãã«ã¤ãã¦ã¯ï¼ã¾ã以ä¸ã«è¿°ã¹ã\textsf{Boundary-A~[\OA]}ã«ãã空ç½ã決å®ãããã¨è©¦ã¿ãï¼
-ããã失æããå ´åã¯ï¼\textsf{\Param{xkanjiskip}~[X]}ã«ãã£ã¦å®ããï¼
+ããã失æããå ´åã¯ï¼\textsf{\Param{\hyperlink{fld:xks}{xkanjiskip}}~[X]}ã«ãã£ã¦å®ããï¼
\item \textit{Nq}ãåæã§ãªãã®ã§ï¼ã左空ç½ãã¯ç®åºãããªãï¼
\item ç¦åç¨ããã«ãã£ã¯ï¼ä»¥åè¿°ã¹ã\textsf{P-normal~[PN]}ã¨åãã§ããï¼
\end{itemize}
@@ -5851,9 +5965,9 @@ If this attempt fails, \LuaTeX-ja use the method `\textsf{\Param{kanjiskip}~[K]}
\item ã左空ç½ãã«ã¤ãã¦ã¯ï¼æ¢ã«è¿°ã¹ã\textsf{line-end~[E]}ã®ç®åºæ¹æ³ããã®ã¾ã¾æ¡ç¨ããï¼ããã«ä¼´ããå³ç©ºç½ãã®è£æ£ãåãï¼
\item ç¦åç¨ããã«ãã£ã®å¦çã¯ï¼å¾ãã®ã¯ã©ã¹ã¿\textit{Np}ã®ç¨®é¡ã«ãã£ã¦ç°ãªãï¼
ãªãï¼$\mathit{Np}.\mathit{head}$ã¯ç¡æå³ã§ããããï¼
-ã$\mathit{Np}.\mathit{head}$ã«å¯¾ãã\Param{prebreakpenalty}ã®å¤ãã¯0ã¨ã¿ãªãããï¼è¨ãæããã°ï¼
+ã$\mathit{Np}.\mathit{head}$ã«å¯¾ãã\Param{\hyperlink{fld:prebp}{prebreakpenalty}}ã®å¤ãã¯0ã¨ã¿ãªãããï¼è¨ãæããã°ï¼
\[
- a:=(\text{\textit{Nq}{\footnotemark}ã®æåã«å¯¾ãã\Param{postbreakpenalty}ã®å¤}).
+ a:=(\text{\textit{Nq}{\footnotemark}ã®æåã«å¯¾ãã\Param{\hyperlink{fld:postbp}{postbreakpenalty}}ã®å¤}).
\]
\begin{description}
\item[ç®±] \textit{Np}ã\textsf{ç®±}ã§ãã£ãå ´åã¯ï¼ä¸¡ã¯ã©ã¹ã¿ã®éã§ã®è¡åå²ã¯
@@ -5897,7 +6011,7 @@ If this attempt fails, \LuaTeX-ja use the method `\textsf{\Param{kanjiskip}~[K]}
\overbrace{\Node{glyph}{`ã'}}^{\mathit{Nq}}\longrightarrow \overbrace{\Node{glue}{1\,pt}}^{\mathit{Np}}
\]
ã®ãããªç¶æ³ãèããï¼
-ãã®ã¨ãï¼$a$ï¼å³ã¡ãããã®\Param{postbreakpenalty}ããããªãå¤ã§ãã£ã¦ãï¼
+ãã®ã¨ãï¼$a$ï¼å³ã¡ãããã®\Param{\hyperlink{fld:postbp}{postbreakpenalty}}ããããªãå¤ã§ãã£ã¦ãï¼
ãã®2ã¯ã©ã¹ã¿éã¯æçµçã«
\begin{equation}
\overbrace{\Node{glyph}{`ã'}}^{\mathit{Nq}}\longrightarrow
@@ -5905,7 +6019,7 @@ If this attempt fails, \LuaTeX-ja use the method `\textsf{\Param{kanjiskip}~[K]}
\label{eq-gref}
\end{equation}
ã¨ãªãï¼$a$åã®ããã«ãã£ã¯æ¿å
¥ãããªããã¨ã«æ³¨æãã¦æ¬²ããï¼
-\Param{postbreakpenalty}ã¯ï¼$a$ã¯ï¼æ®ã©ã®å ´åãéè² ã®å¤ã¨èãããï¼ãã®ãããªå ´åã§ã¯
+\Param{\hyperlink{fld:postbp}{postbreakpenalty}}ã¯ï¼$a$ã¯ï¼æ®ã©ã®å ´åãéè² ã®å¤ã¨èãããï¼ãã®ãããªå ´åã§ã¯
\eqref{eq-gref}ã¨
\[
\overbrace{\Node{glyph}{`ã'}}^{\mathit{Nq}}\longrightarrow
@@ -5926,7 +6040,7 @@ If this attempt fails, \LuaTeX-ja use the method `\textsf{\Param{kanjiskip}~[K]}
\item ç¦åç¨ããã«ãã£ã®å¦çã¯ï¼\textit{Nq}ã®ç¨®é¡ã«ãã£ã¦ç°ãªãï¼
$\mathit{Nq}.\mathit{tail}$ã¯ç¡æå³ãªã®ã§ï¼
\[
- a:=(\text{\textit{Np}{\footnotemark}ã®æåã«å¯¾ãã\Param{prebreakpenalty}ã®å¤}).
+ a:=(\text{\textit{Np}{\footnotemark}ã®æåã«å¯¾ãã\Param{\hyperlink{fld:prebp}{prebreakpenalty}}ã®å¤}).
\]
\begin{description}
\item[ç®±] \textit{Nq}ã\textsf{ç®±}ã®å ´åã¯ï¼\textsf{P-allow~[PA]}ãç¨ããï¼
@@ -5951,7 +6065,7 @@ $\mathit{Nq}.\mathit{tail}$ã¯ç¡æå³ãªã®ã§ï¼
\item \textsf{åæB}ã¨ç®±ã»ã°ã«ã¼ã»ã«ã¼ã³ãé£æ¥ããã¨ãï¼ã©ã¡ããåãã¯é¢ä¿ãªãï¼ï¼éã«JFMã°ã«ã¼ã»ããã«ãã£ã®æ¿å
¥ã¯ä¸åããªãï¼
\item \textsf{åæB}ã¨\textsf{åæB}ï¼ã¾ã\textsf{åæB}ã¨\textsf{欧æ}ã¨ãé£æ¥ããæã¯ï¼ç¦åç¨ããã«ãã£æ¿å
¥å¦çã¯
\textsf{P-suppress~[PS]}ãç¨ããããï¼
-\item \textsf{åæB}ã®æåã«å¯¾ãã\Param{prebreakpenalty},~\Param{postbreakpenalty}ã®å¤ã¯ä½¿ãããï¼0ã¨ãã¦è¨ç®ãããï¼
+\item \textsf{åæB}ã®æåã«å¯¾ãã\Param{\hyperlink{fld:prebp}{prebreakpenalty}},~\Param{\hyperlink{fld:postbp}{postbreakpenalty}}ã®å¤ã¯ä½¿ãããï¼0ã¨ãã¦è¨ç®ãããï¼
\end{itemize}
@@ -5963,16 +6077,18 @@ $\mathit{Nq}.\mathit{tail}$ã¯ç¡æå³ãªã®ã§ï¼
\end{LTXexample}
\begin{itemize}
\item 1è¡ç®ã®\verb+\inhibitglue+ã¯\textsf{Boundary-B~[\OB]}ã®å¦çã®ã¿ãææ¢ããã®ã§ï¼ããªãªãã¨ãAãã®éã«ã¯
-\Param{xkanjiskip}ï¼ååã¢ãï¼ãå
¥ããã¨ã«æ³¨æï¼
+\Param{\hyperlink{fld:xks}{xkanjiskip}}ï¼ååã¢ãï¼ãå
¥ããã¨ã«æ³¨æï¼
\item 2è¡ç®ã®ããªãªãã¨ãAãã®éã«ããã¦ã¯ï¼åè
ã\textsf{åæB}ã¨ãªãï¼æ°´å¹³ããã¯ã¹ã®ä¸èº«ã®æ«å°¾ã¨ãã¦ç»å ´ãã¦ããããï¼ã®ã§ï¼
-ãããã\textsf{Boundary-B~[\OB]}ã®å¦çã¯è¡ãããªãï¼ãã£ã¦ï¼\Param{xkanjiskip}ãå
¥ããã¨ã¨ãªãï¼
+ãããã\textsf{Boundary-B~[\OB]}ã®å¦çã¯è¡ãããªãï¼ãã£ã¦ï¼\Param{\hyperlink{fld:xks}{xkanjiskip}}ãå
¥ããã¨ã¨ãªãï¼
\item 3è¡ç®ã§ã¯ï¼ããªãªãã®å±ããã¯ã©ã¹ã¿ã¯\textsf{åæA}ã§ããï¼ããã«ãã£ã¦ï¼
ããªãªãã¨ãAãã®éã«ã¯\textsf{Boundary-B~[\OB]}ç±æ¥ã®åè§ã¢ããå
¥ããã¨ã«ãªãï¼
\end{itemize}
\section{psft}
+...
%\section{Patch for the \Pkg{listings} package}
+%\section{Patch for the \Pkg{listings} package}
%\section{\Pkg{listings} ããã±ã¼ã¸ã¸ã®å¯¾å¿}
%<*en>
@@ -6028,6 +6144,7 @@ Roughly speaking, the \Pkg{listings} package processes input as follows:
\Pkg{listings} ããã±ã¼ã¸ã®å
é¨ã§ã¯ï¼å¤§éæã«è¨ãã¨
%
\begin{enumerate}
+%\item ...
%<*en>
\item Collects \textit{letters} and \textit{digits}, which can be used for the name of identifiers.
%
@@ -6035,28 +6152,24 @@ Roughly speaking, the \Pkg{listings} package processes input as follows:
\item èå¥åã¨ãã¦ä½¿ããæå (``letter'',~``digit'') ãã¡ã
éããï¼
%
-
%<*en>
-\item When reading an \textit{other}, outputs the collected string (with modification, if needed).
+\item When reading an \textit{other}, outputs the collected character string (with modification, if needed).
%
%<*ja>
\item letterã§ãdigitã§ããªãæåãç¾ããæã«ï¼åéããæååãï¼å¿
è¦ãªã修飾ãã¦ï¼åºåããï¼
%
-
%<*en>
\item Collects \textit{others}.
%
%<*ja>
\item ä»åº¦ã¯éã«ï¼letterã§ãªãæåãã¡ãletterãç¾ããã¾ã§éããï¼
%
-
%<*en>
-\item When reading a \textit{letter} or a \textit{digit}, outputs the collected string.
+\item When reading a \textit{letter} or a \textit{digit}, outputs the collected character string.
%
%<*ja>
\item letterãåºç¾ãããéããæååãåºåããï¼
%
-
%<*en>
\item Turns back to 1.
%
@@ -6065,8 +6178,8 @@ Roughly speaking, the \Pkg{listings} package processes input as follows:
%
\end{enumerate}
%<*en>
-By the above process, line breaks inside of an identifier is blocked.
-A flag \verb+\lst@ifletter+ shows whether the last character can be used
+By the above process, line breaks inside of an identifier are blocked.
+A flag \verb+\lst@ifletter+ indicates whether the previous character can be used
for the name of identifiers or not.
%
%<*ja>
@@ -6078,14 +6191,14 @@ for the name of identifiers or not.
For Japanese characters, line breaks are permitted on both sides
except for parentheses, dashes, etc.
To process Japanese characters,
-\Pkg{lltjp-listings.sty} introduces a new flag \verb+\lst@kanji+, which indicates
-whether the last character is Japanese character or not.
+The pacth \Pkg{lltjp-listings.sty} introduces a new flag \verb+\lst@ifkanji+, which indicates
+whether the previous character is Japanese character or not.
For illustration, we introduce the following classes of character:
%
%<*ja>
ãã¦ï¼æ¥æ¬èªã®å¦çã§ããï¼æ®ã©ã®åææåã®åå¾ã§ã¯è¡åå²ãå¯è½ã§ãããï¼ãã®ä¸æ¹ã§
æ¬å¼§é¡ãé³å¼ããªã©ã§ã¯ç¦åå¦çãå¿
è¦ãªãã¨ããï¼\Pkg{lltjp-listings.sty} ã§ã¯ï¼
-ç´åãåææåã§ãããã示ããã©ã° \verb+\lst@kanji+ ãæ°ãã«å°å
¥ããï¼
+ç´åãåææåã§ãããã示ããã©ã° \verb+\lst@ifkanji+ ãæ°ãã«å°å
¥ããï¼
以éï¼èª¬æã®ããã«ä»¥ä¸ã®ããã«æåãåé¡ããï¼
%
\begin{center}
@@ -6115,13 +6228,18 @@ Other according to circumstances.
For example, let us consider the case an Open comes after a Letter.
Since an Open represents Japanese open parenthesis,
it is preferred to be permitted to insert line break after the Letter.
-Therefore, the collected string is output in this case.
-The following table summarizes $5\times 5=25$ cases:
+Therefore, the collected character string is output in this case.
%
%<*ja>
ä¾ãã°ï¼Letterã®ç´å¾ã«Openãæ¥ãå ´åãèããï¼
æå種Openã¯åæéãæ¬å¼§é¡ãæ³å®ãã¦ããã®ã§ï¼Letterã®ç´å¾ã§ã¯è¡åå²ãå¯è½ã§ãããã¨ãæã¾ããï¼
ãã®ããï¼ãã®å ´åã§ã¯ï¼ãã§ã«åéããã¦ããæååãåºåãããã¨ã§è¡åå²ã許容ããããã«ããï¼
+%
+
+%<*en>
+The following table summarizes $5\times 5=25$ cases:
+%
+%<*ja>
åãããã«ï¼$5\times 5=25$éãå
¨ã¦ã«ã¤ãã¦æ¸ãã¨ï¼æ¬¡ã®ããã«ãªãï¼
%
\begin{center}
@@ -6134,7 +6252,7 @@ The following table summarizes $5\times 5=25$ cases:
&\hbox to 4em{\hss Kanji\hss}&\hbox to 4em{\hss Open\hss}&Close\\\midrule
&Letter&collects&\multicolumn{3}{c}{\hrulefill \ outputs\ \hrulefill}&collects\\
&Other&outputs&collects&\multicolumn{2}{c}{\hrulefill \ outputs\ \hrulefill}&collects\\
-Last&Kanji&\multicolumn{4}{c}{\hrulefill \ outputs\ \hrulefill}&collects\\
+Prev&Kanji&\multicolumn{4}{c}{\hrulefill \ outputs\ \hrulefill}&collects\\
&Open&\multicolumn{5}{c}{\hrulefill \ collects\ \hrulefill}\\
&Close&\multicolumn{4}{c}{\hrulefill \ outputs\ \hrulefill}&collects\\
%
@@ -6154,10 +6272,11 @@ Last&Kanji&\multicolumn{4}{c}{\hrulefill \ outputs\ \hrulefill}&collects\\
%In the above table,
%ä¸ã®è¡¨ã«ããã¦ï¼
\begin{itemize}
-%\item ``outputs'' means to output the collected string (i.e., line breaking is permitted there).
+%\item ...
+%\item ``outputs'' means to output the collected character string (i.e., line breaking is permitted there).
%\item ãåºåãã¯ï¼ããã¾ã§ã«éããæååãåºåï¼âããã§è¡åå²å¯è½ï¼ãæå³ããï¼
-%\item ``collects'' means to append the next character to the collected string (i.e., line breaking is prohibited there).
+%\item ``collects'' means to append the next character to the collected character string (i.e., line breaking is prohibited there).
%\item ãåéãã¯ï¼å¾å´ã®æåãï¼ç¾å¨åéãããæååã«è¿½å ï¼è¡åå²ä¸å¯ï¼ãæå³ããï¼
\end{itemize}
@@ -6170,20 +6289,23 @@ Characters are classified according to \Param{jacharrange} parameter (see Sectio
%<*ja>
\Pkg{listings} ããã±ã¼ã¸ã«ããã¦åææåã¨æ±ããã
ï¼åã«è¿°ã¹ãKanji, Openï¼ãããã¯ãéãæ¬å¼§é¡ãåé¡ï¼ãå¦ãã¯ï¼
-é常ã®\textbf{JAchar}/\textbf{Alchar}ã®ç¯å²ã®è¨å®ï¼\ref{ssec-setrange}ç¯ï¼ã«å¾ã£ã¦è¡ãããï¼
+é常ã®\textbf{JAchar}/\textbf{Alchar}ã®ç¯å²ã®è¨å®ï¼\Param{jacharrange} ãã©ã¡ã¼ã¿ï¼\ref{ssec-setrange}ç¯ãåç
§ï¼ã«å¾ã£ã¦è¡ãããï¼
%
\begin{itemize}
+%\item ...
+
%\item \textbf{ALchars} above U+0080 are Letter.
%\item ï¼U+0080以éã®ï¼\textbf{ALchar}ã¯ï¼ãã¹ã¦Letteræ±ãã§ããï¼
%\item \textbf{JAchars} are classified in the order as follows:
%\item ï¼U+0080以éã®ï¼\textbf{JAchar}ã«ã¤ãã¦ã¯ï¼ä»¥ä¸ã®é åºã«å¾ã£ã¦æå種ã決ããï¼
\begin{enumerate}
-%\item Characters whose \Param{prebreakpenalty} is greater than or equal to 0 are Open.
-%\item \Param{prebreakpenalty} ã0以ä¸ã®æåã¯Openæ±ãã§ããï¼
+%\item ...
+%\item Characters whose \Param{\hyperlink{fld:prebp}{prebreakpenalty}} is greater than or equal to 0 are Open.
+%\item \Param{\hyperlink{fld:prebp}{prebreakpenalty}}ã0以ä¸ã®æåã¯Openæ±ãã§ããï¼
-%\item Characters whose \Param{postbreakpenalty} is greater than or equal to 0 are Close.
-%\item \Param{postbreakpenalty} ã0以ä¸ã®æåã¯Closeæ±ãã§ããï¼
+%\item Characters whose \Param{\hyperlink{fld:postbp}{postbreakpenalty}} is greater than or equal to 0 are Close.
+%\item \Param{\hyperlink{fld:postbp}{postbreakpenalty}}ã0以ä¸ã®æåã¯Closeæ±ãã§ããï¼
%\item Characters that don't satisfy the above two conditions are Kanji.
%\item ä¸ã®2æ¡ä»¶ã®ã©ã¡ãã«ãå½ã¦ã¯ã¾ããªãã£ãæåã¯ï¼Kanjiæ±ãã§ããï¼
@@ -6191,7 +6313,8 @@ Characters are classified according to \Param{jacharrange} parameter (see Sectio
\end{itemize}
%<*en>
-The width of halfwidth kana (U+FF61--U+FF9F) is same as the width of \textbf{ALchar}; the width of the other \textbf{JAchars} is double the width of \textbf{ALchar}.
+The width of halfwidth kana (U+FF61--U+FF9F) is same as the width of \textbf{ALchar};
+the width of the other \textbf{JAchars} is double the width of \textbf{ALchar}.
%
%<*ja>
ãªãï¼åè§ã«ã(U+FF61--U+FF9F)以å¤ã®\textbf{JAchar}ã¯æ¬§ææå2æååã®å¹
ãã¨ããã®ã¨ã¿ãªãããï¼
@@ -6208,26 +6331,67 @@ listing environments.
%<*ja>
\section{åæã®è¡é·è£æ£æ¹æ³}
+\label{sec-adjspec}
\texttt{luatexja-adjust.sty} ã§æä¾ãããåªå
é ä½ä»ãã®è¡é·èª¿æ´ã®è©³ç´°ãè¿°
ã¹ãï¼å¤§ã¾ãã«è¿°ã¹ãã¨ï¼æ¬¡ã®ããã«ãªãï¼
\begin{itemize}
-\item é常ã®\TeX ã®è¡åå²æ¹æ³ã«å¾ã£ã¦ï¼æ®µè½ãè¡åå²ããï¼ãã®æ®µéã§ã¯ï¼è¡é·ã«å端ãåºãå ´åï¼ãã®å端åã¯\Param{xkanjiskip}ï¼\Param{kanjiskip}ï¼JFMã°ã«ã¼ã®å
¨ã¦ã§ï¼åªå
é ä½ãªãï¼è² æ
ãããï¼
-\item ãã®å¾ï¼\texttt{post\_linebreak\_filter} callbackã«ãã£ã¦ï¼\textbf{段è½ä¸ã®åè¡ãã¨ã«}ï¼
- è¡æ«æåã®ä½ç½®ã調æ´ãããï¼åªå
度ä»ãã®è¡é·èª¿æ´ãå®ç¾ããããã«ã°ã«ã¼ã®ä¼¸ç¸®åº¦ã調æ´ããï¼
-\texttt{luatexja-adjust.sty} ã®ä½ç¨ã¯ï¼ãã®callbackã追å ããã ãã§ããï¼
+\item é常ã®\TeX ã®è¡åå²æ¹æ³ã«å¾ã£ã¦ï¼æ®µè½ãè¡åå²ããï¼ãã®æ®µéã§ã¯ï¼è¡
+ é·ã«å端ãåºãå ´åï¼ãã®å端åã¯\Param{\hyperlink{fld:xks}{xkanjiskip}}ï¼
+ \Param{\hyperlink{fld:kanjiskip}{kanjiskip}}ï¼JFMã°ã«ã¼ã®å
¨ã¦ã§ï¼åªå
é ä½ãªãï¼è² æ
ãããï¼
+\item ãã®å¾ï¼\texttt{post\_linebreak\_filter} callbackã使ãï¼\textbf{段
+ è½ä¸ã®åè¡ãã¨ã«}ï¼è¡æ«æåã®ä½ç½®ã調æ´ãããï¼åªå
度ä»ãã®è¡é·èª¿æ´
+ ãå®ç¾ããããã«ã°ã«ã¼ã®ä¼¸ç¸®åº¦ã調æ´ããï¼
+\texttt{luatexja-adjust.sty} ã®ä½ç¨ã¯ï¼ãã®callbackã追å ããã ãã§ããï¼
+ ãã®ç« ã®æ®ãã§ã¯callbackã§ã®å¦çã«ã¤ãã¦è§£èª¬ããï¼
\end{itemize}
-段è½ä¸ã®è¡ä¸ã®ã°ã«ã¼ã¯ï¼
+\paragraph{æºåï¼åè¨ä¼¸ç¸®éã®è¨ç®}
+ã°ã«ã¼ã®ä¼¸ç¸®åº¦ï¼\texttt{plus} ã \texttt{minus} ã§æå®ããã¦ããå¤ï¼ã«ã¯ï¼
+æéå¤ã®ä»ã«ï¼\texttt{fi}ï¼\texttt{fil}ï¼\texttt{fill}ï¼\texttt{filll}ã¨
+ãã4ã¤ã®ç¡é大ã¬ãã«ï¼å¾ãã®æ¹ã»ã©å¤§ããï¼ãããï¼è¡ã®èª¿æ´ã«
+\texttt{fi} ãªã©ã®\textbf{ç¡é大ã¬ãã«ã®ä¼¸ç¸®åº¦ãç¨ãããã¦ããå ´åã¯ï¼ã
+ã®è¡ã«å¯¾ãã¦ã®å¦çãä¸æ¢}ããï¼
+
+ãã£ã¦ï¼ä»¥éï¼åé¡ã«ãã¦ããè¡ã®è¡é·èª¿æ´ã¯ä¼¸ç¸®åº¦ãæéé·ã®ã°ã«ã¼ãç¨ãã¦
+è¡ããã¦ããã¨ãã¦è¯ãï¼ã¾ãï¼æ®µè½ä¸ã®è¡ä¸ã®ã°ã«ã¼ã
\begin{itemize}
\item ä¸ã®ã©ãã«ã該å½ããªãã°ã«ã¼
-\item å欧æé空ç½(\Param{xkanjiskip})
-\item JFMã°ã«ã¼ï¼JFMä¸ã§åªå
度ã$-2$--$+2$ã®æ´æ°å¤ã§æå®ã§ãããï¼åªå
度å¥ã«ã¾ã¨ããããï¼
-\item åæé空ç½(\Param{kanjiskip})
+\item JFMã°ã«ã¼ï¼åªå
度å¥ã«ã¾ã¨ããããï¼
+\item å欧æé空ç½(\Param{\hyperlink{fld:xks}{xkanjiskip}})
+\item åæé空ç½(\Param{\hyperlink{fld:kanjiskip}{kanjiskip}})
\end{itemize}
-ã®$1+1+5+1=8$ã¤ã«é¡å¥ãããï¼
+ã®$1+1+5+1=8$ã¤ã«é¡å¥ãï¼ããããã®ç¨®å¥ãã¨ã«è¨±å®¹ããã¦ãã伸縮度ã®åè¨ãè¨ç®ããï¼
+ã¾ãï¼è¡é·ã¨èªç¶é·ã¨ã®å·®ã®çµ¶å¯¾å¤ãè¨ç®ãï¼ããã\textit{total}ã¨ããï¼
\subsection{è¡æ«æåã®ä½ç½®èª¿æ´}
-ã¾ãï¼
+ã¾ãï¼è¡æ«ãæåã¯ã©ã¹$n$ã®\textbf{Jachar}ã§ãã£ãå ´åï¼
+ãããåãããã¨ã«ãã£ã¦ï¼\textbf{JAglue} ãè² æ
ãã調æ´éãå°ãªããããã¨ããï¼
+ãã®è¡æ«æåã®å·¦å³ã®ç§»åå¯è½éã¯ï¼JFMä¸ã«ããæåã¯ã©ã¹$n$ã®å®ç¾©ã®
+\texttt{end\_stretch},~\texttt{end\_shrink}ãã£ã¼ã«ãã«å
¨è§åä½ã®å¤ã¨ãã¦è¨è¿°ããã¦ããï¼
+
+ä¾ãã°ï¼è¡æ«æåãå¥ç¹ãããã§ããï¼ããã§ç¨ãããã¦ããJFMä¸ã«
+\begin{verbatim}
+ [2] = {
+ chars = { 'ã', ... }, width = 0.5, ...,
+ end_stretch = 0.5, end_shrink = 0.5,
+ },
+\end{verbatim}
+ã¨ããæå®ããã£ãå ´åï¼ãã®è¡æ«ã®å¥ç¹ã¯
+\begin{itemize}
+\item é常ã®\TeX ã®è¡åå²å¦çã§ãåè§ä»¥ä¸ã®è©°ãããè¡ããã¦ããå ´åï¼
+ãã®åã®è¡ä¸ã®\textbf{JAglue}ã®è² æ
ã軽æ¸ããããï¼
+è¡æ«ã®å¥ç¹ãåè§ã ãå³ã«ç§»åããï¼ã¶ãä¸ãçµãè¡ãï¼ï¼
+\item é常ã®\TeX ã®è¡åå²å¦çã§ãåè§ä»¥ä¸ã®ç©ºãããè¡ããã¦ããå ´åï¼
+éã«è¡æ«å¥ç¹ãåè§å·¦ã«ç§»åãããï¼è¦ãç®çã«å
¨è§åãã¨ãªãï¼ï¼
+\item 以ä¸ã®ã©ã¡ãã§ããªãå ´åï¼è¡æ«å¥ç¹ã®ä½ç½®èª¿æ´ã¯è¡ããªãï¼
+\end{itemize}
+ã¨ãªãï¼
+
+è¡æ«æåã移åããå ´åï¼ãã®åã ã\textit{total}ã®å¤ãå¼ãã¦ããï¼
+
+\subsection{ã°ã«ã¼ã®èª¿æ´}
+\textit{total}ã®åã ããï¼è¡ä¸ã®ã°ã«ã¼ã®ä¼¸ç¸®åº¦ã«å¿ãã¦è² æ
ããããã¨ã«ãªãï¼
+â¦â¦
%
@@ -6246,14 +6410,19 @@ Victor Eijkhout, \emph{\TeX\ by Topic, A \TeX nician's Reference}, Addison-Wesl
\bibitem{listings} C.\ Heinz, B.\ Moses. The \textsf{Listings} Package.
\bibitem{jlisting} Thor Watanabe. Listings\ -\ MyTeXpert. \newblock
\url{http://mytexpert.sourceforge.jp/index.php?Listings}
-\bibitem{min10} ä¹é¨å³å·±ï¼ãmin10ãã©ã³ãã«ã¤ãã¦ãï¼
-\url{http://argent.shinshu-u.ac.jp/\~{\ }otobe/tex/files/min10.pdf}
+\bibitem{min10} ä¹é¨å³å·±ï¼min10ãã©ã³ãã«ã¤ãã¦ï¼
+\url{http://argent.shinshu-u.ac.jp/~otobe/tex/files/min10.pdf}
+\bibitem{jlreq} W3C Japanese Layout Task Force~(ed), Requirements for Japanese Text Layout (W3C Working Group Note), 2011, 2012. \newblock
+\url{http://www.w3.org/TR/jlreq/}%
+% \\æ¥æ¬èªè¨³ã®æ¸ç±çï¼W3Cæ¥æ¬èªçµçã¿ã¹ã¯ãã©ã¼ã¹ï¼ç·¨ï¼ï¼ãW3Cæè¡ãã¼ã æ¥æ¬èªçµçå¦çã®è¦ä»¶ãï¼æ±äº¬é»æ©å¤§å¦åºçå±ï¼2012ï¼
+\bibitem{x4051} æ¥æ¬å·¥æ¥è¦æ ¼(Japanese Industrial Standard) JIS~X~4051,
+æ¥æ¬èªææ¸ã®çµçæ¹æ³(Formatting rules for Japanese documents), 1993, 1995, 2004.
\end{thebibliography}
\newpage
\appendix
-
-
+\batchmode
+%<*!zh>
%\section{The category code of non-kanji characters defined in JIS~X~0213}
%\section{\LuaTeX-jaã«ãããJIS~X~0213éæ¼¢åã®catcode}
@@ -6320,11 +6489,11 @@ Each character in the tables means:
%<*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.
+ Therefore, you can consider the character is not available in \pTeX.
%
%<*ja>
\item 3æåç®ã{\tt -}ã¨ãªã£ã¦ãããã®ï¼æ¬ä½ã®æåã赤身ããã£ã¦ããï¼ã¯ï¼
-JIS~X~0208ã«ãªããã使ç¨ä¸è½ã¨èãã¦è¯ããã®ã§ããï¼
+JIS~X~0208ã«ãªããã\pTeX ã§ã¯ä½¿ç¨ä¸è½ã¨èãã¦è¯ããã®ã§ããï¼
%
%<*en>
@@ -6668,7 +6837,9 @@ JIS~X~0208ã«ãªããã使ç¨ä¸è½ã¨èãã¦è¯ããã®ã§ããï¼
\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
+%!zh>
\section{Package versions used in this document}
This document was typeset using the following packages: