• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: Commit

ソースコードの管理場所


Commit MetaInfo

Revisão31197b355f0e970536d52ac2be76d316028ee724 (tree)
Hora2011-12-04 15:38:54
AutorHironori Kitagawa <h_kitagawa2001@yaho...>
CommiterHironori Kitagawa

Mensagem de Log

Add \@ at ...TeX.

Mudança Sumário

Diff

Binary files a/doc/ajt-devel-ltja.pdf and b/doc/ajt-devel-ltja.pdf differ
--- a/doc/ajt-devel-ltja.tex
+++ b/doc/ajt-devel-ltja.tex
@@ -56,9 +56,9 @@
5656 \keywords{\TeX, p\TeX, \LuaTeX, \LuaTeX-ja, Japanese}
5757 \abstract{%
5858 \LuaTeX-ja package is a macro package for typesetting Japanese
59-documents under \LuaTeX. The package has more flexibility of
59+documents under \LuaTeX\@. The package has more flexibility of
6060 typesetting than \pTeX, which is widely used Japanese extension of \TeX,
61-and has corrected some unwanted features of \pTeX.
61+and has corrected some unwanted features of \pTeX\@.
6262 In this paper, we describe specifications, the current status and some
6363 internal processing methods of \LuaTeX-ja.
6464 }
@@ -96,11 +96,11 @@ because \LuaTeX\ has an ability to hook \TeX's internal process by using
9696 Lua callbacks.
9797
9898 Before our \LuaTeX-ja project, there were several experimental attempts to typeset
99-Japanese documents with \LuaTeX. Here we cite three examples:
99+Japanese documents with \LuaTeX\@. Here we cite three examples:
100100 \begin{itemize}
101101 \item |luaums.sty|~\cite{luaums} developed by the author. This
102102 experimental package is for creating a certain Japanese-based presentation
103- with \LuaTeX.
103+ with \LuaTeX\@.
104104 \item the \emph{luajalayout} package~\cite{luajalayout}, formerly known as the
105105 \emph{jafontspec} package, by Kazuki Maeda (前田一貴). This package is based on
106106 \LaTeXe\ and \emph{fontspec} package.
@@ -117,7 +117,7 @@ these situations.
117117 \label{ssec-pol}
118118 The first aim of \LuaTeX-ja project was to implement features (from the
119119 `primitive' level) of \pTeX\ as macros under \LuaTeX, therefore \LuaTeX-ja is
120-much affected by \pTeX. However, as development proceeded, some
120+much affected by \pTeX\@. However, as development proceeded, some
121121 technical/conceptual difficulties arose. Hence we changed the aim
122122 of the project as follows:
123123 \begin{itemize}
@@ -272,7 +272,7 @@ useful under the verbatim environment.} One might jump to a conclusion
272272 that the treatment of a line-break by \pTeX\ and that of \LuaTeX-ja are
273273 totally same, however they are different in the respect that \LuaTeX-ja's
274274 judgment whether a comment letter will be appended the line is done
275-\emph{before} the line is actually processed by \LuaTeX.
275+\emph{before} the line is actually processed by \LuaTeX\@.
276276
277277 Figure~\ref{fig-linebreak} shows an example of this situation; the
278278 command at the second line marks most of Japanese characters as
@@ -358,7 +358,7 @@ done just when a (sequence of) character is appended to the current
358358 list. Thus we can interrupt this process by writing as
359359 |f{}irm|. However, \LuaTeX's process is \emph{node-based}, that is, the
360360 process will be done when a horizontal box or a paragraph is ended, so
361-|f{}irm| and |firm| yield same outputs under \LuaTeX.
361+|f{}irm| and |firm| yield same outputs under \LuaTeX\@.
362362
363363 The situation for Japanese characters is more complicated.
364364 Glues (and kerns) which are needed for Japanese
@@ -463,7 +463,7 @@ By the way, around a \emph{glyph\_node} $p$ there may be some nodes
463463 correction\footnote{\TeX82 (and \LuaTeX) does not distinguish
464464 between explicit kern and a kern for italic correction. To
465465 distinguish them, an additional subtype for a kern is introduced
466- in \pTeX. On the other hand, \LuaTeX-ja uses an additional attribute and
466+ in \pTeX\@. On the other hand, \LuaTeX-ja uses an additional attribute and
467467 redefines \texttt{\char`\\/} to set this attribute.} for $p$. It is natural that
468468 these attachments should be ignored inside the process. Hence
469469 \LuaTeX-ja takes this approach, as the latest version of
@@ -580,14 +580,14 @@ of `negative' in Japan.
580580
581581 \subsection{Character ranges}
582582 Before we describe the approach taken in \LuaTeX-ja, we review the
583-approach taken by u\pTeX. u\pTeX\ extends the |\kcatcode| primitive in
583+approach taken by u\pTeX\@. u\pTeX\ extends the |\kcatcode| primitive in
584584 \pTeX, to use this primitive for setting how a character is treated
585585 among alphabetic characters~(15), \emph{kanji}~(16), \emph{kana}~(17),
586586 \emph{Hangul}~(17), or~\emph{other CJK characters}~(18).
587587 The assignment to |\kcatcode| can be done by a Unicode
588588 block.\footnote{There are some exceptions. For example, U+FF00--FFEF
589589 (Halfwidth and Fullwidth Forms) are divided into three blocks in recent
590-u\pTeX.}
590+u\pTeX\@.}
591591
592592 \LuaTeX-ja adopted a different approach. There are many Unicode blocks
593593 in Basic Multilingual Plane which are not included in
@@ -936,7 +936,7 @@ In \pTeX, there are three slots for maintaining current fonts, namely
936936 |\font| for alphabetic fonts, |\jfont| for Japanese fonts (in horizontal
937937 direction) and |\tfont| for Japanese fonts (in vertical direction). With
938938 these slots, we can manage the current font for alphabetic characters
939-and that for Japanese characters separately in \pTeX. However, \LuaTeX\
939+and that for Japanese characters separately in \pTeX\@. However, \LuaTeX\
940940 has only one slot for maintaining the current font, as \TeX82. This
941941 situation leads a problem: how can we maintain the `current Japanese
942942 font'?
@@ -951,7 +951,7 @@ since \LuaTeX-ja is much affected by \pTeX\ as we noted in
951951 Subsection~\ref{ssec-pol}.
952952
953953 As in Figure~\ref{fig-jfdef}, \LuaTeX-ja uses |\jfont| for defining
954-Japanese fonts, as \pTeX. However, because the information of the current
954+Japanese fonts, as \pTeX\@. However, because the information of the current
955955 Japanese font is stored into an attribute, control sequences defined by
956956 |\jfont| (e.g.,~|\foo| and |\bar| in Figure~\ref{fig-jfdef}) is
957957 not representing a font by the means of \TeX82. In other words, each of
@@ -972,7 +972,7 @@ these callbacks for now.
972972 As we noted in Subsection~\ref{ssec-csname}, parameters that the values
973973 at the end of a horizontal box or that of a paragraph are valid in
974974 whole box or paragraph, such as \emph{kanjiskip}, cannot be implemented
975-by internal integers or registers of other types in \TeX. We explain it
975+by internal integers or registers of other types in \TeX\@. We explain it
976976 in this subsection.
977977
978978 \begin{figure}
@@ -990,7 +990,7 @@ void package(int c)
990990 subtype(cur_box) = HLIST_SUBTYPE_HBOX;
991991 } else {
992992 \end{lstlisting}
993-\caption{An extract of a CWEB-source \texttt{tex/packaging.w} of \LuaTeX.}
993+\caption{An extract of a CWEB-source \texttt{tex/packaging.w} of \LuaTeX\@.}
994994 \label{fig-ltsrc}
995995 \end{figure}
996996
@@ -1173,14 +1173,14 @@ he/she needs to scale a Japanese font by
11731173
11741174 \section{Conclusion}
11751175 We have discussed about our \LuaTeX-ja package, which is much affected
1176-by \pTeX. For now, it can be used for experimental use, however there
1176+by \pTeX\@. For now, it can be used for experimental use, however there
11771177 are much refinements which are needed for regular use. The author hopes
11781178 that this paper and \LuaTeX-ja project contribute the typesetting Japanese,
1179-and possibly other Asian languages, under \LuaTeX.
1179+and possibly other Asian languages, under \LuaTeX\@.
11801180
11811181 \section*{Acknowledgements}
11821182 The author would like to thank Ken Nakano and Hideaki Togashi for their
1183-development and management of ASCII \pTeX. The author is very grateful to Haruhiko
1183+development and management of ASCII \pTeX\@. The author is very grateful to Haruhiko
11841184 Okumura for his leadership in the Japanese \TeX\ community. The author
11851185 is also very grateful to members of \LuaTeX-ja project team for their
11861186 valuable cooperation in development.
Show on old repository browser