From 37790d770bf6f565c1520a99adbd2dc8533dba7c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 29 Mar 2018 21:44:42 +0000 Subject: bxjscls (29mar18) git-svn-id: svn://tug.org/texlive/trunk@47174 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/bxjscls/LICENSE | 2 +- Master/texmf-dist/doc/latex/bxjscls/README-ja.md | 3 + Master/texmf-dist/doc/latex/bxjscls/README.md | 4 +- .../doc/latex/bxjscls/bxjscls-manual.tex | 65 ++++++----- Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx | 119 ++++++++++++++------- .../texmf-dist/tex/latex/bxjscls/bxjsarticle.cls | 20 ++-- Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls | 26 +++-- Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty | 2 +- Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty | 2 +- .../tex/latex/bxjscls/bxjsja-minimal.def | 2 +- .../texmf-dist/tex/latex/bxjscls/bxjsja-modern.def | 2 +- .../texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def | 2 +- .../tex/latex/bxjscls/bxjsja-standard.def | 2 +- Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty | 2 +- Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls | 22 ++-- Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls | 20 ++-- 16 files changed, 179 insertions(+), 116 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/latex/bxjscls/LICENSE b/Master/texmf-dist/doc/latex/bxjscls/LICENSE index a99e300ec4a..bfe87d10be7 100644 --- a/Master/texmf-dist/doc/latex/bxjscls/LICENSE +++ b/Master/texmf-dist/doc/latex/bxjscls/LICENSE @@ -2,7 +2,7 @@ The BSD 2-Clause License Copyright 1995-1999 ASCII Corporation. Copyright 1999-2016 Haruhiko Okumura -Copyright 2016-2017 Japanese TeX Development Community +Copyright 2016-2018 Japanese TeX Development Community Copyright 2013-2018 Takayuki YATO (aka. "ZR") All rights reserved. diff --git a/Master/texmf-dist/doc/latex/bxjscls/README-ja.md b/Master/texmf-dist/doc/latex/bxjscls/README-ja.md index 1ec1be6b1e6..5359cb1de96 100644 --- a/Master/texmf-dist/doc/latex/bxjscls/README-ja.md +++ b/Master/texmf-dist/doc/latex/bxjscls/README-ja.md @@ -98,6 +98,9 @@ XeLaTeX / LuaLaTeX の上でも日本語処理パッケージと連携して使 更新履歴 -------- + * Version 1.8a 〈2018/03/29〉 + - jsclasses の 2018/03/11 と同期。(仕様変更は無し。) + - バグ修正。 * Version 1.8 〈2018/03/03〉 - `textwidth`、`number-of-lines` オプションを新設。 - `\setpagelayout+` 命令をを新設。 diff --git a/Master/texmf-dist/doc/latex/bxjscls/README.md b/Master/texmf-dist/doc/latex/bxjscls/README.md index a62411847a1..46d2518bf0a 100644 --- a/Master/texmf-dist/doc/latex/bxjscls/README.md +++ b/Master/texmf-dist/doc/latex/bxjscls/README.md @@ -30,7 +30,7 @@ packages that provide capability of Japanese typesetting. - On LuaLaTeX: LuaTeX-ja * Other packages required on occasion: - - type1cm: when `magstyle` is `real`/`xreal` + - type1cm: when `magstyle` is `nomag`/`nomag*` - pxchfon (v0.5+): when `jafont` is used on pLaTeX - zxjafont (v0.2a+): when `jafont` is used on XeLaTeX * When you use ja-drivers other than standard, you generally need @@ -88,6 +88,8 @@ This package is distributed under the BSD 2-Clause License. Revision History ---------------- + * Version 1.8a 〈2018/03/29〉 + - Sync with jsclasses 2018/03/11. * Version 1.8 〈2018/03/03〉 * Version 1.7c 〈2018/02/04〉 * Version 1.7b 〈2018/01/28〉 diff --git a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex index e61678ff65a..76c51593fb0 100644 --- a/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex +++ b/Master/texmf-dist/doc/latex/bxjscls/bxjscls-manual.tex @@ -12,14 +12,15 @@ \renewcommand*{\XeLaTeX}{XeLaTeX}} \usepackage{shortvrb} \MakeShortVerb{\|} -\newcommand{\PkgVersion}{v1.8} -\newcommand{\PkgDate}{2018/03/03} +\newcommand{\PkgVersion}{v1.8a} +\newcommand{\PkgDate}{2018/03/29} \newcommand{\Pkg}[1]{\textsf{#1}} \newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$} \newcommand{\Note}{\par\noindent ※} \newcommand{\Means}{:\ } \newcommand{\jemph}{\textsf} \newcommand{\wbr}{\linebreak[0]} +\newcommand{\xast}{\mbox{}\mbox{$^*$}} \providecommand{\pTeX}{p\TeX} \providecommand{\pLaTeX}{p\LaTeX} \providecommand{\upTeX}{u\pTeX} @@ -530,6 +531,20 @@ dvipdfmx mydoc \section{クラスオプション} \label{sec:Class-Option} +一般的な値の書式についての注意\Means +\begin{itemize} +\item 真偽値は、 |true|(真)または |false|(偽)で指定する。 +\item 長さ値および整数値は\Pkg{calc}パッケージの式で指定できる。 +\item \Meta{長さ\xast}のように“\xast”のついたパラメタについては、 + \Pkg{calc}の長さ式の代わりに、和文用単位(|Q|、|H|、|zw|、|zh|) + 付きの実数値で指定することもできる + \footnote{この機能は |units| 和文パラメタとは無関係である。 + 和文用単位を含む長さ式は((u){\pLaTeX}以外では)使えない。 + なお、ここで使われる |zw| は常に((u){\pLaTeX}でも) + “規約上の全角幅”(|\jsZw|)を指す + (和文フォント設定が未完了のため)。}。 +\end{itemize} + %------------------- \subsection{BXJSクラスに特有のオプション} \label{ssec:BXJS-specific-option} @@ -628,8 +643,7 @@ JSクラスには無くBXJSクラスで追加されたクラスオプション 詳しくは\ref{sec:Ja-Driver-Param}節を参照。 \Note |jafont| と |japaram| の値がどのように解釈されるかは 和文ドライバの仕様次第である。 -% minimal和文ドライバではこの2つの値は全く参照されない。 -\item |base=|\Meta{長さ}\Means +\item |base=|\Meta{長さ\xast}\Means 基底フォントサイズ(|\normalsize| のフォントのサイズ)を指定する。 JSクラスの |10pt|、|11pt| 等と同じ役割で、任意の値を指定できる。 基底フォントサイズの既定値は10\,ptである。 @@ -638,26 +652,20 @@ JSクラスには無くBXJSクラスで追加されたクラスオプション |14pt| は 14.4\,pt が実際の設定値である。 \footnote{これは昔の{\LaTeX}の“magstep”の習慣に由来する。}% これに対して |base=14pt| は文字通り14\,ptを設定する。 - \Note \Meta{長さ}には\Pkg{calc}パッケージの式が使用できる。 - この他に、特別に、(u){\pLaTeX}以外のエンジンでも |11Q| の - ようにQ単位で指定することができる - (この場合は“\Meta{実数}|Q|”の形に限られ式は使えない)。 - \footnote{なお、(u){\pLaTeX}ではエンジンが単位 |Q| をサポート - するので、|11Q| も |10Q+1Q| も\Pkg{calc}の式として受け付けられる。} -\item |jbase=|\Meta{長さ}\Means +\item |jbase=|\Meta{長さ\xast}\Means 和文を基準にして基底フォントサイズを指定する。 すなわち和文フォントの |\normalsize| のサイズを指定の長さとする。 \footnote{この場合に決定されるmag値は和文スケール値にも依存する ことに注意。}% - \Note \Meta{長さ}の書式は |base| オプションと同様。 + \Note 1.8版から、|base| と |jbase| の両方の指定が可能になった。 + この場合、和文スケール値がそれらに基づいて決定される + (|scale| 指定は無効になる)。 \item |scale=|\Meta{実数}\Means 和文スケール値を設定する。 既定値は 0.924715(= 13\,Q/10\,pt)である。 \footnote{これはJSクラスの設計に基づく値である。 ただし実装の都合で、JSクラスの実際のスケール値はこれから 僅かだけずれている。}% -\item |noscale|\Means - |scale=1| と同値。 \item |paper={|\Meta{横幅}|}{|\Meta{縦幅}|}|\Means 用紙サイズ設定。 |a4paper| 等と同じ役割で、任意の値を指定できる。 @@ -671,9 +679,6 @@ JSクラスには無くBXJSクラスで追加されたクラスオプション 既定値が有効・無効の何れになるかは異なり、また、 そもそも有効・無効の一方しか選択できない場合もある。 詳細については\ref{sec:Ja-math-fonts}節を参照されたい。 -\item |disablejfam|\Means - |enablejfam=false| と同値。 - \Note JSクラスとの互換のため存在する。 \item |textwidth=|\Meta{長さ}\Means 行長(本文領域の横幅;|\textwidth|)を指定する。 \begin{itemize} @@ -770,8 +775,7 @@ JSクラスには無くBXJSクラスで追加されたクラスオプション \item |nooldfontcommands|(既定)\Means “二文字フォント命令”の使用に対して警告を出す。 詳細については\ref{sec:Old-font-commands}節を参照されたい。 -\item |fancyhdr=|\Meta{真偽値}% -\footnote{真偽値は |true|(真)または |false|(偽)で指定する。}\Means +\item |fancyhdr=|\Meta{真偽値}\Means \Pkg{fancyhdr}パッケージの機能に対する補正を行うか。 真の場合、以下の補正が行われる。既定値は真。 \begin{itemize} @@ -879,6 +883,9 @@ JSクラスには無くBXJSクラスで追加されたクラスオプション \item |jadriver=|\Meta{名前}\Means |ja=|\Meta{名前} と同値(和文ドライバ指定)。 \Note 1.0版より前で使われた。 +\item |noscale|\Means + |scale=1| と同値。 + \Note 0.9版より前で使われた。 \end{itemize} %------------------- @@ -1203,10 +1210,12 @@ BXJSクラスではページレイアウトの設定に\Pkg{geometry}パッケ \label{itm:pl-param} \begin{enumerate} \item - クラスオプションで指定された用紙サイズ、および|truedimen|。 + クラスオプションで指定された用紙サイズ、 + および|truedimen| とドライバ指定。 \label{itm:pl-parama} \item \Pkg{bxjsarticle}/\Pkg{bxjsreport}の場合は次のパラメタ値。 + \label{itm:pl-paramb} \begin{quote}\small\begin{verbatim} headheight=10pt, footskip=0.03367\paperheight, headsep=\footskip-\topskip, includeheadfoot, @@ -1214,6 +1223,7 @@ hscale=0.76, hmarginratio=1:1, vscale=0.83, vmarginratio=1:1 \end{verbatim}\end{quote} \item \Pkg{bxjsbook}の場合は次のパラメタ値。% + \label{itm:pl-paramc} \begin{quote}\small\begin{verbatim} headheight=10pt, headsep=6mm, nofoot, includeheadfoot, hmargin=18mm, vscale=0.83, vmarginratio=1:1 @@ -1227,6 +1237,7 @@ hmargin=18mm, vscale=0.83, vmarginratio=1:1 クラスオプションに |layout=v1| を指定してほしい。 \item \Pkg{bxjsslide}の場合は次のパラメタ値。 + \label{itm:pl-paramd} \begin{quote}\small\begin{verbatim} noheadfoot, hscale=0.9, hmarginratio=1:1, vscale=0.944, vmarginratio=1:1 @@ -1252,12 +1263,16 @@ vscale=0.944, vmarginratio=1:1 再び\ref{itm:pl-post}の後処理が行われる。 \item |\setpagelayout*{|\Meta{設定}|}|\Means 用紙以外の設定をリセットして改めてページレイアウトの設定を行う。 - 具体的には、\ref{itm:pl-parama}と\Meta{設定}の - 内容を用いて\Pkg{geometry}が再設定を行った後、 + 具体的には、まず\Pkg{geometry}の |reset| オプションで初期化し、 + その後\ref{itm:pl-parama}と\Meta{設定}の + 内容を用いて再設定を行った後、 再び\ref{itm:pl-post}の後処理が行われる。 \item |\setpagelayout+{|\Meta{設定}|}|\Means |\setpagelayout*| の変種で、「本文領域のサイズと位置」の設定のみを リセットして改めてページレイアウトの設定を行う。 + すなわち、前項の“再設定”の際に、 + \ref{itm:pl-paramb}~\ref{itm:pl-paramd}の内容のうち + 「本文領域」以外のものが追加される。 \end{itemize} なお、|\geometry| 命令を直接呼び出すことも可能である。 @@ -1426,14 +1441,12 @@ standard和文ドライバ(およびそれを継承するドライバ)では \footnote{ただし、standard和文ドライバで自動的に読み込まれる \Pkg{zxjatype}や\Pkg{bxcjkjatype}のパッケージは、 それ自体が同様の機能の |\>| を提供することにも注意を要する。} -\item |\jachar{|\Meta{文字1つ}|]|\Means +\item |\jachar{|\Meta{文字1つ}|}|\Means 指定の文字を和文文字として(現在の和文フォントで)出力する。 -\item |\jafontsize{|\Meta{フォントサイズ}|}{|\Meta{行送り}|}|\Means +\item |\jafontsize{|\Meta{フォントサイズ\xast}|}{|\Meta{行送り\xast}|}|\Means “和文規準”でフォントサイズを指定する。 すなわち、和文の1\,zwが\Meta{フォントサイズ}と等しくなるように フォントサイズを設定する。 - \Note 命令の引数の長さ指定ではエンジンの種類に関わらず |Q|/|H| - の単位が使用できる。 \item 和文数式フォント命令\Means JSクラスと同様に、 |\mathmc| で「明朝」、|\mathgt| で「ゴシック」の diff --git a/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx b/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx index 20f53aab985..91972cfbeb0 100644 --- a/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx +++ b/Master/texmf-dist/source/latex/bxjscls/bxjscls.dtx @@ -31,7 +31,7 @@ % % Copyright 1995-1999 ASCII Corporation. % Copyright 1999-2016 Haruhiko Okumura -% Copyright 2016-2017 Japanese TeX Development Community +% Copyright 2016-2018 Japanese TeX Development Community % % Copyright 2013-2018 Takayuki YATO (aka. "ZR") % @@ -56,7 +56,9 @@ %<*driver> \ProvidesFile{bxjscls.dtx} % - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] +% based on jsclasses [2018/03/11] +% [2018/03/03 v1.8 BXJS document classes] % [2018/02/04 v1.7c BXJS document classes] % [2018/01/28 v1.7b BXJS document classes] % [2017/12/09 v1.7a BXJS document classes] @@ -684,7 +686,7 @@ % \pLaTeXe の \texttt{b5paper} % は $257\,\mathrm{mm} \times 182\,\mathrm{mm}$ になっています。 % ここでは\pLaTeXe にならってJISに従いました。 -% +% % デフォルトは \texttt{a4paper} です。 % % \texttt{b5var}(B5変形,182mm×230mm), @@ -1088,10 +1090,18 @@ % % \paragraph{和文フォントメトリックの選択} % -% ここでは新しい \texttt{jis} フォントメトリックを標準で使いますが, -% 古い \texttt{min10},\texttt{goth10} などを使いたいときは \texttt{mingoth} -% というオプションを指定します。 -% また,\texttt{winjis} オプションで \texttt{winjis} メトリックが使えます。 +% このクラスファイルでは,和文TFMとして東京書籍印刷の小林肇さんの +% 作られたJISフォントメトリック(\texttt{jis},\texttt{jisg}) +% を標準で使うことにしますが, +% 従来の \texttt{min10},\texttt{goth10} などを使いたいときは +% \texttt{mingoth} というオプションを指定します。 +% また,\texttt{winjis} オプションで \texttt{winjis} メトリック +% (OTFパッケージと同じpsitauさん作;ソースに書かれたWindowsの +% 機種依存文字がdvips, dvipdfmxなどで出力出来るようになる)が使えます。 +% +% [2018-02-04] \texttt{winjis} オプションはコッソリ削除しました。 +% 代替として,同等なものをパッケージ化(winjis.sty)して, +% GitHubにはコッソリ置いておきます。 % % \begin{ZRnote} % BXJSクラスではここは和文ドライバの管轄。 @@ -1139,7 +1149,7 @@ % BXJSでは当初から |bxjsreport| クラスが用意されている。 % \end{ZRnote} % -% \paragraph{jslogoパッケージの読み込み} +% \paragraph{\texttt{jslogo}パッケージの読み込み} % % \LaTeX 関連のロゴを再定義する\texttt{jslogo}パッケージを % 読み込まないオプション\texttt{nojslogo}を新設しました。 @@ -1601,7 +1611,7 @@ \define@key{bxjs}{scale}{% \edef\bxjs@scale@opt{#1}% \let\jsScale\bxjs@scale@opt} -\define@key{bxjs}{jsfontscale}{\setkeys{bxjs}{scale=#1}} +\define@key{bxjs}{jafontscale}{\setkeys{bxjs}{scale=#1}} % \end{macrocode} % % |noscale| オプションの処理。 @@ -1945,8 +1955,7 @@ % % \end{ZRnote} % -% デフォルトのオプションを実行し,|dvi| ファイルの先頭にdvipsのpapersize -% specialを書き込みます。このspecialはdvipsや最近のdvioutが対応しています。 +% デフォルトのオプションを実行します。 % |multicols| や |url| を |\RequirePackage| するのはやめました。 % % \begin{macrocode} @@ -2024,8 +2033,9 @@ % up\LaTeX の場合は,グローバルオプションに |uplatex| を追加することで, % 自動判定に応じて |otf| パッケージにも |uplatex| オプションが渡るようにします。 % -% \begin{macrocode} -% \end{macrocode} +% \begin{ZRnote} +% ここのコードを削除。 +% \end{ZRnote} % % [2016-11-11] p\LaTeX の場合は,オプション |uplatex| が指定されていれば必ずエラーを出します。 % |autodetect-engine| が有効になっていてもエラーを出しますが,これは |otf| パッケージに @@ -2303,8 +2313,13 @@ % % \paragraph{papersizeスペシャルの出力} % -% dvipsのpapersizeスペシャルを出力します。 -% これでdvipsや新しいdvioutで出力領域が自動設定できます。 +% |dvi| ファイルの先頭にdvipsのpapersize specialを書き込むことで, +% 出力用紙サイズを設定します。これはdvipdfmxや最近のdvioutにも有効です。 +% どうやらpapersize specialにはtrue付の単位は許されず,かつ単位は +% 常にtrueなものと扱われるようです。 +% そこで,後で出てくる(☆)の部分,「|\mag|にあわせてスケール」よりも +% 手前で実行しておくことになります。 +% % トンボの付いたときの用紙サイズは無意味ですが, % いわゆる「ノビ」サイズという縦横1インチずつ長い用紙に出力することを考えて, % 1インチずつ加えました。 @@ -2542,6 +2557,8 @@ % \end{macro} % \end{macro} % +% |\paperwidth|,|\paperheight|を|\mag|にあわせてスケールしておきます(☆)。 +% % [2016-07-11] 新しく追加した|\stockwidth|,|\stockheight|も|\mag|にあわせて % スケールします。 % @@ -2896,10 +2913,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{ZRnote} @@ -2929,7 +2946,7 @@ % \begin{macro}{\footnotesize} % % |\footnotesize| も同様です。 -% |\topsep| と |\parsep| は,元はそれぞれ $3 \pm 1$,$2 \pm 1$ +% |\topsep| と |\parsep| は,元はそれぞれ$3 \pm 1$,$2 \pm 1$ % ポイントでしたが,ここではゼロ(|\z@|)にしました。 % % \begin{macrocode} @@ -3041,7 +3058,7 @@ % \begin{macrocode} %\setlength\columnsep{2\Cwd} %\setlength\columnsep{28truebp} -\setlength\columnseprule{0\jsc@mpt} +\setlength\columnseprule{\z@} % \end{macrocode} % \end{macro} % \end{macro} @@ -3093,7 +3110,7 @@ % |\parindent| は段落の先頭の字下げ幅です。 % % \begin{macrocode} -\setlength\parskip{0\jsc@mpt} +\setlength\parskip{\z@} \if@slide \setlength\parindent{0\p@} \else @@ -3132,7 +3149,7 @@ % \begin{macro}{\brokenpenalty} % % ページの最後の行がハイフンで終わる際のペナルティです。 -% デフォルトは 100 です。 +% デフォルトは100です。 % % \begin{macrocode} % \brokenpenalty 100 @@ -3271,11 +3288,15 @@ % |geometry| の後処理。 % \begin{macrocode} \def\bxjs@postproc@layout{% -% ドライバ再設定 +% \end{macrocode} +% |geometry| のドライバを再設定する。 +% \begin{macrocode} \ifx\bxjs@geometry@driver\relax\else \let\Gm@driver\bxjs@geometry@driver \fi -% textwidth 調整 +% \end{macrocode} +% |\textwidth| の値を補正する。 +% \begin{macrocode} \ifbxjs@whole@zw@lines \@tempdimb=\textwidth \if@twocolumn \@tempdima=2\Cwd \else \@tempdima=1\Cwd \fi @@ -3286,17 +3307,27 @@ \advance\evensidemargin 0.5\@tempdimb \fi \fullwidth=\textwidth +% \end{macrocode} +% |bxjsbook| の場合は、|geometry| が設定した |\textwidth| は |\fullwidth| と +% して扱い、その値から実際の |\textwidth| を導出する。 +% \begin{macrocode} %<*book> \@tempdima=\jsTextWidthLimit\Cwd \ifx\bxjs@textwidth@opt\@undefined\else \jsSetQHLength\@tempdima{\bxjs@textwidth@opt} + \ifbxjs@whole@zw@lines + \advance\@tempdima.005pt\relax + \divide\@tempdima\Cwd \multiply\@tempdima\Cwd + \fi \fi \ifdim\textwidth>\@tempdima \textwidth=\@tempdima \addtolength\evensidemargin{\fullwidth-\textwidth} \fi % -% textheight 調整 +% \end{macrocode} +% |\textheight| 関連の調整。 +% \begin{macrocode} \@tempdimb=\textheight \advance\textheight-\topskip \advance\textheight.005pt\relax @@ -3304,11 +3335,15 @@ \advance\textheight\topskip \advance\@tempdimb-\textheight \advance\topmargin0.5\@tempdimb -% headheight 調整 +% \end{macrocode} +% |\headheight| 関連の調整。 +% \begin{macrocode} \@tempdima=\topskip \advance\headheight\@tempdima \advance\topmargin-\@tempdima -% marginpar 設定 +% \end{macrocode} +% marginpar関連の調整。 +% \begin{macrocode} \setlength\marginparsep{\columnsep} \setlength\marginparpush{\baselineskip} \setlength\marginparwidth{\paperwidth-\oddsidemargin-1truein% @@ -3316,7 +3351,9 @@ \ifbxjs@whole@zw@lines \divide\marginparwidth\Cwd \multiply\marginparwidth\Cwd \fi -% 連動する変数 +% \end{macrocode} +% 連動する変数。 +% \begin{macrocode} \maxdepth=.5\topskip \stockwidth=\paperwidth \stockheight=\paperheight @@ -4111,6 +4148,7 @@ % \item|\pltx@cleartoevenpage|:偶数ページになるまでページを繰る命令 % \end{enumerate} % となっています。 +% % \begin{macrocode} %\def\pltx@cleartorightpage{\clearpage\if@twoside % \ifodd\c@page @@ -4181,7 +4219,7 @@ % ページスタイルとして,\LaTeXe (欧文版)の標準クラス % では |empty|,|plain|,|headings|,|myheadings| があります。 % このうち |empty|,|plain| スタイルは\LaTeXe 本体 -% で定義されています。 +% で定義されています。 % % アスキーのクラスファイルでは |headnombre|,|footnombre|, % |bothstyle|,|jpl@in| が追加されていますが, @@ -5879,7 +5917,7 @@ \begin{list}{}{% \listparindent=1\jsZw \itemindent=\listparindent - \rightmargin=\z@ + \rightmargin=0pt \leftmargin=5\jsZw}\item[]}{\end{list}\vspace{\baselineskip}} % % \end{macrocode} @@ -6422,8 +6460,8 @@ % \begin{macrocode} %<*!jspf> % \long\def\@makecaption#1#2{{\small -% \advance\leftskip 10\jsc@mmm -% \advance\rightskip 10\jsc@mmm +% \advance\leftskip10\jsc@mmm +% \advance\rightskip10\jsc@mmm % \vskip\abovecaptionskip % \sbox\@tempboxa{#1\hskip1\jsZw\relax #2}% % \ifdim \wd\@tempboxa >\hsize @@ -7228,7 +7266,8 @@ % \begin{macro}{\footnote} % \begin{macro}{\footnotemark} % -% 和文の句読点・閉じかっこ類の直後で用いた際に余分なアキが入るのを防ぐため, +% 和文の句読点・閉じかっこ類の直後で用いた際に +% 余分なアキが入るのを防ぐため, % |\inhibitglue| を入れることにします。 % p\LaTeX の日付が2016/09/03より新しい場合は,このパッチが不要なのであてません。 % @@ -7291,7 +7330,7 @@ % 「注1」の形式にするには次のようにしてください。 % % \begin{macrocode} -% \def\thefootnote{\ifnum\c@footnote>\z@注\kern0.1\jsZw\@arabic\c@footnote\fi} +% \def\thefootnote{\ifnum\c@footnote>\z@ 注\kern0.1\jsZw\@arabic\c@footnote\fi} % \end{macrocode} % % \end{macro} @@ -7336,6 +7375,8 @@ % ^^A |\ifx\pltx@foot@penalty\@undefined\else ... \fi| % ^^A 条件の内側に置いておくのが安全。 % +% [2018-03-11] |\next|などいくつかの内部命令を |\jsc@...| 付きの +% ユニークな名前にしました。 % \begin{macrocode} \long\def\@footnotetext{% \insert\footins\bgroup @@ -7350,12 +7391,12 @@ \color@begingroup \@makefntext{% \rule\z@\footnotesep\ignorespaces}% - \futurelet\next\fo@t} -\def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t - \else \let\next\f@t\fi \next} -\def\f@@t{\bgroup\aftergroup\@foot\let\next} -\def\f@t#1{#1\@foot} -\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup + \futurelet\jsc@next\jsc@fo@t} +\def\jsc@fo@t{\ifcat\bgroup\noexpand\jsc@next \let\jsc@next\jsc@f@@t + \else \let\jsc@next\jsc@f@t\fi \jsc@next} +\def\jsc@f@@t{\bgroup\aftergroup\jsc@@foot\let\jsc@next} +\def\jsc@f@t#1{#1\jsc@@foot} +\def\jsc@@foot{\@finalstrut\strutbox\color@endgroup\egroup \ifx\pltx@foot@penalty\@undefined\else \ifhmode\null\fi \ifnum\pltx@foot@penalty=\z@\else diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls index 5fad2575f07..6539e7729df 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsarticle.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsarticle} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsarticle} \newif\ifjsc@needsp@tch @@ -473,7 +473,7 @@ \define@key{bxjs}{scale}{% \edef\bxjs@scale@opt{#1}% \let\jsScale\bxjs@scale@opt} -\define@key{bxjs}{jsfontscale}{\setkeys{bxjs}{scale=#1}} +\define@key{bxjs}{jafontscale}{\setkeys{bxjs}{scale=#1}} \DeclareOption{noscale}{\setkeys{bxjs}{scale=1}} \let\bxjs@param@mag\relax \define@key{bxjs}{mag}{\edef\bxjs@param@mag{#1}} @@ -999,13 +999,13 @@ \everydisplay=\expandafter{\the\everydisplay \narrowbaselines} \newcommand{\headfont}{\sffamily} \setlength\columnsep{2\Cwd} -\setlength\columnseprule{0\jsc@mpt} +\setlength\columnseprule{\z@} \setlength\lineskip{1\jsc@mpt} \setlength\normallineskip{1\jsc@mpt} \setlength\lineskiplimit{1\jsc@mpt} \setlength\normallineskiplimit{1\jsc@mpt} \renewcommand{\baselinestretch}{} -\setlength\parskip{0\jsc@mpt} +\setlength\parskip{\z@} \if@slide \setlength\parindent{0\p@} \else @@ -2088,12 +2088,12 @@ \color@begingroup \@makefntext{% \rule\z@\footnotesep\ignorespaces}% - \futurelet\next\fo@t} -\def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t - \else \let\next\f@t\fi \next} -\def\f@@t{\bgroup\aftergroup\@foot\let\next} -\def\f@t#1{#1\@foot} -\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup + \futurelet\jsc@next\jsc@fo@t} +\def\jsc@fo@t{\ifcat\bgroup\noexpand\jsc@next \let\jsc@next\jsc@f@@t + \else \let\jsc@next\jsc@f@t\fi \jsc@next} +\def\jsc@f@@t{\bgroup\aftergroup\jsc@@foot\let\jsc@next} +\def\jsc@f@t#1{#1\jsc@@foot} +\def\jsc@@foot{\@finalstrut\strutbox\color@endgroup\egroup \ifx\pltx@foot@penalty\@undefined\else \ifhmode\null\fi \ifnum\pltx@foot@penalty=\z@\else diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls index 1bd2325456d..ff744f4cfb9 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsbook.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsbook} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsbook} \newif\ifjsc@needsp@tch @@ -479,7 +479,7 @@ \define@key{bxjs}{scale}{% \edef\bxjs@scale@opt{#1}% \let\jsScale\bxjs@scale@opt} -\define@key{bxjs}{jsfontscale}{\setkeys{bxjs}{scale=#1}} +\define@key{bxjs}{jafontscale}{\setkeys{bxjs}{scale=#1}} \DeclareOption{noscale}{\setkeys{bxjs}{scale=1}} \let\bxjs@param@mag\relax \define@key{bxjs}{mag}{\edef\bxjs@param@mag{#1}} @@ -1008,13 +1008,13 @@ \everydisplay=\expandafter{\the\everydisplay \narrowbaselines} \newcommand{\headfont}{\sffamily} \setlength\columnsep{2\Cwd} -\setlength\columnseprule{0\jsc@mpt} +\setlength\columnseprule{\z@} \setlength\lineskip{1\jsc@mpt} \setlength\normallineskip{1\jsc@mpt} \setlength\lineskiplimit{1\jsc@mpt} \setlength\normallineskiplimit{1\jsc@mpt} \renewcommand{\baselinestretch}{} -\setlength\parskip{0\jsc@mpt} +\setlength\parskip{\z@} \if@slide \setlength\parindent{0\p@} \else @@ -1083,6 +1083,10 @@ \@tempdima=\jsTextWidthLimit\Cwd \ifx\bxjs@textwidth@opt\@undefined\else \jsSetQHLength\@tempdima{\bxjs@textwidth@opt} + \ifbxjs@whole@zw@lines + \advance\@tempdima.005pt\relax + \divide\@tempdima\Cwd \multiply\@tempdima\Cwd + \fi \fi \ifdim\textwidth>\@tempdima \textwidth=\@tempdima @@ -1830,7 +1834,7 @@ \begin{list}{}{% \listparindent=1\jsZw \itemindent=\listparindent - \rightmargin=\z@ + \rightmargin=0pt \leftmargin=5\jsZw}\item[]}{\end{list}\vspace{\baselineskip}} \ifbxjs@force@chapterabstract \let\abstract\chapterabstract @@ -2183,12 +2187,12 @@ \color@begingroup \@makefntext{% \rule\z@\footnotesep\ignorespaces}% - \futurelet\next\fo@t} -\def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t - \else \let\next\f@t\fi \next} -\def\f@@t{\bgroup\aftergroup\@foot\let\next} -\def\f@t#1{#1\@foot} -\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup + \futurelet\jsc@next\jsc@fo@t} +\def\jsc@fo@t{\ifcat\bgroup\noexpand\jsc@next \let\jsc@next\jsc@f@@t + \else \let\jsc@next\jsc@f@t\fi \jsc@next} +\def\jsc@f@@t{\bgroup\aftergroup\jsc@@foot\let\jsc@next} +\def\jsc@f@t#1{#1\jsc@@foot} +\def\jsc@@foot{\@finalstrut\strutbox\color@endgroup\egroup \ifx\pltx@foot@penalty\@undefined\else \ifhmode\null\fi \ifnum\pltx@foot@penalty=\z@\else diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty index 9dac9a4767c..0e17f16b345 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjscjkcat.sty @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesPackage{bxjscjkcat} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] \def\bxjx@pkgname{bxjscjkcat} \newcount\bxjx@cnta \let\bxjx@engine=n diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty index f809e173920..d6328630024 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjscompat.sty @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesPackage{bxjscompat} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] \def\bxac@pkgname{bxjscompat} \let\bxac@engine=n \def\bxac@do#1#2{% diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def index fb4b292fd58..13532504376 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-minimal.def @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesFile{bxjsja-minimal.def} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] %% このファイルは日本語文字を含みます \def\DeclareJaTextFontCommand#1#2{% \DeclareRobustCommand#1[1]{% diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def index 66db17297bc..2a3258cdca3 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-modern.def @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesFile{bxjsja-modern.def} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] \input{bxjsja-standard.def} \ifnum0\if x\jsEngine1\fi\if l\jsEngine1\fi=\z@ \def\encodingdefault{T1}% diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def index 781af49b0f9..b07b1b68a07 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-pandoc.def @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesFile{bxjsja-pandoc.def} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] \input{bxjsja-standard.def} \RequirePackage{bxjspandoc} \@onlypreamble\bxjs@set@dupload@proc diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def index 8d3dadeede5..592bf6a07a7 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsja-standard.def @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesFile{bxjsja-standard.def} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] %% このファイルは日本語文字を含みます \input{bxjsja-minimal.def} \bxjs@simplejasetupfalse diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty b/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty index e2396410491..c6b88c6405d 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjspandoc.sty @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesPackage{bxjspandoc} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjsp@pkgname{bxjscjkcat} \let\bxjsp@engine=n diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls index 0081e761935..86e632f6b97 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsreport.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsreport} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsreport} \newif\ifjsc@needsp@tch @@ -479,7 +479,7 @@ \define@key{bxjs}{scale}{% \edef\bxjs@scale@opt{#1}% \let\jsScale\bxjs@scale@opt} -\define@key{bxjs}{jsfontscale}{\setkeys{bxjs}{scale=#1}} +\define@key{bxjs}{jafontscale}{\setkeys{bxjs}{scale=#1}} \DeclareOption{noscale}{\setkeys{bxjs}{scale=1}} \let\bxjs@param@mag\relax \define@key{bxjs}{mag}{\edef\bxjs@param@mag{#1}} @@ -1007,13 +1007,13 @@ \everydisplay=\expandafter{\the\everydisplay \narrowbaselines} \newcommand{\headfont}{\sffamily} \setlength\columnsep{2\Cwd} -\setlength\columnseprule{0\jsc@mpt} +\setlength\columnseprule{\z@} \setlength\lineskip{1\jsc@mpt} \setlength\normallineskip{1\jsc@mpt} \setlength\lineskiplimit{1\jsc@mpt} \setlength\normallineskiplimit{1\jsc@mpt} \renewcommand{\baselinestretch}{} -\setlength\parskip{0\jsc@mpt} +\setlength\parskip{\z@} \if@slide \setlength\parindent{0\p@} \else @@ -1814,7 +1814,7 @@ \begin{list}{}{% \listparindent=1\jsZw \itemindent=\listparindent - \rightmargin=\z@ + \rightmargin=0pt \leftmargin=5\jsZw}\item[]}{\end{list}\vspace{\baselineskip}} \newbox\@abstractbox \if@titlepage @@ -2215,12 +2215,12 @@ \color@begingroup \@makefntext{% \rule\z@\footnotesep\ignorespaces}% - \futurelet\next\fo@t} -\def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t - \else \let\next\f@t\fi \next} -\def\f@@t{\bgroup\aftergroup\@foot\let\next} -\def\f@t#1{#1\@foot} -\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup + \futurelet\jsc@next\jsc@fo@t} +\def\jsc@fo@t{\ifcat\bgroup\noexpand\jsc@next \let\jsc@next\jsc@f@@t + \else \let\jsc@next\jsc@f@t\fi \jsc@next} +\def\jsc@f@@t{\bgroup\aftergroup\jsc@@foot\let\jsc@next} +\def\jsc@f@t#1{#1\jsc@@foot} +\def\jsc@@foot{\@finalstrut\strutbox\color@endgroup\egroup \ifx\pltx@foot@penalty\@undefined\else \ifhmode\null\fi \ifnum\pltx@foot@penalty=\z@\else diff --git a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls index bd9d15db150..4f1e4290376 100644 --- a/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls +++ b/Master/texmf-dist/tex/latex/bxjscls/bxjsslide.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{LaTeX2e} \ProvidesClass{bxjsslide} - [2018/03/03 v1.8 BXJS document classes] + [2018/03/29 v1.8a BXJS document classes] %% このファイルは日本語文字を含みます. \def\bxjs@clsname{bxjsslide} \newif\ifjsc@needsp@tch @@ -473,7 +473,7 @@ \define@key{bxjs}{scale}{% \edef\bxjs@scale@opt{#1}% \let\jsScale\bxjs@scale@opt} -\define@key{bxjs}{jsfontscale}{\setkeys{bxjs}{scale=#1}} +\define@key{bxjs}{jafontscale}{\setkeys{bxjs}{scale=#1}} \DeclareOption{noscale}{\setkeys{bxjs}{scale=1}} \let\bxjs@param@mag\relax \define@key{bxjs}{mag}{\edef\bxjs@param@mag{#1}} @@ -998,13 +998,13 @@ \everydisplay=\expandafter{\the\everydisplay \narrowbaselines} \newcommand{\headfont}{\sffamily} \setlength\columnsep{2\Cwd} -\setlength\columnseprule{0\jsc@mpt} +\setlength\columnseprule{\z@} \setlength\lineskip{1\jsc@mpt} \setlength\normallineskip{1\jsc@mpt} \setlength\lineskiplimit{1\jsc@mpt} \setlength\normallineskiplimit{1\jsc@mpt} \renewcommand{\baselinestretch}{} -\setlength\parskip{0\jsc@mpt} +\setlength\parskip{\z@} \if@slide \setlength\parindent{0\p@} \else @@ -2086,12 +2086,12 @@ \color@begingroup \@makefntext{% \rule\z@\footnotesep\ignorespaces}% - \futurelet\next\fo@t} -\def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t - \else \let\next\f@t\fi \next} -\def\f@@t{\bgroup\aftergroup\@foot\let\next} -\def\f@t#1{#1\@foot} -\def\@foot{\@finalstrut\strutbox\color@endgroup\egroup + \futurelet\jsc@next\jsc@fo@t} +\def\jsc@fo@t{\ifcat\bgroup\noexpand\jsc@next \let\jsc@next\jsc@f@@t + \else \let\jsc@next\jsc@f@t\fi \jsc@next} +\def\jsc@f@@t{\bgroup\aftergroup\jsc@@foot\let\jsc@next} +\def\jsc@f@t#1{#1\jsc@@foot} +\def\jsc@@foot{\@finalstrut\strutbox\color@endgroup\egroup \ifx\pltx@foot@penalty\@undefined\else \ifhmode\null\fi \ifnum\pltx@foot@penalty=\z@\else -- cgit v1.2.3