From 712f58696c39093fb1ac5a01924543854213c91f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 1 Oct 2020 21:06:45 +0000 Subject: luatexja (1oct20) git-svn-id: svn://tug.org/texlive/trunk@56505 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/luatex/luatexja/README | 8 +- .../texmf-dist/doc/luatex/luatexja/ltjclasses.pdf | Bin 400357 -> 400713 bytes .../texmf-dist/doc/luatex/luatexja/luatexja-en.pdf | Bin 700835 -> 702575 bytes .../texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf | Bin 1116496 -> 1137276 bytes Master/texmf-dist/doc/luatex/luatexja/luatexja.dtx | 93 +++++++++++++++++++-- 5 files changed, 91 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/doc/luatex') diff --git a/Master/texmf-dist/doc/luatex/luatexja/README b/Master/texmf-dist/doc/luatex/luatexja/README index 1dd9fa36771..3109243a2ee 100644 --- a/Master/texmf-dist/doc/luatex/luatexja/README +++ b/Master/texmf-dist/doc/luatex/luatexja/README @@ -1,4 +1,4 @@ -The LuaTeX-ja Package 20200919.0 +The LuaTeX-ja Package 20201001.0 -------------------------------- Copyright (c) 2011--2020 The LuaTeX-ja project License: modified BSD (see COPYING) @@ -45,9 +45,9 @@ Installation 2. If you must/want to install manually: a. Download the source archive from CTAN, - or tagged as 20200919.0 in the Git repository by + or tagged as 20201001.0 in the Git repository by + ;a=snapshot;h=refs/tags/20201001.0;sf=tgz> b. Extract the archive and process following three files by LuaLaTeX to generate classes for Japanese typesetting: @@ -96,4 +96,4 @@ Notes This file and ltj-kinsoku.lua are not used anymore. (Do not remove ltj-kinsoku.tex.) -Last commit date: Sat Sep 19 20:08:05 2020 +0900 +Last commit date: Thu Oct 1 04:19:14 2020 +0900 diff --git a/Master/texmf-dist/doc/luatex/luatexja/ltjclasses.pdf b/Master/texmf-dist/doc/luatex/luatexja/ltjclasses.pdf index f46b1a5913d..37e43d896fa 100644 Binary files a/Master/texmf-dist/doc/luatex/luatexja/ltjclasses.pdf and b/Master/texmf-dist/doc/luatex/luatexja/ltjclasses.pdf differ diff --git a/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf b/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf index 10781331bf5..ee8235c8466 100644 Binary files a/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf and b/Master/texmf-dist/doc/luatex/luatexja/luatexja-en.pdf differ diff --git a/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf b/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf index af102192214..34affff76a4 100644 Binary files a/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf and b/Master/texmf-dist/doc/luatex/luatexja/luatexja-ja.pdf differ diff --git a/Master/texmf-dist/doc/luatex/luatexja/luatexja.dtx b/Master/texmf-dist/doc/luatex/luatexja/luatexja.dtx index 7dd5bf91e4e..18379733c55 100644 --- a/Master/texmf-dist/doc/luatex/luatexja/luatexja.dtx +++ b/Master/texmf-dist/doc/luatex/luatexja/luatexja.dtx @@ -170,7 +170,7 @@ %%%%%%%% other macros \newlist{cslist}{description}{2} \setlist[cslist]{% - style=nextline,font=\bfseries\ttfamily, + style=nextline,font=\mdseries\ttfamily, before*=\def\<{\char`\<}\def\>{\char`\>}\def\{{\char`\{}\def\}{\char`\}}, topsep=\medskipamount, % leftmargin=2\zw, @@ -648,6 +648,8 @@ and \emph{Japanese fonts} for fonts used in \textbf{JAchar}. %\LuaTeX-jaパッケージの動作には次のパッケージ類が必要である. \begin{itemize} \item \href{http://www.luatex.org/}{\LuaTeX}\ 1.10.0 (or later) +% (DVI output (\cs{outputmode=0} is not supported.) +% (DVI出力(\cs{outputmode=0})は対応していない.) \item recent \href{https://github.com/latex3/luaotfload}{\Pkg{luaotfload}} (v3.1 or later recommended) \item \Pkg{adobemapping} (Adobe cmap and pdfmapping files) \item \LaTeX\ 2020-02-02 patch level 5 or later @@ -3290,7 +3292,7 @@ These commands set the dimension of \cs{box}. One does not need \ltjsetwd42 20pt, \ltjsetwd42=20pt, \ltjsetwd=42 20pt, \ltjsetwd=42=20pt \end{lstlisting} -設定値は「横組」「縦組及びutod方向」「dtou方向」 +設定値は「横組」「縦組またはutod方向」「dtou方向」 の3種ごとに独立して記録される.参考として,Gitリポジトリ内の \verb+test/test55-boxdim_diffdir.{tex,pdf}+ を挙げておく. @@ -5790,7 +5792,7 @@ of the result of \cs{kansuji}. %<*en> \verb+\ltjgetparameter{adjustdir}+ returns a integer which represents the direction of the surrounding vertical list. -As \Param{direction}, the return value 1 means \emph{down-to-up} direction, +As \Param{direction}, the return value 1 means \emph{dtou} direction, 3 means \emph{tate} direction (vertical typesetting), and 4 means \emph{yoko} direction (horizontal typesetting). % @@ -5804,12 +5806,12 @@ and 4 means \emph{yoko} direction (horizontal typesetting). \item %<*en> For an integer~ between 0~and~65535, -\verb+\ltjgetparameter{boxdim}{+\verb+}+ returns the direction of +\verb+\ltjgetparameter{boxdir}{+\verb+}+ returns the direction of \cs{box}. If this box register is void, the returned value is zero. % %<*ja> 0--65535の数に対して, -\verb+\ltjgetparameter{boxdim}{+\verb+}+ は,\cs{box}に +\verb+\ltjgetparameter{boxdir}{+\verb+}+ は,\cs{box}に 格納されているボックスの組方向を表す.もしこのレジスタが空の場合は,0が返される. % @@ -6310,7 +6312,7 @@ to reduce the number of loaded fonts. This will save time for typesetting and memory consumption of Lua side (\cite{tc18ltja}). \begin{itemize} - \item \cs{selectfont} loads (and chooses) only the Japanese font for current direction, + \item \cs{selectfont} loads (and chooses) only the Japanese font for the current direction, and does not load the Japanese font for other direction (\LuaTeX-ja only detects its size and JFM, to calculate the amount of shifting the baseline). @@ -6952,6 +6954,85 @@ Similarly, \cs{strut} now uses one of these boxes. 周囲が縦組の状況で \texttt{} を指定した時に限られている. % +%<*en> +\section{expl3 interface} +This section describes expl3 interfaces provided by \LuaTeX-ja. +All of them belong to te \texttt{platex} module, since they are provided for compatibility with Japanese \pLaTeX. +Note that commands which are marked with dagger (``\dagger'') are additions by \LuaTeX-ja. +% +%<*ja> +\section{expl3形式の命令} +expl3の文法に沿った組方向変更命令や組方向による条件判断文である. +これらは\pLaTeX との互換性の為に用意されているので,\texttt{platex}モジュールとして定義されている. +なお,``\dagger''がついている命令は\LuaTeX-ja独自のものである. +% +\begin{cslist} + \item[\cs{platex\_direction\_yoko:}\textrm{, }\cs{platex\_direction\_tate:}\textrm{, }\cs{platex\_direction\_dtou:}] +% それぞれ\cs{yoko},~\cs{tate},~\cs{dtou}と同義. +% Synonyms for \cs{yoko},~\cs{tate}~and~\cs{dtou}, respectively. + \item[\cs{platex\_if\_direction\_yoko\_p:}] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] + \item[\cs{platex\_if\_direction\_yoko:\underline{\textsl{TF}}} \{\} \{\}] +% 現在の組方向が横組であるか否かをテストする. +% Tests if the current direction is \emph{yoko} (horizontal writing). + \item[\cs{platex\_if\_direction\_tate\_nomath\_p:}$^\dagger$] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] + \item[\cs{platex\_if\_direction\_tate\_nomath:\underline{\textsl{TF}}}$^\dagger$ \{\} \{\}] +% 現在の組方向が縦組であるか否かをテストする. +% Tests if the current direction is \emph{tate} (vertical writing). + \item[\cs{platex\_if\_direction\_tate\_math\_p:}$^\dagger$] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] + \item[\cs{platex\_if\_direction\_tate\_math:\underline{\textsl{TF}}}$^\dagger$ \{\} \{\}] +% 現在の組方向がutod方向(\pTeX でいう「縦数式ディレクション」)であるか否かをテストする. +% Tests if the current direction is \emph{utod}. + \item[\cs{platex\_if\_direction\_tate\_p:}] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] + \item[\cs{platex\_if\_direction\_tate:\underline{\textsl{TF}}} \{\} \{\}] +% 現在の組方向が縦組またはutod方向であるか否かをテストする. +% Tests if the current direction is \emph{tate}~or~\emph{utod}. + \item[\cs{platex\_if\_direction\_dtou\_p:}] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] + \item[\cs{platex\_if\_direction\_dtou:\underline{\textsl{TF}}} \{\} \{\}] +% 現在の組方向がdtou方向であるか否かをテストする. +% Tests if the current direction is \emph{dtou}. + \item[\cs{platex\_if\_box\_yoko\_p:N} ] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] + \item[\cs{platex\_if\_box\_yoko:N\underline{\textsl{TF}}} \{\} \{\}] +% ボックスの組方向が横組であるか否かをテストする. +% Tests if the direction of is \emph{yoko}. + \item[\cs{platex\_if\_box\_tate\_nomath\_p:N}$^\dagger$ ] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] + \item[\cs{platex\_if\_box\_tate\_nomath:N\underline{\textsl{TF}}}$^\dagger$ \{\} \{\}] +% ボックスの組方向が縦組であるか否かをテストする. +% Tests if the direction of is \emph{tate}. + \item[\cs{platex\_if\_box\_tate\_math\_p:N}$^\dagger$ ] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] + \item[\cs{platex\_if\_box\_tate\_math:N\underline{\textsl{TF}}}$^\dagger$ \{\} \{\}] +% ボックスの組方向がutod方向であるか否かをテストする. +% Tests if the direction of is \emph{utod}. + \item[\cs{platex\_if\_box\_tate\_p:N} ] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] + \item[\cs{platex\_if\_box\_tate:N\underline{\textsl{TF}}} \{\} \{\}] +% ボックスの組方向が縦組またはutod方向であるか否かをテストする. +% Tests if the direction of is \emph{tate}~or~\emph{utod}. + \item[\cs{platex\_if\_box\_dtou\_p:N} ] +%\ \\[\dimexpr-\medskipamount-2\baselineskip\relax] +%\ \\[\dimexpr-2\baselineskip\relax] +\item[\cs{platex\_if\_box\_dtou:N\underline{\textsl{TF}}} \{\} \{\}] +% ボックスの組方向がdtou方向であるか否かをテストする. +% Tests if the direction of is \emph{dtou}. +\end{cslist} + + %<*en> \section{Addon packages} \LuaTeX-ja has several addon packages. -- cgit v1.2.3