summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source')
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx60
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx4
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx311
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/mk-rmlgbm-data.tex60
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/tool/Blocks.txt240
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeMingStd-Light.txt13
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeMyungjoStd-Medium.txt13
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeSongStd-Light.txt12
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/tool/otf-KozMinPr6N-Regular.txt38
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/tool/unicodeBlocks.tex1
10 files changed, 362 insertions, 390 deletions
diff --git a/Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx b/Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx
index aca978c08cd..dbaaa61109b 100644
--- a/Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx
+++ b/Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx
@@ -8,7 +8,7 @@
% This file is part of the pLaTeX2e system.
% -----------------------------------------
%
-% \fi
+% \fi
%
% \CheckSum{4475}
%% \CharacterTable
@@ -75,7 +75,7 @@
% \cs{section},\cs{subsection},\cs{subsubsection}の前後空きの伸縮幅を修正。
% (ありがとうございます、鈴木た@MILNさん)}
% \changes{v1.6}{2006/06/27}{フォントコマンドを修正。ありがとう、ymtさん。}
-% \changes{v1.6-ltj}{2011/09/27}{jclasses.dtx v1.6 をベースに Lua\LaTeX-ja 用に修正。}
+% \changes{v1.6-ltj}{2011/09/27}{jclasses.dtx v1.6 をベースにLua\LaTeX-ja用に修正。}
% \fi
%
% \iffalse
@@ -113,8 +113,8 @@
\documentclass{ltjltxdoc}
\GetFileInfo{ltjclasses.dtx}
\usepackage[unicode]{hyperref}
-\title{Lua\LaTeX-ja用 \texttt{jclasses} 互換クラス}
-\author{Lua\TeX-ja プロジェクト}
+\title{Lua\LaTeX-ja用\texttt{jclasses}互換クラス}
+\author{Lua\TeX-jaプロジェクト}
\date{\filedate}
\begin{document}
\maketitle
@@ -125,8 +125,8 @@
% \fi
%
% \section{はじめに}
-% このファイルは、Lua\LaTeX-ja 用の |jclasses| 互換クラスファイルです。
-% v1.6 をベースに作成しています。
+% このファイルは、Lua\LaTeX-ja用の|jclasses|互換クラスファイルです。
+% v1.6をベースに作成しています。
% \dst{}プログラムによって、横組用のクラスファイルと縦組用のクラスファイル
% を作成することができます。
%
@@ -150,22 +150,22 @@
% \MakeShortVerb{\|}
%
% \subsection{\texttt{jclasses.dtx} からの主な変更点}
-% 全ての変更点を知りたい場合は、|jclasses.dtx| と |ltjclasses.dtx| で |diff| を
+% 全ての変更点を知りたい場合は、|jclasses.dtx|と|ltjclasses.dtx|で|diff|を
% とって下さい。
% \begin{itemize}
-% \item |disablejfam| オプションを無効化。もし
+% \item |disablejfam|オプションを無効化。もし
% \begin{quotation}
% |! LaTeX Error: Too many math alphabets used in version ****.|
% \end{quotation}
-% のエラーが起こった場合は、|lualatex-math| パッケージを読み込んでみて下さい。
-% \item 出力 PDF の用紙サイズが自動的に設定されるようにしてあります。
+% のエラーが起こった場合は、|lualatex-math|パッケージを読み込んでみて下さい。
+% \item 出力PDFの用紙サイズが自動的に設定されるようにしてあります。
% \item \cs{if西暦}、\cs{西暦}、\cs{和暦}をそれぞれ\cs{ifSeireki}, \cs{Seireki},
-% \cs{Wareki} に変更してあります。これはデフォルトの漢字のカテゴリコードが12で
+% \cs{Wareki}に変更してあります。これはデフォルトの漢字のカテゴリコードが12で
% あるためです。
% \end{itemize}
%
% \section{Lua\TeX-ja の読み込み}
-% 最初に |luatexja| を読み込みます。
+% 最初に|luatexja|を読み込みます。
% \begin{macrocode}
%<*article|report|book>
\RequirePackage{luatexja}
@@ -176,7 +176,7 @@
%
% \begin{macro}{\c@@paper}
% 用紙サイズを示すために使います。
-% A4, A5, B4, B5 用紙はそれぞれ、1, 2, 3, 4 として表されます。
+% A4, A5, B4, B5用紙はそれぞれ、1, 2, 3, 4として表されます。
% \begin{macrocode}
\newcounter{@paper}
% \end{macrocode}
@@ -191,7 +191,7 @@
%
% \begin{macro}{\@ptsize}
% 組版をするポイント数の一の位を保存するために使います。
-% 0, 1, 2 のいずれかです。
+% 0, 1, 2のいずれかです。
% \begin{macrocode}
\newcommand{\@ptsize}{}
% \end{macrocode}
@@ -373,7 +373,7 @@
%
% \subsection{組方向オプション}
% このオプションが指定されると、縦組で組版をします。
-% しかし Lua\TeX-ja ではまだ縦組は未対応なのでコメントアウトします。
+% しかしLua\TeX-jaではまだ縦組は未対応なのでコメントアウトします。
% \changes{v1.0g}{1997/01/25}{Insert \cs{hbox}, to switch tate-mode.}
% \changes{v1.1d}{1997/02/05}{開始ページがおかしくなるのを修正}
% \changes{v1.1f}{1997/07/08}{縦組時にベースラインがおかしくなるのを修正}
@@ -449,12 +449,12 @@
%
% \subsection{日本語ファミリ宣言の抑制、和欧文両対応の数式文字}
% p\TeX では数式ファミリの数が16個だったので日本語ファミリ宣言を抑制する
-% |disablejfam| オプションが用意されていましたが、Lua\TeX では Omega 拡張が
+% |disablejfam|オプションが用意されていましたが、Lua\TeX ではOmega拡張が
% 取り込まれて数式ファミリは256個まで使用できるため、このオプションは必要ありません。
% ただし、\LaTeXe カーネルでは未だに数式ファミリの数は16個に制限されているので、
-% 実際に使用可能な数式ファミリの数を増やすためには |lualatex-math| パッケージを
+% 実際に使用可能な数式ファミリの数を増やすためには|lualatex-math|パッケージを
% 読み込む必要があることに注意が必要です。
-%
+%
% |mathrmmc|オプションは、
% |\mathrm|と|\mathbf|を和欧文両対応にするためのクラスオプションです。
% \changes{v1.1d}{1992/02/04}{disablejfamの判断を間違えてたのを修正}
@@ -501,7 +501,7 @@
%<!book&yoko>\input{ltjsize1\@ptsize.clo}
% \end{macrocode}
% 縦組用クラスファイルの場合は、ここで\file{plext.sty}が読み込まれていました。
-% Lua\TeX-ja でどうなるかは未定です。
+% Lua\TeX-jaでどうなるかは未定です。
% \changes{v1.0e}{1996/03/21}{\cs{usepackage} to \cs{RequirePackage}}
% \begin{macrocode}
%<tate>%\RequirePackage{plext}
@@ -511,21 +511,21 @@
% \section{フォント}
%
% Lua\LaTeX-jaの標準では、OTFパッケージ由来のメトリックが使われるようになっています。
-% 本クラスでは、「p\TeX の組版と互換性をできだけ持たせる」例を提示するため、
+% 本クラスでは、「p\TeX の組版と互換性をできるだけ持たせる」例を提示するため、
% \begin{itemize}
% \item メトリックを\texttt{min10.tfm}ベースの\texttt{jfm-min.lua}に変更。
% \item 明朝とゴシックは両方とも\texttt{jfm-min.lua}を用いるが、
% 和文処理用グルー挿入時には「違うメトリックを使用」として思わせる。
% \item p\TeX と同様に、「異なるメトリックの2つの和文文字」の間には、両者から定める
% グルーを両方挿入する。
-% \item calllback を利用し、標準で用いる\texttt{jfm-min.lua}を、段落始めの括弧が全角二分下がりになるように内部で変更している。
-%
+% \item calllbackを利用し、標準で用いる\texttt{jfm-min.lua}を、段落始めの括弧が全角二分下がりになるように内部で変更している。
+%
% \end{itemize}
%
% \begin{macrocode}
%<*article|report|book>
-\directlua{luatexbase.add_to_callback('luatexja.load_jfm',
- function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
+\directlua{luatexbase.add_to_callback('luatexja.load_jfm',
+ function (ji, jn) ji.chars['parbdd'] = 0; return ji end,
'ltj.jclasses_load_jfm', 1)}
{\jfont\g=psft:Ryumin-Light:jfm=min } % loading jfm-min.lua
\expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
@@ -776,8 +776,8 @@
%
% \begin{macro}{\pdfpagewidth}
% \begin{macro}{\pdfpageheight}
-% 出力の PDF の用紙サイズをここで設定しておきます。
-% |tombow| が真のときは2インチ足しておきます。
+% 出力のPDFの用紙サイズをここで設定しておきます。
+% |tombow|が真のときは2インチ足しておきます。
% \begin{macrocode}
\setlength{\@tempdima}{\paperwidth}
\setlength{\@tempdimb}{\paperheight}
@@ -1667,7 +1667,7 @@
%
% \section{ページスタイル}\label{sec:pagestyle}
% つぎの6種類のページスタイルを使用できます。
-% \pstyle{empty}は\file{latex.dtx}で定義されています。
+% \pstyle{empty}は\file{latex.dtx}で定義されています。
%
% \begin{tabular}{ll}
% empty & ヘッダにもフッタにも出力しない\\
@@ -1880,7 +1880,7 @@
% ヘッダに見出しを、フッタにページ番号を出力します。
%
% このスタイルは、両面印刷と片面印刷とで形式が異なります。
-% \changes{v1.0d}{1995/08/23}{横組の evenfoot が中央揃えになっていたのを修正}
+% \changes{v1.0d}{1995/08/23}{横組のevenfootが中央揃えになっていたのを修正}
% \changes{v1.0d}{1996/03/05}{横組で偶数ページと奇数ページの設定が逆なのを修正}
% \begin{macrocode}
\if@twoside
@@ -3461,7 +3461,7 @@
%
% \changes{v1.6}{2006/06/27}{フォントコマンドを修正。ありがとう、ymtさん。}
% \LaTeX{} 2.09
-% compatibility mode では和文数式フォントfam が2重定義されていた
+% compatibility mode では和文数式フォントfamが2重定義されていた
% ので、その部分を変更しました。
% \begin{macrocode}
\if@compatibility\else
@@ -4176,7 +4176,7 @@
%<*yoko>
\if@twoside
\@mparswitchtrue
-\else
+\else
\@mparswitchfalse
\fi
%</yoko>
diff --git a/Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx b/Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx
index 549f847ed35..8ce79977cf1 100644
--- a/Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx
+++ b/Master/texmf-dist/source/luatex/luatexja/ltjltxdoc.dtx
@@ -46,7 +46,7 @@
\documentclass{ltjltxdoc}
\GetFileInfo{ltjltxdoc.cls}
\title{Lua\LaTeX-jaドキュメント記述用クラス}
-\author{Lua\TeX-ja プロジェクト}
+\author{Lua\TeX-jaプロジェクト}
\date{\filedate}
\begin{document}
\maketitle
@@ -63,7 +63,7 @@
\ProcessOptions
\LoadClass{ltxdoc}
% \end{macrocode}
-% \file{ltxdoc} の読み込み後に \file{luatexja} を読み込みます。
+% \file{ltxdoc}の読み込み後に\file{luatexja}を読み込みます。
% \begin{macrocode}
\RequirePackage{luatexja}
% \end{macrocode}
diff --git a/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx b/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
index 3d222f45aa8..11f91875b8d 100644
--- a/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
+++ b/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
@@ -22,7 +22,7 @@
% -----------------------------------------
%
% \fi
-% \CheckSum{4855}
+% \CheckSum{4976}
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
@@ -50,7 +50,7 @@
%<*driver>
\ProvidesFile{ltjsclasses.dtx}
%</driver>
- [2011/10/03 ]
+ [2012/04/24 ]
%<*driver>
\documentclass{ltjsarticle}
\usepackage{doc}
@@ -73,8 +73,8 @@
%
% \fi
%
-% \title{Lua\LaTeX-ja 用 \texttt{jsclasses} 互換クラス}
-% \author{Lua\TeX-ja プロジェクト}
+% \title{Lua\LaTeX-ja用\texttt{jsclasses}互換クラス}
+% \author{Lua\TeX-jaプロジェクト}
% \date{\filedate}
% \maketitle
% \tableofcontents
@@ -83,7 +83,7 @@
%
% \section{はじめに}
%
-% これは奥村晴彦先生による |jsclasses.dtx| を Lua\LaTeX-ja 用に改変したものです。
+% これは奥村晴彦先生による |jsclasses.dtx| をLua\LaTeX-ja用に改変したものです。
% 次のドキュメントクラス(スタイルファイル)を生成します。
% \begin{quote}
% \begin{tabular}{lll}
@@ -106,11 +106,11 @@
% ミティブで全体的に拡大するという手を使って,9ポイントや21,25,30,36,
% 43ポイント,12Q,14Qの指定を可能にしています。
%
-% \subsection{\texttt{jsclasses.dtx} からの主な変更点}
+% \subsection{\texttt{jsclasses.dtx}からの主な変更点}
% 全ての変更点を知りたい場合は,|jsclasses.dtx| と |ltjsclasses.dtx| で |diff| を
% とって下さい。
% \begin{itemize}
-% \item フォントメトリック関係のオプション |winjis| は単に無視されます。
+% \item フォントメトリック関係のオプション |winjis |は単に無視されます。
% \item 標準では |jfm-ujis.lua|(Lua\TeX-ja標準のメトリック,OTFパッケージのものがベース)を使用します。
% \item |uplatex| オプションを削除してあります。
% \item |disablejfam| オプションが無効になっています。もし
@@ -118,12 +118,12 @@
% |! LaTeX Error: Too many math alphabets used in version ****.|
% \end{quotation}
% のエラーが起こった場合は,|lualatex-math| パッケージを読み込んでみて下さい。
-% \item |papersize| オプションの指定に関わらず PDF のページサイズは適切に
+% \item |papersize| オプションの指定に関わらずPDFのページサイズは適切に
% 設定されます。
-% \item Lua\TeX-ja 同梱のメトリックを用いる限りは,段落の頭にグルーは挿入されません。
-% そのため,オリジナルの |jsclasses.dtx| 内にあったhack(|\everyparhook|)は不要になったので,
+% \item Lua\TeX-ja同梱のメトリックを用いる限りは,段落の頭にグルーは挿入されません。
+% そのため,オリジナルの |jsclasses.dtx| 内にあったhack (|\everyparhook|)は不要になったので,
% 削除しました。
-% \item 「\texttt{amsmath} との衝突の回避」のコードは,上流で既に対処されているうえ,
+% \item 「\texttt{amsmath}との衝突の回避」のコードは,上流で既に対処されているうえ,
% これがあると |grfext.sty| を読み込んだ際にエラーを引き起こすので削除しました。
% \item |\小|,|\上小|,|\if西暦|,|\西暦|,|\和暦|をそれぞれ
% |\Shou|, |\UeShou|, |\ifSeireki|, |\Seireki|, |\Wareki| に変更してあります。
@@ -133,7 +133,7 @@
% \StopEventually
%
% 以下では実際のコードに即して説明します。
-% \section{Lua\TeX-ja の読み込み}
+% \section{Lua\TeX-jaの読み込み}
%
% まず,|luatexja| を読み込みます。
% \begin{macrocode}
@@ -201,18 +201,18 @@
%
% \paragraph{用紙サイズ}
%
-% JISやISOのA0判は面積 $1\,\mathrm{m}^2$,縦横比 $1:\sqrt{2}$
-% の長方形の辺の長さを mm 単位に切り捨てたものです。
-% これを基準として順に半截しては mm 単位に切り捨てたものがA1,A2,…です。
+% JISやISOのA0判は面積$1\,\mathrm{m}^2$,縦横比$1:\sqrt{2}$
+% の長方形の辺の長さをmm単位に切り捨てたものです。
+% これを基準として順に半截してはmm単位に切り捨てたものがA1,A2,…です。
%
% B判はJISとISOで定義が異なります。
-% JISではB0判の面積が $1.5\,\mathrm{m}^2$ ですが,
+% JISではB0判の面積が$1.5\,\mathrm{m}^2$ですが,
% ISOではB1判の辺の長さがA0判とA1判の辺の長さの幾何平均です。
-% したがってISOのB0判は $1000\,\mathrm{mm} \times 1414\,\mathrm{mm}$ です。
-% このため,\LaTeXe の \texttt{b5paper}
-% は $250\,\mathrm{mm} \times 176\,\mathrm{mm}$ ですが,
-% \pLaTeXe の \texttt{b5paper}
-% は $257\,\mathrm{mm} \times 182\,\mathrm{mm}$ になっています。
+% したがってISOのB0判は$1000\,\mathrm{mm} \times 1414\,\mathrm{mm}$です。
+% このため,\LaTeXe の\texttt{b5paper}
+% は$250\,\mathrm{mm} \times 176\,\mathrm{mm}$ですが,
+% \pLaTeXe の\texttt{b5paper}
+% は$257\,\mathrm{mm} \times 182\,\mathrm{mm}$になっています。
% ここでは\pLaTeXe にならってJISに従いました。
%
% デフォルトは \texttt{a4paper} です。
@@ -283,7 +283,7 @@
%
% \paragraph{slide}
%
-% オプション \texttt{slide} を新設しました。
+% オプション\texttt{slide}を新設しました。
%
% \begin{macrocode}
\newif\if@slide
@@ -292,8 +292,8 @@
%
% \paragraph{サイズオプション}
%
-% 10pt,11pt,12pt のほかに,8pt,9pt,14pt,17pt,21pt,25pt,30pt,36pt,43pt を追加しました。
-% これは等比数列になるように選んだものです(従来の 20pt も残しました)。
+% 10pt,11pt,12ptのほかに,8pt,9pt,14pt,17pt,21pt,25pt,30pt,36pt,43ptを追加しました。
+% これは等比数列になるように選んだものです(従来の20ptも残しました)。
% |\@ptsize| の定義が変だったのでご迷惑をおかけしましたが,
% 標準的なドキュメントクラスと同様にポイント数から10を引いたものに直しました。
%
@@ -323,10 +323,10 @@
%
% \paragraph{トンボオプション}
%
-% トンボ(crop marks)を出力します。
+% トンボ(crop marks)を出力します。
% 実際の処理は |lltjcore.sty| で行います。
-% オプション \texttt{tombow} で日付付きのトンボ,
-% オプション \texttt{tombo} で日付なしのトンボを出力します。
+% オプション\texttt{tombow}で日付付きのトンボ,
+% オプション\texttt{tombo}で日付なしのトンボを出力します。
% これらはアスキー版のままです。
% カウンタ |\hour|,|\minute| は |luatexja-compat.sty| で宣言されています。
%
@@ -349,7 +349,7 @@
%
% \paragraph{面付け}
%
-% オプション \texttt{mentuke} で幅ゼロのトンボを出力します。
+% オプション\texttt{mentuke}で幅ゼロのトンボを出力します。
% 面付けに便利です。これもアスキー版のままです。
%
% \begin{macrocode}
@@ -361,9 +361,9 @@
%
% \paragraph{両面,片面オプション}
%
-% \texttt{twoside} で奇数ページ・偶数ページのレイアウトが変わります。
+% \texttt{twoside}で奇数ページ・偶数ページのレイアウトが変わります。
%
-% [2003-04-29] \texttt{vartwoside} でどちらのページも傍注が右側になります。
+% [2003-04-29] \texttt{vartwoside}でどちらのページも傍注が右側になります。
%
% \begin{macrocode}
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
@@ -373,7 +373,7 @@
%
% \paragraph{二段組}
%
-% \texttt{twocolumn} で二段組になります。
+% \texttt{twocolumn}で二段組になります。
%
% \begin{macrocode}
\DeclareOption{onecolumn}{\@twocolumnfalse}
@@ -382,7 +382,7 @@
%
% \paragraph{表題ページ}
%
-% \texttt{titlepage} で表題・概要を独立したページに出力します。
+% \texttt{titlepage}で表題・概要を独立したページに出力します。
%
% \begin{macrocode}
\DeclareOption{titlepage}{\@titlepagetrue}
@@ -392,7 +392,7 @@
% \paragraph{右左起こし}
%
% 書籍では章は通常は奇数ページ起こしになりますが,
-% \texttt{openany} で偶数ページからでも始まるようになります。
+% \texttt{openany}で偶数ページからでも始まるようになります。
%
% \begin{macrocode}
%<book>\DeclareOption{openright}{\@openrighttrue}
@@ -428,8 +428,8 @@
% \end{macrocode}
% \end{environment}
%
-% \texttt{leqno} で数式番号が左側になります。
-% \texttt{fleqn} で数式が本文左端から一定距離のところに出力されます。
+% \texttt{leqno}で数式番号が左側になります。
+% \texttt{fleqn}で数式が本文左端から一定距離のところに出力されます。
% 森本さんにしたがって訂正しました。
%
% \begin{macrocode}
@@ -481,7 +481,7 @@
% \paragraph{数式フォントとして和文フォントを登録しないオプション}
%
% p\TeX では数式中では16通りのフォントしか使えませんでしたが,Lua\TeX では
-% Omega 拡張が取り込まれていて256通りのフォントが使えます。
+% Omega拡張が取り込まれていて256通りのフォントが使えます。
% ただし,\LaTeXe カーネルでは未だに数式ファミリの数は16個に制限されているので,
% 実際に使用可能な数式ファミリの数を増やすためには |lualatex-math| パッケージを
% 読み込む必要があることに注意が必要です。
@@ -493,7 +493,7 @@
%
% \paragraph{ドラフト}
%
-% \texttt{draft} でoverfull boxの起きた行末に5ptの罫線を引きます。
+% \texttt{draft}でoverfull boxの起きた行末に5ptの罫線を引きます。
%
% \begin{macrocode}
\newif\ifdraft
@@ -503,12 +503,12 @@
%
% \paragraph{和文フォントメトリックの選択}
%
-% ここではOTFパッケージのメトリックを元とした,|jfm-ujis.lua|メトリックを標準で使います。
-% 古い \texttt{min10},\texttt{goth10} 互換のメトリックを使いたいときは \texttt{mingoth}
+% ここではOTFパッケージのメトリックを元とした,|jfm-ujis.lua| メトリックを標準で使います。
+% 古い\texttt{min10},\texttt{goth10}互換のメトリックを使いたいときは\texttt{mingoth}
% というオプションを指定します。
-% p\TeX でよく利用される \texttt{jis} フォントメトリックと互換のメトリックを使いたい場合は,
-% \texttt{ptexjis} というオプションを指定します。
-% \texttt{winjis} メトリックは用済みのため,\texttt{winjis} オプションは無視されます。
+% p\TeX でよく利用される\texttt{jis}フォントメトリックと互換のメトリックを使いたい場合は,
+% \texttt{ptexjis}というオプションを指定します。
+% \texttt{winjis}メトリックは用済みのため,\texttt{winjis}オプションは無視されます。
%
% \begin{macrocode}
\newif\ifmingoth
@@ -529,7 +529,7 @@
% \paragraph{papersizeスペシャルの利用}
%
% |ltjsclasses| では |papersize| オプションの有無に関わらず,
-% PDF のページサイズは適切に設定されます。
+% PDFのページサイズは適切に設定されます。
%
% \begin{macrocode}
\newif\ifpapersize
@@ -539,7 +539,7 @@
%
% \paragraph{英語化}
%
-% オプション \texttt{english} を新設しました。
+% オプション\texttt{english}を新設しました。
%
% \begin{macrocode}
\newif\if@english
@@ -549,7 +549,7 @@
%
% \paragraph{ltjsreport相当}
%
-% オプション \texttt{report} を新設しました。
+% オプション\texttt{report}を新設しました。
%
% \begin{macrocode}
%<*book>
@@ -681,11 +681,11 @@
\setlength\paperheight{\inv@mag\paperheight}%
% \end{macrocode}
%
-% \paragraph{PDF の用紙サイズの設定}
+% \paragraph{PDFの用紙サイズの設定}
%
% \begin{macro}{\pdfpagewidth}
% \begin{macro}{\pdfpageheight}
-% 出力の PDF の用紙サイズをここで設定しておきます。
+% 出力のPDFの用紙サイズをここで設定しておきます。
% |tombow| が真のときは2インチ足しておきます。
% \begin{macrocode}
\setlength{\@tempdima}{\paperwidth}
@@ -711,15 +711,15 @@
% 1インチは定義により25.4mmです。
%
% \pTeX (アスキーが日本語化した\TeX )では,例えば従来のフォントメトリック
-% \texttt{min10} やJISフォントメトリックでは「公称10ポイントの和文フォントは,
+% \texttt{min10}やJISフォントメトリックでは「公称10ポイントの和文フォントは,
% 実際には9.62216ptで出力される(メトリック側で0.962216倍される)」という
% 仕様になっています。
% 一方,Lua\TeX-jaの提供するメトリックでは,そのようなことはありません。
% 公称10ポイントの和文フォントは,10ポイントで出力されます。
%
-% この|ltjsclasses|でも,派生元の|jsclasses|と同じように,
+% この |ltjsclasses| でも,派生元の |jsclasses| と同じように,
% この公称10ポイントのフォントをここでは13級に縮小して
-% 使うことにします。そのためには,$13\,\textrm{Q}/10\,\textrm{pt}\simeq 0.924872$ 倍
+% 使うことにします。そのためには,$13\,\textrm{Q}/10\,\textrm{pt}\simeq 0.924872$倍
% すればいいことになります。
%
%
@@ -748,7 +748,7 @@
%
% 某学会誌では,
% 和文フォントをPostScriptの9ポイントにするために,
-% $0.9*72.27/72 \simeq 0.903375$ 倍します。
+% $0.9*72.27/72 \simeq 0.903375$倍します。
%
% \begin{macrocode}
%<*jspf>
@@ -815,7 +815,7 @@
% Lua\TeX-jaでは和文組版に伴うグルーはノードベースで挿入するようになり,また
% 欧文・和文間のグルーとイタリック補正は干渉しないようになりました。
% まだ「和文の斜体」についてはLua\LaTeX カーネル側でまともな対応がされていませんが,
-% |jsclasses.dtx|で行われていた|\textmc|, |\textgt|の再定義は不要のように思われます。
+% |jsclasses.dtx| で行われていた |\textmc|, |\textgt| の再定義は不要のように思われます。
%
% |jsclasses.dtx| 中で行われていた |\reDeclareMathAlphabet| の再定義は削除。
%
@@ -829,12 +829,12 @@
%
% これは |\pounds| 命令で実際に呼び出される文字です。
% 従来からのOT1エンコーディングでは |\$| のイタリック体が |\pounds|
-% なので \texttt{cmti} が使われていましたが,
-% 1994年春からは \texttt{cmu}(upright italic,直立イタリック体)
+% なので\texttt{cmti}が使われていましたが,
+% 1994年春からは\texttt{cmu}(upright italic,直立イタリック体)
% に変わりました。
-% しかし \texttt{cmu} はその性格からして実験的なものであり,
+% しかし\texttt{cmu}はその性格からして実験的なものであり,
% |\pounds| 以外で使われるとは思えないので,
-% ここでは \texttt{cmti} に戻してしまいます。
+% ここでは\texttt{cmti}に戻してしまいます。
%
% [2003-08-20] Computer Modernフォントを使う機会も減り,T1エンコーディング
% が一般的になってきました。この定義はもうあまり意味がないので消します。
@@ -851,7 +851,7 @@
% \end{macrocode}
%
% 「CやC++では……」と書くと,C++の直後に四分アキが入らないのでバランスが悪くなります。
-% 四分アキが入るようにしました。\% の両側も同じです。
+% 四分アキが入るようにしました。\%の両側も同じです。
%
% \begin{macrocode}
\ltjsetparameter{alxspmode={`+,3}}
@@ -861,7 +861,7 @@
% \begin{macro}{\@}
%
% \LaTeX の |\def\@{\spacefactor\@m}| という定義(|\@m| は1000)
-% では |I watch TV\@.| と書くと V とピリオドのペアカーニングが効かなくなります。
+% では |I watch TV\@.| と書くとVとピリオドのペアカーニングが効かなくなります。
% そこで,次のような定義に直し,|I watch TV.\@| と書くことにします。
%
% \begin{macrocode}
@@ -898,7 +898,7 @@
% 和文文字間のスペース |kanjiskip|,
% 和文・欧文間のスペース |xkanjiskip| を変更しています。
%
-% |kanjiskip| は |luatexja-latex.sty| で |0pt plus 0.4pt minus 0.4pt| に
+% |kanjiskip| は |ltj-latex.sty| で |0pt plus 0.4pt minus 0.4pt| に
% 設定していますが,
% これはそもそも文字サイズの変更に応じて変わるべきものです。
% それに,プラスになったりマイナスになったりするのは,
@@ -914,7 +914,7 @@
%
% |\parindent| については,0(以下)でなければ全角幅(|1\zw|)に直します。
%
-% [2008-02-18] |english| オプションで |\parindent| を 1em にしました。
+% [2008-02-18] |english| オプションで |\parindent| を1emにしました。
%
% \begin{macrocode}
\def\@setfontsize#1#2#3{%
@@ -994,7 +994,7 @@
% 公称10ポイントの和文フォントが約9.25ポイント
% (アスキーのものの0.961倍)であることもあり,
% 行送りがかなりゆったりとしたと思います。
-% 実際,$16/9.25 \approx 1.73$ であり,
+% 実際,$16/9.25 \approx 1.73$であり,
% 和文の推奨値の一つ「二分四分」(1.75)
% に近づきました。
%
@@ -1045,7 +1045,7 @@
% \begin{macro}{\Chs}
%
% 基準となる長さの設定をします。
-% \texttt{lltjfont.dtx} で宣言されている
+% \texttt{lltjfont.dtx}で宣言されている
% パラメータに実際の値を設定します。
% たとえば |\Cwd| は |\normalfont| の全角幅(|1\zw|)です。
%
@@ -1067,10 +1067,10 @@
%
% |\small| も |\normalsize| と同様に設定します。
% 行送りは,|\normalsize| が16ポイントなら,
-% 割合からすれば $16 \times 0.9 = 14.4$ ポイントになりますが,
+% 割合からすれば$16 \times 0.9 = 14.4$ポイントになりますが,
% |\small| の使われ方を考えて,ここでは和文13ポイント,
% 欧文11ポイントとします。
-% また,|\topsep| と |\parsep| は,元はそれぞれ $4 \pm 2$,$2 \pm 1$
+% また,|\topsep| と |\parsep| は,元はそれぞれ$4 \pm 2$,$2 \pm 1$
% ポイントでしたが,ここではゼロ(|\z@|)にしました。
%
% \begin{macrocode}
@@ -1096,7 +1096,7 @@
% \begin{macro}{\footnotesize}
%
% |\footnotesize| も同様です。
-% |\topsep| と |\parsep| は,元はそれぞれ $3 \pm 1$,$2 \pm 1$
+% |\topsep| と |\parsep| は,元はそれぞれ$3 \pm 1$,$2 \pm 1$
% ポイントでしたが,ここではゼロ(|\z@|)にしました。
%
% \begin{macrocode}
@@ -1223,7 +1223,7 @@
% 上下の行の文字が |\lineskiplimit| より接近したら,
% |\lineskip| より近づかないようにします。
% 元は0ptでしたが1ptに変更しました。
-% \texttt{normal...} の付いた方は保存用です。
+% \texttt{normal...}の付いた方は保存用です。
%
% \begin{macrocode}
\setlength\lineskip{1\p@}
@@ -1256,7 +1256,7 @@
% \begin{macro}{\parindent}
%
% |\parskip| は段落間の追加スペースです。
-% 元は 0pt plus 1pt になっていましたが,ここではゼロにしました。
+% 元は0pt plus 1ptになっていましたが,ここではゼロにしました。
% |\parindent| は段落の先頭の字下げ幅です。
%
% \begin{macrocode}
@@ -1289,7 +1289,7 @@
%
% \begin{macro}{\interlinepenalty}
%
-% 段落中の改ページのペナルティです。デフォルトは 0 です。
+% 段落中の改ページのペナルティです。デフォルトは0です。
%
% \begin{macrocode}
% \interlinepenalty 0
@@ -1299,7 +1299,7 @@
% \begin{macro}{\brokenpenalty}
%
% ページの最後の行がハイフンで終わる際のペナルティです。
-% デフォルトは 100 です。
+% デフォルトは100です。
%
% \begin{macrocode}
% \brokenpenalty 100
@@ -1314,7 +1314,7 @@
% \begin{macro}{\topskip}
%
% |\topskip| は本文領域上端と本文1行目のベースラインとの距離です。
-% あまりぎりぎりの値にすると,本文中に $\int$ のような高い文字が
+% あまりぎりぎりの値にすると,本文中に$\int$のような高い文字が
% 入ったときに1行目のベースラインが他のページより下がってしまいます。
% ここでは本文の公称フォントサイズ(10pt)にします。
%
@@ -1340,8 +1340,8 @@
% \begin{macro}{\footskip}
%
% |\footskip| は本文領域下端とフッタ下端との距離です。
-% 標準クラスファイルでは,book で0.35in(約8.89mm),
-% book 以外で30pt(約10.54mm)となっていましたが,
+% 標準クラスファイルでは,bookで0.35in(約8.89mm),
+% book以外で30pt(約10.54mm)となっていましたが,
% ここではA4判のときちょうど1cmとなるように,
% |\paperheight| の0.03367倍(最小 |\baselineskip|)としました。
% 書籍については,フッタは使わないことにして,ゼロにしました。
@@ -1374,9 +1374,9 @@
% \begin{macro}{\headsep}
%
% |\headsep| はヘッダ下端と本文領域上端との距離です。
-% 元は book で18pt(約6.33mm),
+% 元はbookで18pt(約6.33mm),
% それ以外で25pt(約8.79mm)になっていました。
-% ここでは article は |\footskip| $-$ |\topskip| としました。
+% ここではarticleは |\footskip| $-$ |\topskip| としました。
%
% \begin{macrocode}
%<*article>
@@ -1434,10 +1434,10 @@
\newdimen\fullwidth
% \end{macrocode}
%
-% この |\fullwidth| は article では紙幅 |\paperwidth|の0.76倍を超えない
+% この |\fullwidth| はarticleでは紙幅 |\paperwidth|の0.76倍を超えない
% 全角幅の整数倍(二段組では全角幅の偶数倍)にします。0.76倍という数値は
% A4縦置きの場合に紙幅から約2インチを引いた値になるように選びました。
-% book では紙幅から36ミリを引いた値にしました。
+% bookでは紙幅から36ミリを引いた値にしました。
%
% \begin{macro}{\textwidth}
%
@@ -1635,7 +1635,7 @@
% \begin{macro}{\footins}
%
% |\skip\footins| は本文の最終行と最初の脚注との間の距離です。
-% 標準の10ポイントクラスでは 9 plus 4 minus 2 ポイントになっていますが,
+% 標準の10ポイントクラスでは9 plus 4 minus 2ポイントになっていますが,
% 和文の行送りを考えてもうちょっと大きくします。
%
% \begin{macrocode}
@@ -1664,7 +1664,7 @@
% \begin{macro}{\topfraction}
%
% 本文ページ上部のフロートが占有できる最大の割合です。
-% フロートが入りやすいように,元の値 0.7 を 0.8 [2003-08-23: 0.85] に変えてあります。
+% フロートが入りやすいように,元の値0.7を0.8 [2003-08-23: 0.85]に変えてあります。
%
% \begin{macrocode}
\renewcommand{\topfraction}{.85}
@@ -1684,7 +1684,7 @@
%
% \begin{macro}{\bottomfraction}
%
-% 本文ページ下部のフロートが占有できる最大の割合です。元は 0.3 でした。
+% 本文ページ下部のフロートが占有できる最大の割合です。元は0.3でした。
%
% \begin{macrocode}
\renewcommand{\bottomfraction}{.8}
@@ -1705,7 +1705,7 @@
% \begin{macro}{\textfraction}
%
% 本文ページに最低限入らなければならない本文の割合です。
-% フロートが入りやすいように元の 0.2 を 0.1 に変えました。
+% フロートが入りやすいように元の0.2を0.1に変えました。
%
% \begin{macrocode}
\renewcommand{\textfraction}{.1}
@@ -1715,7 +1715,7 @@
% \begin{macro}{\floatpagefraction}
%
% フロートだけのページでのフロートの最小割合です。
-% これも 0.5 を 0.8 に変えてあります。
+% これも0.5を0.8に変えてあります。
%
% \begin{macrocode}
\renewcommand{\floatpagefraction}{.8}
@@ -1738,7 +1738,7 @@
%
% 二段組のとき本文ページ上部に出力できる
% 段抜きフロートが占めうる最大の割合です。
-% 0.7 を 0.8 に変えてあります。
+% 0.7を0.8に変えてあります。
%
% \begin{macrocode}
\renewcommand{\dbltopfraction}{.8}
@@ -1749,7 +1749,7 @@
%
% 二段組のときフロートだけのページに入るべき
% 段抜きフロートの最小割合です。
-% 0.5 を 0.8 に変えてあります。
+% 0.5を0.8に変えてあります。
%
% \begin{macrocode}
\renewcommand{\dblfloatpagefraction}{.8}
@@ -1924,7 +1924,7 @@
% |headings| スタイルはヘッダに見出しとページ番号を出力します。
% ここではヘッダにアンダーラインを引くようにしてみました。
%
-% まず article の場合です。
+% まずarticleの場合です。
%
% \begin{macrocode}
%<*article|kiyou>
@@ -1960,7 +1960,7 @@
%</article|kiyou>
% \end{macrocode}
%
-% 次は book の場合です。
+% 次はbookの場合です。
%
% \begin{macrocode}
%<*book>
@@ -2412,7 +2412,7 @@
\begingroup \@svsechd \endgroup
\unskip
\@tempskipa #1\relax
- \hskip -\@tempskipa
+ \hskip -\@tempskipa\@inhibitglue
\else
\clubpenalty \@clubpenalty
\everypar{}%
@@ -2490,7 +2490,7 @@
%
% 見出し番号のカウンタです。
% |\newcounter| の第1引数が新たに作るカウンタです。
-% これは第2引数が増加するたびに 0 に戻されます。
+% これは第2引数が増加するたびに0に戻されます。
% 第2引数は定義済みのカウンタです。
%
% \begin{macrocode}
@@ -2698,7 +2698,7 @@
% 部の見出しを出力します。
% |\bfseries| を |\headfont| に変えました。
%
-% |book| クラス以外では |secnumdepth| が $-1$ より大きいとき
+% |book| クラス以外では |secnumdepth| が$-1$より大きいとき
% 部番号を付けます。
%
% \begin{macrocode}
@@ -2728,7 +2728,7 @@
%</!book>
% \end{macrocode}
%
-% |book| クラスでは |secnumdepth| が $-2$ より大きいとき部番号を付けます。
+% |book| クラスでは |secnumdepth| が$-2$より大きいとき部番号を付けます。
%
% \begin{macrocode}
%<*book>
@@ -2807,7 +2807,7 @@
%
% 章の最初のページスタイルは,全体が |empty| でなければ |plain| に
% します。
-% また,|\@topnum| を 0 にして,
+% また,|\@topnum| を0にして,
% 章見出しの上に図や表が来ないようにします。
%
% \begin{macrocode}
@@ -3005,13 +3005,13 @@
%
% \subsection{リスト環境}
%
-% 第 $k$ レベルのリストの初期化をするのが |\@list|$k$ です
+% 第$k$レベルのリストの初期化をするのが |\@list|$k$です
% ($k = \mathtt{i}, \mathtt{ii}, \mathtt{iii}, \mathtt{iv}$)。
-% |\@list|$k$ は |\leftmargin| を |\leftmargin|$k$ に設定します。
+% |\@list|$k$は |\leftmargin| を |\leftmargin|$k$に設定します。
%
% \begin{macro}{\leftmargini}
%
-% 二段組であるかないかに応じてそれぞれ 2em,2.5em でしたが,
+% 二段組であるかないかに応じてそれぞれ2em,2.5emでしたが,
% ここでは全角幅の2倍にしました。
%
% [2002-05-11] |3\zw| に変更しました。
@@ -3038,7 +3038,7 @@
% \begin{macro}{\leftmarginvi}
%
% |ii|,|iii|,|iv| は |\labelsep| と
-% それぞれ `(m)',`vii.',`M.' の幅との和より大きくする
+% それぞれ`(m)',`vii.',`M.'の幅との和より大きくする
% ことになっています。ここでは全角幅の整数倍に丸めました。
%
% \begin{macrocode}
@@ -3082,7 +3082,7 @@
% リスト環境の前に空行がある場合,
% |\parskip| と |\topsep| に |\partopsep| を
% 加えた値だけ縦方向の空白ができます。
-% 0 に改変しました。
+% 0に改変しました。
%
% \begin{macrocode}
\setlength\partopsep{\z@} % {2\p@ \@plus 1\p@ \@minus 1\p@}
@@ -3119,7 +3119,7 @@
% トップレベルの |itemize|,|enumerate| 環境でだけ
% 最初と最後に行送りの半分の空きが入るようになっていました。
%
-% [2004-09-27] |\topsep| のグルー $_{-0.1}^{+0.2}$ |\baselineskip|
+% [2004-09-27] |\topsep| のグルー$_{-0.1}^{+0.2}$ |\baselineskip|
% を思い切って外しました。
%
% \begin{macrocode}
@@ -3176,7 +3176,7 @@
% \paragraph{enumerate環境}
%
% |enumerate| 環境はカウンタ |enumi|,|enumii|,|enumiii|,
-% |enumiv| を使います。|enum|$n$ は第 $n$ レベルの番号です。
+% |enumiv| を使います。|enum|$n$は第$n$レベルの番号です。
%
% \begin{macro}{\theenumi}
% \begin{macro}{\theenumii}
@@ -3184,7 +3184,7 @@
% \begin{macro}{\theenumiv}
%
% 出力する番号の書式を設定します。
-% これらは\LaTeX 本体(\texttt{ltlists.dtx} 参照)で定義済みですが,
+% これらは\LaTeX 本体(\texttt{ltlists.dtx}参照)で定義済みですが,
% ここでは表し方を変えています。
% |\@arabic|,|\@alph|,|\@roman|,|\@Alph| はそれぞれ
% 算用数字,小文字アルファベット,小文字ローマ数字,大文字アルファベット
@@ -3228,7 +3228,7 @@
% \begin{macro}{\p@enumiii}
% \begin{macro}{\p@enumiv}
%
-% |\p@enum|$n$ は |\ref| コマンドで |enumerate| 環境の第 $n$ レベルの
+% |\p@enum|$n$は |\ref| コマンドで |enumerate| 環境の第$n$レベルの
% 項目が参照されるときの書式です。
% これも第2レベルは和文用かっこにしました。
%
@@ -3247,7 +3247,7 @@
% \begin{macro}{\labelitemii}
% \begin{macro}{\labelitemiii}
% \begin{macro}{\labelitemiv}
-% |itemize| 環境の第 $n$ レベルのラベルを作るコマンドです。
+% |itemize| 環境の第$n$レベルのラベルを作るコマンドです。
% \begin{macrocode}
\newcommand\labelitemi{\textbullet}
\newcommand\labelitemii{\normalfont\bfseries \textendash}
@@ -3416,7 +3416,7 @@
% \begin{environment}{quotation}
%
% 段落の頭の字下げ量を1.5emから |\parindent| に変えました。
-% また,右マージンを 0 にしました。
+% また,右マージンを0にしました。
%
% \begin{macrocode}
\newenvironment{quotation}{%
@@ -3977,7 +3977,7 @@
%
% \begin{macro}{\@dotsep}
%
-% 点の間隔です(単位 mu)。
+% 点の間隔です(単位mu)。
%
% \begin{macro}{\c@tocdepth}
%
@@ -4249,7 +4249,7 @@
% \begin{macro}{\bibindent}
%
% オープンスタイルの参考文献で使うインデント幅です。
-% 元は 1.5em でした。
+% 元は1.5emでした。
%
% \begin{macrocode}
\newdimen\bibindent
@@ -4328,7 +4328,7 @@
% \begin{macro}{\@cite}
% \begin{macro}{\@citex}
%
-% 文献の番号を出力する部分は \texttt{ltbibl.dtx} で定義されていますが,
+% 文献の番号を出力する部分は\texttt{ltbibl.dtx}で定義されていますが,
% コンマとかっこを和文フォントにするには次のようにします。
% とりあえずコメントアウトしておきましたので,必要に応じて生かしてください。
% かっこの前後に入るグルーを |\inhibitglue| で取っていますので,
@@ -4607,6 +4607,101 @@
% \end{macrocode}
% \end{macro}
%
+% \section{段落の頭へのグルー挿入禁止}
+%
+% 段落頭のかぎかっこなどを見かけ1字半下げから全角1字下げに直します。
+%
+% [2012-04-24] LuaTeX-jaではJFMに段落開始時の括弧類の字下げ幅をコントロール
+% する機能がありますが,|\item| 直後ではラベル用のボックスが段落先頭になる
+% ため,うまく働きませんでした.形を変えて復活させます.
+%
+% |\item| 命令の直後です。
+%
+% \begin{macrocode}
+\protected\def\@inhibitglue{\directlua{luatexja.jfmglue.create_beginpar_node()}}
+\def\@item[#1]{%
+ \if@noparitem
+ \@donoparitem
+ \else
+ \if@inlabel
+ \indent \par
+ \fi
+ \ifhmode
+ \unskip\unskip \par
+ \fi
+ \if@newlist
+ \if@nobreak
+ \@nbitem
+ \else
+ \addpenalty\@beginparpenalty
+ \addvspace\@topsep
+ \addvspace{-\parskip}%
+ \fi
+ \else
+ \addpenalty\@itempenalty
+ \addvspace\itemsep
+ \fi
+ \global\@inlabeltrue
+ \fi
+ \everypar{%
+ \@minipagefalse
+ \global\@newlistfalse
+ \if@inlabel
+ \global\@inlabelfalse
+ {\setbox\z@\lastbox
+ \ifvoid\z@
+ \kern-\itemindent
+ \fi}%
+ \box\@labels
+ \penalty\z@
+ \fi
+ \if@nobreak
+ \@nobreakfalse
+ \clubpenalty \@M
+ \else
+ \clubpenalty \@clubpenalty
+ \everypar{}%
+ \fi\@inhibitglue}%
+ \if@noitemarg
+ \@noitemargfalse
+ \if@nmbrlist
+ \refstepcounter\@listctr
+ \fi
+ \fi
+ \sbox\@tempboxa{\makelabel{#1}}%
+ \global\setbox\@labels\hbox{%
+ \unhbox\@labels
+ \hskip \itemindent
+ \hskip -\labelwidth
+ \hskip -\labelsep
+ \ifdim \wd\@tempboxa >\labelwidth
+ \box\@tempboxa
+ \else
+ \hbox to\labelwidth {\unhbox\@tempboxa}%
+ \fi
+ \hskip \labelsep}%
+ \ignorespaces}
+% \end{macrocode}
+%
+% |\@gnewline| についてはちょっと複雑な心境です。
+% もともとのp\LaTeXe は段落の頭にグルーが入る方で統一されていました。
+% しかし |\\| の直後にはグルーが入らず,不統一でした。
+% そこで |\\| の直後にもグルーを入れるように直していただいた経緯があります。
+% しかし,ここでは逆にグルーを入れない方で統一したいので,
+% また元に戻してしまいました。
+%
+% しかし単に戻すだけでも駄目みたいなので,ここでも最後にグルーを消しておきます。
+%
+% \begin{macrocode}
+\def\@gnewline #1{%
+ \ifvmode
+ \@nolnerr
+ \else
+ \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null
+ \inhibitglue \ignorespaces
+ \fi}
+% \end{macrocode}
+%
% \section{いろいろなロゴ}
%
% \LaTeX 関連のロゴを作り直します。
@@ -4630,7 +4725,7 @@
% \begin{macro}{\TeX}
% \begin{macro}{\LaTeX}
%
-% これらは \texttt{ltlogos.dtx} で定義されていますが,
+% これらは\texttt{ltlogos.dtx}で定義されていますが,
% TimesやHelveticaでも見栄えがするように若干変更しました。
%
% [2003-06-12] Palatinoも加えました(要調整)。
@@ -4758,7 +4853,7 @@
%
% |\LaTeXe| コマンドの |\mbox{\m@th ...| で始まる新しい定義では
% 直後の和文との間に |xkanjiskip| が入りません。また,
-% |mathptmx| パッケージなどと併用すると,最後の $\varepsilon$ が
+% |mathptmx| パッケージなどと併用すると,最後の$\varepsilon$が
% 下がりすぎてしまいます。そのため,ちょっと手を加えました。
%
% \begin{macrocode}
@@ -4786,7 +4881,7 @@
%
% \begin{macro}{\AmSTeX}
%
-% \texttt{amstex.sty} で定義されています。
+% \texttt{amstex.sty}で定義されています。
%
% \begin{macrocode}
\def\AmSTeX{\protect\AmS-\protect\TeX{}}
@@ -4797,7 +4892,7 @@
% \begin{macro}{\BibTeX}
% \begin{macro}{\SliTeX}
%
-% これらは \texttt{doc.dtx} から取ったものです。
+% これらは\texttt{doc.dtx}から取ったものです。
% ただし,|\BibTeX| だけはちょっと修正しました。
%
% \begin{macrocode}
diff --git a/Master/texmf-dist/source/luatex/luatexja/mk-rmlgbm-data.tex b/Master/texmf-dist/source/luatex/luatexja/mk-rmlgbm-data.tex
index d3b7cddf44b..fc0129a9380 100644
--- a/Master/texmf-dist/source/luatex/luatexja/mk-rmlgbm-data.tex
+++ b/Master/texmf-dist/source/luatex/luatexja/mk-rmlgbm-data.tex
@@ -3,11 +3,23 @@
\usepackage{luaotfload}
\usepackage{luacode}
-
\begin{luacode}
+-- only for debug
+function table_search(tbl, name, prefix)
+ for i,x in pairs(tbl) do
+ if string.match(i, name) then
+ print('found: entry' .. prefix .. '.' .. i)
+ elseif type(x) == 'string' and string.match(x, name) then
+ print('found: entry' .. prefix .. '.' .. i .. ' = ' .. x)
+ elseif type(x) == 'table' then
+ table_search(x, name, prefix .. '.' .. i)
+ end
+ end
+end
+
function mkrmlgbm(nonfilename,opfilename)
- local fontdata = containers.read(fonts.otf.cache, nonfilename)
-
+ local fontdata = containers.read(fonts.otf.cache, string.lower(nonfilename))
+
-- from fonts.otf.otf_to_tfm()
local tfmdata
fontdata.shared = fontdata.shared or {
@@ -62,18 +74,46 @@ function mkrmlgbm(nonfilename,opfilename)
tfmdata.cache = 'yes'
for k, v in pairs(tfmdata.characters) do
- tfmdata.characters[k].height = nil
+ v.height = nil
+ v.depth = nil
+ if v.width == 655360 then v.width = nil -- 全角
+ elseif v.width == 327680 then v.width = 327680 -- 半角
+ elseif v.width == 163840 then v.width = 163840 -- 1/4 角
+ elseif v.width == 218234.88 then v.width = 218234.88 -- 1/3 角
+ else v.width = nil
+ end
end
+ if fontdata then -- remove gpos data
+ local tmpt = fontdata.shared.featuredata
+ tmpt.gpos_single = {}
+ tmpt.gpos_pair = {}
+ tmpt.gpos_reversecontextchain = {}
+ tmpt.gpos_contextchain = {}
+ tmpt.gpos_cursive = {}
+ tmpt.gpos_mark2base = {}
+ tmpt.gpos_mark2ligature = {}
+ tmpt.gpos_mark2mark = {}
+ shared.otfdata.luatex.features.gpos = nil
+ shared.otfdata.luatex.features.pwid = nil
+ shared.otfdata.luatex.features.palt = nil
+ shared.otfdata.luatex.features.vkrn = nil
+ for i,x in pairs(tfmdata.shared.otfdata.luatex.sequences) do
+ if string.match(x.type,'gpos') then x.subtables = {} end
+ end
+ end
+
-- for luaotfload
- fontdata.pfminfo.os2_capheight = 0
-
+ if fontdata.pfminfo then
+ fontdata.pfminfo.os2_capheight = 0
+ end
+ --table_search(tfmdata, 'gpos', '')
table.tofile(opfilename, tfmdata, 'return', false, true, false)
end
-mkrmlgbm('AdobeMingStd-Light', 'luatexja-cid-std-adobe-cns1.lua')
-mkrmlgbm('AdobeSongStd-Light', 'luatexja-cid-std-adobe-gb1.lua')
-mkrmlgbm('KozMinPr6N-Regular', 'luatexja-cid-std-adobe-japan1.lua')
-mkrmlgbm('AdobeMyungjoStd-Medium', 'luatexja-cid-std-adobe-korea1.lua')
+mkrmlgbm('AdobeMingStd-Light', 'ltj-cid-adobe-cns1.lua')
+mkrmlgbm('AdobeSongStd-Light', 'ltj-cid-adobe-gb1.lua')
+mkrmlgbm('KozMinPr6N-Regular', 'ltj-cid-adobe-japan1.lua')
+mkrmlgbm('AdobeMyungjoStd-Medium', 'ltj-cid-adobe-korea1.lua')
\end{luacode}
\begin{document}
diff --git a/Master/texmf-dist/source/luatex/luatexja/tool/Blocks.txt b/Master/texmf-dist/source/luatex/luatexja/tool/Blocks.txt
deleted file mode 100644
index 50df2e1d311..00000000000
--- a/Master/texmf-dist/source/luatex/luatexja/tool/Blocks.txt
+++ /dev/null
@@ -1,240 +0,0 @@
-# Blocks-6.0.0.txt
-# Date: 2010-06-04, 11:12:00 PDT [KW]
-#
-# Unicode Character Database
-# Copyright (c) 1991-2010 Unicode, Inc.
-# For terms of use, see http://www.unicode.org/terms_of_use.html
-# For documentation, see http://www.unicode.org/reports/tr44/
-#
-# Note: The casing of block names is not normative.
-# For example, "Basic Latin" and "BASIC LATIN" are equivalent.
-#
-# Format:
-# Start Code..End Code; Block Name
-
-# ================================================
-
-# Note: When comparing block names, casing, whitespace, hyphens,
-# and underbars are ignored.
-# For example, "Latin Extended-A" and "latin extended a" are equivalent.
-# For more information on the comparison of property values,
-# see UAX #44: http://www.unicode.org/reports/tr44/
-#
-# All code points not explicitly listed for Block
-# have the value No_Block.
-
-# Property: Block
-#
-# @missing: 0000..10FFFF; No_Block
-
-0000..007F; Basic Latin
-0080..00FF; Latin-1 Supplement
-0100..017F; Latin Extended-A
-0180..024F; Latin Extended-B
-0250..02AF; IPA Extensions
-02B0..02FF; Spacing Modifier Letters
-0300..036F; Combining Diacritical Marks
-0370..03FF; Greek and Coptic
-0400..04FF; Cyrillic
-0500..052F; Cyrillic Supplement
-0530..058F; Armenian
-0590..05FF; Hebrew
-0600..06FF; Arabic
-0700..074F; Syriac
-0750..077F; Arabic Supplement
-0780..07BF; Thaana
-07C0..07FF; NKo
-0800..083F; Samaritan
-0840..085F; Mandaic
-0900..097F; Devanagari
-0980..09FF; Bengali
-0A00..0A7F; Gurmukhi
-0A80..0AFF; Gujarati
-0B00..0B7F; Oriya
-0B80..0BFF; Tamil
-0C00..0C7F; Telugu
-0C80..0CFF; Kannada
-0D00..0D7F; Malayalam
-0D80..0DFF; Sinhala
-0E00..0E7F; Thai
-0E80..0EFF; Lao
-0F00..0FFF; Tibetan
-1000..109F; Myanmar
-10A0..10FF; Georgian
-1100..11FF; Hangul Jamo
-1200..137F; Ethiopic
-1380..139F; Ethiopic Supplement
-13A0..13FF; Cherokee
-1400..167F; Unified Canadian Aboriginal Syllabics
-1680..169F; Ogham
-16A0..16FF; Runic
-1700..171F; Tagalog
-1720..173F; Hanunoo
-1740..175F; Buhid
-1760..177F; Tagbanwa
-1780..17FF; Khmer
-1800..18AF; Mongolian
-18B0..18FF; Unified Canadian Aboriginal Syllabics Extended
-1900..194F; Limbu
-1950..197F; Tai Le
-1980..19DF; New Tai Lue
-19E0..19FF; Khmer Symbols
-1A00..1A1F; Buginese
-1A20..1AAF; Tai Tham
-1B00..1B7F; Balinese
-1B80..1BBF; Sundanese
-1BC0..1BFF; Batak
-1C00..1C4F; Lepcha
-1C50..1C7F; Ol Chiki
-1CD0..1CFF; Vedic Extensions
-1D00..1D7F; Phonetic Extensions
-1D80..1DBF; Phonetic Extensions Supplement
-1DC0..1DFF; Combining Diacritical Marks Supplement
-1E00..1EFF; Latin Extended Additional
-1F00..1FFF; Greek Extended
-2000..206F; General Punctuation
-2070..209F; Superscripts and Subscripts
-20A0..20CF; Currency Symbols
-20D0..20FF; Combining Diacritical Marks for Symbols
-2100..214F; Letterlike Symbols
-2150..218F; Number Forms
-2190..21FF; Arrows
-2200..22FF; Mathematical Operators
-2300..23FF; Miscellaneous Technical
-2400..243F; Control Pictures
-2440..245F; Optical Character Recognition
-2460..24FF; Enclosed Alphanumerics
-2500..257F; Box Drawing
-2580..259F; Block Elements
-25A0..25FF; Geometric Shapes
-2600..26FF; Miscellaneous Symbols
-2700..27BF; Dingbats
-27C0..27EF; Miscellaneous Mathematical Symbols-A
-27F0..27FF; Supplemental Arrows-A
-2800..28FF; Braille Patterns
-2900..297F; Supplemental Arrows-B
-2980..29FF; Miscellaneous Mathematical Symbols-B
-2A00..2AFF; Supplemental Mathematical Operators
-2B00..2BFF; Miscellaneous Symbols and Arrows
-2C00..2C5F; Glagolitic
-2C60..2C7F; Latin Extended-C
-2C80..2CFF; Coptic
-2D00..2D2F; Georgian Supplement
-2D30..2D7F; Tifinagh
-2D80..2DDF; Ethiopic Extended
-2DE0..2DFF; Cyrillic Extended-A
-2E00..2E7F; Supplemental Punctuation
-2E80..2EFF; CJK Radicals Supplement
-2F00..2FDF; Kangxi Radicals
-2FF0..2FFF; Ideographic Description Characters
-3000..303F; CJK Symbols and Punctuation
-3040..309F; Hiragana
-30A0..30FF; Katakana
-3100..312F; Bopomofo
-3130..318F; Hangul Compatibility Jamo
-3190..319F; Kanbun
-31A0..31BF; Bopomofo Extended
-31C0..31EF; CJK Strokes
-31F0..31FF; Katakana Phonetic Extensions
-3200..32FF; Enclosed CJK Letters and Months
-3300..33FF; CJK Compatibility
-3400..4DBF; CJK Unified Ideographs Extension A
-4DC0..4DFF; Yijing Hexagram Symbols
-4E00..9FFF; CJK Unified Ideographs
-A000..A48F; Yi Syllables
-A490..A4CF; Yi Radicals
-A4D0..A4FF; Lisu
-A500..A63F; Vai
-A640..A69F; Cyrillic Extended-B
-A6A0..A6FF; Bamum
-A700..A71F; Modifier Tone Letters
-A720..A7FF; Latin Extended-D
-A800..A82F; Syloti Nagri
-A830..A83F; Common Indic Number Forms
-A840..A87F; Phags-pa
-A880..A8DF; Saurashtra
-A8E0..A8FF; Devanagari Extended
-A900..A92F; Kayah Li
-A930..A95F; Rejang
-A960..A97F; Hangul Jamo Extended-A
-A980..A9DF; Javanese
-AA00..AA5F; Cham
-AA60..AA7F; Myanmar Extended-A
-AA80..AADF; Tai Viet
-AB00..AB2F; Ethiopic Extended-A
-ABC0..ABFF; Meetei Mayek
-AC00..D7AF; Hangul Syllables
-D7B0..D7FF; Hangul Jamo Extended-B
-D800..DB7F; High Surrogates
-DB80..DBFF; High Private Use Surrogates
-DC00..DFFF; Low Surrogates
-E000..F8FF; Private Use Area
-F900..FAFF; CJK Compatibility Ideographs
-FB00..FB4F; Alphabetic Presentation Forms
-FB50..FDFF; Arabic Presentation Forms-A
-FE00..FE0F; Variation Selectors
-FE10..FE1F; Vertical Forms
-FE20..FE2F; Combining Half Marks
-FE30..FE4F; CJK Compatibility Forms
-FE50..FE6F; Small Form Variants
-FE70..FEFF; Arabic Presentation Forms-B
-FF00..FFEF; Halfwidth and Fullwidth Forms
-FFF0..FFFF; Specials
-10000..1007F; Linear B Syllabary
-10080..100FF; Linear B Ideograms
-10100..1013F; Aegean Numbers
-10140..1018F; Ancient Greek Numbers
-10190..101CF; Ancient Symbols
-101D0..101FF; Phaistos Disc
-10280..1029F; Lycian
-102A0..102DF; Carian
-10300..1032F; Old Italic
-10330..1034F; Gothic
-10380..1039F; Ugaritic
-103A0..103DF; Old Persian
-10400..1044F; Deseret
-10450..1047F; Shavian
-10480..104AF; Osmanya
-10800..1083F; Cypriot Syllabary
-10840..1085F; Imperial Aramaic
-10900..1091F; Phoenician
-10920..1093F; Lydian
-10A00..10A5F; Kharoshthi
-10A60..10A7F; Old South Arabian
-10B00..10B3F; Avestan
-10B40..10B5F; Inscriptional Parthian
-10B60..10B7F; Inscriptional Pahlavi
-10C00..10C4F; Old Turkic
-10E60..10E7F; Rumi Numeral Symbols
-11000..1107F; Brahmi
-11080..110CF; Kaithi
-12000..123FF; Cuneiform
-12400..1247F; Cuneiform Numbers and Punctuation
-13000..1342F; Egyptian Hieroglyphs
-16800..16A3F; Bamum Supplement
-1B000..1B0FF; Kana Supplement
-1D000..1D0FF; Byzantine Musical Symbols
-1D100..1D1FF; Musical Symbols
-1D200..1D24F; Ancient Greek Musical Notation
-1D300..1D35F; Tai Xuan Jing Symbols
-1D360..1D37F; Counting Rod Numerals
-1D400..1D7FF; Mathematical Alphanumeric Symbols
-1F000..1F02F; Mahjong Tiles
-1F030..1F09F; Domino Tiles
-1F0A0..1F0FF; Playing Cards
-1F100..1F1FF; Enclosed Alphanumeric Supplement
-1F200..1F2FF; Enclosed Ideographic Supplement
-1F300..1F5FF; Miscellaneous Symbols And Pictographs
-1F600..1F64F; Emoticons
-1F680..1F6FF; Transport And Map Symbols
-1F700..1F77F; Alchemical Symbols
-20000..2A6DF; CJK Unified Ideographs Extension B
-2A700..2B73F; CJK Unified Ideographs Extension C
-2B740..2B81F; CJK Unified Ideographs Extension D
-2F800..2FA1F; CJK Compatibility Ideographs Supplement
-E0000..E007F; Tags
-E0100..E01EF; Variation Selectors Supplement
-F0000..FFFFF; Supplementary Private Use Area-A
-100000..10FFFF; Supplementary Private Use Area-B
-
-# EOF \ No newline at end of file
diff --git a/Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeMingStd-Light.txt b/Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeMingStd-Light.txt
new file mode 100644
index 00000000000..21ef023c478
--- /dev/null
+++ b/Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeMingStd-Light.txt
@@ -0,0 +1,13 @@
+aalt Access All Alternates
+ccmp Glyph Composition/Decomposition
+cpct <unknown feature>
+dlig Discretionary Ligatures
+fwid Full Widths
+halt Alternate Half Widths
+hwid Half Widths
+liga Standard Ligatures
+nalt Alternate Annotation Forms
+pwid Proportional Widths
+vert Vertical Writing
+vhal Alternate Vertical Half Metrics
+vrt2 Vertical Alternates and Rotation
diff --git a/Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeMyungjoStd-Medium.txt b/Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeMyungjoStd-Medium.txt
new file mode 100644
index 00000000000..d2c7a22d150
--- /dev/null
+++ b/Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeMyungjoStd-Medium.txt
@@ -0,0 +1,13 @@
+aalt Access All Alternates
+dlig Discretionary Ligatures
+fwid Full Widths
+halt Alternate Half Widths
+hngl Hangul
+hwid Half Widths
+nalt Alternate Annotation Forms
+pwid Proportional Widths
+sinf Scientific Inferiors
+sups Superscript
+vert Vertical Writing
+vhal Alternate Vertical Half Metrics
+vrt2 Vertical Alternates and Rotation
diff --git a/Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeSongStd-Light.txt b/Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeSongStd-Light.txt
new file mode 100644
index 00000000000..7bbdc3666d7
--- /dev/null
+++ b/Master/texmf-dist/source/luatex/luatexja/tool/otf-AdobeSongStd-Light.txt
@@ -0,0 +1,12 @@
+aalt Access All Alternates
+cpct <unknown feature>
+dlig Discretionary Ligatures
+fwid Full Widths
+halt Alternate Half Widths
+hwid Half Widths
+nalt Alternate Annotation Forms
+pwid Proportional Widths
+trad Traditional Forms
+vert Vertical Writing
+vhal Alternate Vertical Half Metrics
+vrt2 Vertical Alternates and Rotation
diff --git a/Master/texmf-dist/source/luatex/luatexja/tool/otf-KozMinPr6N-Regular.txt b/Master/texmf-dist/source/luatex/luatexja/tool/otf-KozMinPr6N-Regular.txt
new file mode 100644
index 00000000000..04b027baa27
--- /dev/null
+++ b/Master/texmf-dist/source/luatex/luatexja/tool/otf-KozMinPr6N-Regular.txt
@@ -0,0 +1,38 @@
+aalt Access All Alternates
+afrc Alternative Fractions
+ccmp Glyph Composition/Decomposition
+dlig Discretionary Ligatures
+dnom Denominators
+expt Expert Forms
+frac Fractions
+fwid Full Widths
+halt Alternate Half Widths
+hkna Horizontal Kana Alternates
+hojo <unknown feature>
+hwid Half Widths
+ital Italics
+jp78 JIS78 Forms
+jp83 JIS83 Forms
+jp90 JIS90 Forms
+kern Kerning
+liga Standard Ligatures
+nalt Alternate Annotation Forms
+nlck NLC Kanji Forms
+numr Numerators
+palt Proportional Alternate Widths
+pkna <unknown feature>
+pwid Proportional Widths
+qwid Quarter Widths
+ruby Ruby Notation Forms
+sinf Scientific Inferiors
+subs Subscript
+sups Superscript
+trad Traditional Forms
+twid Third Widths
+vert Vertical Writing
+vhal Alternate Vertical Half Metrics
+vkna Vertical Kana Alternates
+vkrn Vertical Kerning
+vpal Proportional Alternate Vertical Metrics
+vrt2 Vertical Alternates and Rotation
+zero Slashed Zero
diff --git a/Master/texmf-dist/source/luatex/luatexja/tool/unicodeBlocks.tex b/Master/texmf-dist/source/luatex/luatexja/tool/unicodeBlocks.tex
index 204b242b7fe..8c7407df04f 100644
--- a/Master/texmf-dist/source/luatex/luatexja/tool/unicodeBlocks.tex
+++ b/Master/texmf-dist/source/luatex/luatexja/tool/unicodeBlocks.tex
@@ -1,3 +1,4 @@
+% based on Unicode blocks Blocks-6.0.0.txt
\defcharrange{1}{"0000-"007F} % Basic Latin
\defcharrange{2}{"0080-"00FF} % Latin-1 Supplement
\defcharrange{3}{"0100-"017F} % Latin Extended-A