From bd548387dad43f543982b4c7432899b1dbcb871e Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Fri, 23 Mar 2018 23:31:00 +0900 Subject: [PATCH] ltj[s]classes.dtx: apply a patch by aminophen --- src/ltjarticle.cls | 2 +- src/ltjbk10.clo | 2 +- src/ltjbk11.clo | 2 +- src/ltjbk12.clo | 2 +- src/ltjbook.cls | 20 +++++++++---------- src/ltjclasses.dtx | 49 +++++++++++++++++++++++------------------------ src/ltjreport.cls | 2 +- src/ltjsarticle.cls | 9 ++++----- src/ltjsbook.cls | 13 ++++++------- src/ltjsclasses.dtx | 55 ++++++++++++++++++++++++++++------------------------- src/ltjsize10.clo | 2 +- src/ltjsize11.clo | 2 +- src/ltjsize12.clo | 2 +- src/ltjskiyou.cls | 9 ++++----- src/ltjspf.cls | 9 ++++----- src/ltjsreport.cls | 11 +++++------ src/ltjtarticle.cls | 2 +- src/ltjtbk10.clo | 2 +- src/ltjtbk11.clo | 2 +- src/ltjtbk12.clo | 2 +- src/ltjtbook.cls | 20 +++++++++---------- src/ltjtreport.cls | 2 +- src/ltjtsize10.clo | 2 +- src/ltjtsize11.clo | 2 +- src/ltjtsize12.clo | 2 +- 25 files changed, 112 insertions(+), 115 deletions(-) diff --git a/src/ltjarticle.cls b/src/ltjarticle.cls index cafd0a5..efd6259 100644 --- a/src/ltjarticle.cls +++ b/src/ltjarticle.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjarticle} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} diff --git a/src/ltjbk10.clo b/src/ltjbk10.clo index b9f38a0..16205de 100644 --- a/src/ltjbk10.clo +++ b/src/ltjbk10.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjbk10.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{15}% diff --git a/src/ltjbk11.clo b/src/ltjbk11.clo index 77d9917..cdf7ee6 100644 --- a/src/ltjbk11.clo +++ b/src/ltjbk11.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjbk11.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{15.5}% diff --git a/src/ltjbk12.clo b/src/ltjbk12.clo index 787e2af..56e94eb 100644 --- a/src/ltjbk12.clo +++ b/src/ltjbk12.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjbk12.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{16.5}% diff --git a/src/ltjbook.cls b/src/ltjbook.cls index 84f66dd..c19a534 100644 --- a/src/ltjbook.cls +++ b/src/ltjbook.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjbook} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} @@ -248,9 +248,9 @@ \let\@mkboth\markboth \def\chaptermark##1{\markboth{% \ifnum \c@secnumdepth >\m@ne - \if@mainmatter + \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw - \fi + \fi \fi ##1}{}}% \def\sectionmark##1{\markright{% @@ -264,9 +264,9 @@ \let\@mkboth\markboth \def\chaptermark##1{\markright{% \ifnum \c@secnumdepth >\m@ne - \if@mainmatter + \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw - \fi + \fi \fi ##1}}% } @@ -280,9 +280,9 @@ \let\@mkboth\markboth \def\chaptermark##1{\markboth{% \ifnum \c@secnumdepth >\m@ne - \if@mainmatter + \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw - \fi + \fi \fi ##1}{}}% \def\sectionmark##1{\markright{% @@ -296,9 +296,9 @@ \let\@mkboth\markboth \def\chaptermark##1{\markright{% \ifnum \c@secnumdepth >\m@ne - \if@mainmatter + \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw - \fi + \fi \fi ##1}}% } @@ -314,7 +314,7 @@ \if@compatibility \newenvironment{titlepage} {% - \cleardoublepage + \cleardoublepage \if@twocolumn\@restonecoltrue\onecolumn \else\@restonecolfalse\newpage\fi \thispagestyle{empty}% diff --git a/src/ltjclasses.dtx b/src/ltjclasses.dtx index e711b8c..cf15f8d 100644 --- a/src/ltjclasses.dtx +++ b/src/ltjclasses.dtx @@ -5,10 +5,10 @@ % % Copyright 1995-2001 ASCII Corporation. % Copyright (c) 2010 ASCII MEDIA WORKS -% Copyright (c) 2016-2017 Japanese TeX Development Community +% Copyright (c) 2016-2018 Japanese TeX Development Community % -% This file is part of the pLaTeX2e system. -% ----------------------------------------- +% This file is part of the pLaTeX2e system (community edition). +% ------------------------------------------------------------- % % \fi % @@ -114,7 +114,7 @@ % それを用いるように変更(PDFサイズ削減のため).} % \changes{v1.7f}{2017/08/31}{和文書体の基準を全角空白から「漢」に変更} % \changes{v1.7g}{2017/09/19}{内部処理で使ったボックス0を空にした} -% \changes{v1.7h}{2018/01/13}{和文スケール値\cs{Cjascale}を定義} +% \changes{v1.7h}{2018/02/04}{和文スケール値\cs{Cjascale}を定義} % \fi % % \iffalse @@ -144,7 +144,7 @@ %<11pt&bk>\ProvidesFile{ltjtbk11.clo} %<12pt&bk>\ProvidesFile{ltjtbk12.clo} % - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 % Standard LuaLaTeX-ja class] %<10pt|11pt|12pt> Standard LuaLaTeX-ja file (size option)] %<*driver> @@ -174,7 +174,7 @@ % % \section{はじめに} % このファイルは、Lua\LaTeX-ja用の|jclasses|互換クラスファイルです。 -% v1.6をベースに作成しています。 +% コミュニティ版をベースに作成しています。 % \dst{}プログラムによって、横組用のクラスファイルと縦組用のクラスファイル % を作成することができます。 % @@ -850,15 +850,12 @@ % \end{macro} % % \begin{macro}{\Cjascale} -% 和文スケール値($1\,\mathrm{zw} \div \hbox{要求サイズ}$)を +% このクラスファイルが意図する和文スケール値 +% ($1\,\mathrm{zw} \div \textmc{要求サイズ}$)を % 表す実数値マクロ|\Cjascale|を定義します。 -% ^^A p\LaTeXe{}の標準クラスでは、フォーマット作成時に読み込まれた -% ^^A フォント定義ファイル(\file{jy1mc.fd} / \file{jy1gt.fd} / -% ^^A \file{jt1mc.fd} / \file{jt1gt.fd})での和文スケール値がそのまま -% ^^A 有効ですので、これは1です。 % この\texttt{jclasses}互換クラスでは、Lua\TeX-ja読み込み時の和文スケール値がそのまま % 使用され、その値は0.962216です。 -% \changes{v1.7h}{2018/01/13}{和文スケール値\cs{Cjascale}を定義} +% \changes{v1.7h}{2018/02/04}{和文スケール値\cs{Cjascale}を定義} % \begin{macrocode} %<*article|report|book> \def\Cjascale{0.962216} @@ -866,6 +863,8 @@ % \end{macrocode} % \end{macro} % +% +% % \section{レイアウト} % % \subsection{用紙サイズの決定} @@ -1542,7 +1541,7 @@ % |\marginparwidth|を計算します。 % ここで、|\@tempdima|の値は、\linebreak % |\paperwidth| $-$ |\textwidth|です。 -% \changes{v1.1d}{1995/11/24}{typo: \cs{marginmarwidth} to \cs{marginparwidth}} +% \changes{v1.1d}{1995/11/24}{\break typo: \cs{marginmarwidth} to \cs{marginparwidth}} % \begin{macrocode} %<*yoko> \if@twoside @@ -2048,9 +2047,9 @@ %<*report|book> \def\chaptermark##1{\markboth{% \ifnum \c@secnumdepth >\m@ne -% \if@mainmatter +% \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw -% \fi +% \fi \fi ##1}{}}% \def\sectionmark##1{\markright{% @@ -2077,9 +2076,9 @@ %<*report|book> \def\chaptermark##1{\markright{% \ifnum \c@secnumdepth >\m@ne -% \if@mainmatter +% \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw -% \fi +% \fi \fi ##1}}% % @@ -2124,9 +2123,9 @@ %<*report|book> \def\chaptermark##1{\markboth{% \ifnum \c@secnumdepth >\m@ne -% \if@mainmatter +% \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw -% \fi +% \fi \fi ##1}{}}% \def\sectionmark##1{\markright{% @@ -2155,9 +2154,9 @@ %<*report|book> \def\chaptermark##1{\markright{% \ifnum \c@secnumdepth >\m@ne -% \if@mainmatter +% \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw -% \fi +% \fi \fi ##1}}% % @@ -2302,7 +2301,7 @@ \if@compatibility \newenvironment{titlepage} {% -% \cleardoublepage +% \cleardoublepage \if@twocolumn\@restonecoltrue\onecolumn \else\@restonecolfalse\newpage\fi \thispagestyle{empty}% @@ -2774,11 +2773,11 @@ % \end{description} % % |\secdef|は次のようにして使うことができます。 -% \begin{verbatim} +%\begin{verbatim} % \def\chapter {... \secdef \CMDA \CMDB } % \def\CMDA [#1]#2{....} % \chapter[...]{...} の定義 % \def\CMDB #1{....} % \chapter*{...} の定義 -% \end{verbatim} +%\end{verbatim} % % % \subsubsection{partレベル} @@ -4311,7 +4310,7 @@ \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy % \end{macrocode} -% \changes{v1.1a}{1997/01/23}{\LaTeX\ \texttt{!<1996/12/01!>}に合わせて修正} +% \changes{v1.1a}{1997/01/23}{\break\LaTeX\ \texttt{!<1996/12/01!>}に合わせて修正} % \begin{macrocode} \clubpenalty4000 \@clubpenalty\clubpenalty diff --git a/src/ltjreport.cls b/src/ltjreport.cls index a012158..d9b4c2c 100644 --- a/src/ltjreport.cls +++ b/src/ltjreport.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjreport} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} diff --git a/src/ltjsarticle.cls b/src/ltjsarticle.cls index 7a569b0..6393a88 100644 --- a/src/ltjsarticle.cls +++ b/src/ltjsarticle.cls @@ -127,7 +127,6 @@ This \jsc@clsname\space cls does not support `usemag'\MessageBreak option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \jsc@mag@xrealtrue} - \hour\time \divide\hour by 60\relax \@tempcnta\hour \multiply\@tempcnta 60\relax \minute\time \advance\minute-\@tempcnta @@ -513,8 +512,8 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \addtolength{\textheight}{\topskip} \addtolength{\textheight}{0.1\jsc@mpt} \def\flushbottom{% - \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% - \let\@texttop\relax} + \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% + \let\@texttop\relax} \setlength\marginparsep{\columnsep} \setlength\marginparpush{\baselineskip} \setlength{\oddsidemargin}{\paperwidth} @@ -842,7 +841,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \if@slide {\vskip\if@twocolumn-5\jsc@mpt\else-6\jsc@mpt\fi \maybeblue\hrule height0\jsc@mpt depth1\jsc@mpt - \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax} + \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax}% \fi \par % 2000-12-18 \ignorespaces} @@ -1462,7 +1461,7 @@ class has defined the old font commands like\MessageBreak \@nolnerr \else \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null - \inhibitglue\ignorespaces + \inhibitglue \ignorespaces \fi} \IfFileExists{jslogo.sty}{}{\@jslogofalse}% \if@jslogo diff --git a/src/ltjsbook.cls b/src/ltjsbook.cls index 03def09..06148f1 100644 --- a/src/ltjsbook.cls +++ b/src/ltjsbook.cls @@ -129,7 +129,6 @@ This \jsc@clsname\space cls does not support `usemag'\MessageBreak option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \jsc@mag@xrealtrue} - \hour\time \divide\hour by 60\relax \@tempcnta\hour \multiply\@tempcnta 60\relax \minute\time \advance\minute-\@tempcnta @@ -529,8 +528,8 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \addtolength{\textheight}{\topskip} \addtolength{\textheight}{0.1\jsc@mpt} \def\flushbottom{% - \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% - \let\@texttop\relax} + \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% + \let\@texttop\relax} \setlength\marginparsep{\columnsep} \setlength\marginparpush{\baselineskip} \setlength{\oddsidemargin}{\paperwidth} @@ -857,7 +856,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \if@slide {\vskip\if@twocolumn-5\jsc@mpt\else-6\jsc@mpt\fi \maybeblue\hrule height0\jsc@mpt depth1\jsc@mpt - \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax} + \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax}% \fi \par % 2000-12-18 \ignorespaces} @@ -904,7 +903,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \pagenumbering{arabic}} \newcommand\backmatter{% \if@openleft -\cleardoublepage + \cleardoublepage \else\if@openright \cleardoublepage \else @@ -913,7 +912,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \@mainmatterfalse} \newcommand\part{% \if@openleft -\cleardoublepage + \cleardoublepage \else\if@openright \cleardoublepage \else @@ -1555,7 +1554,7 @@ class has defined the old font commands like\MessageBreak \@nolnerr \else \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null - \inhibitglue\ignorespaces + \inhibitglue \ignorespaces \fi} \IfFileExists{jslogo.sty}{}{\@jslogofalse}% \if@jslogo diff --git a/src/ltjsclasses.dtx b/src/ltjsclasses.dtx index 4cb89a6..41e5549 100644 --- a/src/ltjsclasses.dtx +++ b/src/ltjsclasses.dtx @@ -69,10 +69,10 @@ \addtolength{\marginparwidth}{1in} \setlength\marginparpush{0pt} % \OnlyDescription +\CodelineNumbered \EnableCrossrefs \setcounter{StandardModuleDepth}{1} \GetFileInfo{ltjsclasses.dtx} -\CodelineNumbered \begin{document} \DocInput{ltjsclasses.dtx} \end{document} @@ -418,8 +418,6 @@ This \jsc@clsname\space cls does not support `usemag'\MessageBreak option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \jsc@mag@xrealtrue} - - % \end{macrocode} % % @@ -787,7 +785,7 @@ % % [2016-04-04 LTJ] NFSSへのパッチを修正。 % -% [2017-01-23] \LaTeXe\ 2017-01-01以降ではTUエンコーディングが標準なので, +% [2017-01-23 LTJ] \LaTeXe\ 2017-01-01以降ではTUエンコーディングが標準なので, % \texttt{type1cm}パッケージは読み込まないようにしました. % % [2017-02-17 LTJ] |\directlua|中で出力される数字のカテゴリーコードが12になるようにしました. @@ -1332,10 +1330,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} @@ -1587,7 +1585,6 @@ % 計算では |\headheight| ではなく |\topskip| を使う % ことにしました。 % -% % [2016-08-17] 圏点やルビが一行目に来た場合に下がるのを防ぐた % め,|\topskip| を10ptから1.38zwに増やしました。 % |\headheight| は従来と同じ20ptのままとします。 @@ -1844,8 +1841,8 @@ % % \begin{macrocode} \def\flushbottom{% - \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% - \let\@texttop\relax} + \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% + \let\@texttop\relax} % \end{macrocode} % \end{macro} % @@ -1924,6 +1921,7 @@ % |\topmargin| は従来の値から変わらないように調節しました。 % …のつもりでしたが,|\textheight| を増やし忘れていたので % 変わってしまっていました(2016-08-26修正済み)。 +% % \begin{macrocode} \setlength\topmargin{\paperheight} \addtolength\topmargin{-\textheight} @@ -1969,8 +1967,8 @@ % % フロート(図,表)関連のパラメータは\LaTeXe 本体で定義されていますが, % ここで設定変更します。本文ページ(本文とフロートが共存するページ) -% ちなみに,カウンタは内部では |\c@| を名前に冠したマクロになっています。 % とフロートだけのページで設定が異なります。 +% ちなみに,カウンタは内部では |\c@| を名前に冠したマクロになっています。 % % \begin{macro}{\c@topnumber} % @@ -2483,6 +2481,10 @@ % 和文のものでは |\Large| になっていましたが,ここでは |\large| % にしました。 % +% [2016-11-16] スペーシングを元の |jsclasses| に合わせるため,|\smallskip| を +% |\jsc@smallskip| に置き換えました。|\smallskip| のままでは +% \texttt{nomag(*)} の場合にスケールしなくなり,レイアウトが変わってしまいます。 +% % \begin{macrocode} %<*article|book|report|kiyou> \if@titlepage @@ -2814,7 +2816,7 @@ \if@slide {\vskip\if@twocolumn-5\jsc@mpt\else-6\jsc@mpt\fi \maybeblue\hrule height0\jsc@mpt depth1\jsc@mpt - \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax} + \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax}% \fi \par % 2000-12-18 \ignorespaces} @@ -2977,6 +2979,15 @@ % % ページ番号をローマ数字にし,章番号を付けないようにします。 % +% [2017-03-05] |\frontmatter| と |\mainmatter| の2つの命令は, +% 改丁または改ページした後で |\pagenumbering{...}| でノンブルを1に +% リセットします。長い間 |\frontmatter| は \texttt{openany} のときに +% 単なる改ページとしていましたが,これではノンブルをリセットする際に +% 偶奇逆転が起こる場合がありました。\texttt{openany} かどうかに依らず +% 奇数ページまで繰るように修正することで,問題を解消しました。 +% 実は,\LaTeX の標準クラスでは1998年に修正されていた問題です +% (コミュニティ版\pLaTeX の標準クラス2017/03/05も参照)。 +% % \begin{macrocode} %<*book> \newcommand\frontmatter{% @@ -2990,15 +3001,6 @@ % % ページ番号を算用数字にし,章番号を付けるようにします。 % -% [2017-03-05] |\frontmatter| と |\mainmatter| の2つの命令は, -% 改丁または改ページした後で |\pagenumbering{...}| でノンブルを1に -% リセットします。長い間 |\frontmatter| は \texttt{openany} のときに -% 単なる改ページとしていましたが,これではノンブルをリセットする際に -% 偶奇逆転が起こる場合がありました。\texttt{openany} かどうかに依らず -% 奇数ページまで繰るように修正することで,問題を解消しました。 -% 実は,\LaTeX の標準クラスでは1998年に修正されていた問題です -% (コミュニティ版\pLaTeX の標準クラス2017/03/05も参照)。 -% % \begin{macrocode} \newcommand\mainmatter{% \pltx@cleartooddpage @@ -3014,7 +3016,7 @@ % \begin{macrocode} \newcommand\backmatter{% \if@openleft - \cleardoublepage + \cleardoublepage \else\if@openright \cleardoublepage \else @@ -3070,7 +3072,7 @@ %<*book|report> \newcommand\part{% \if@openleft - \cleardoublepage + \cleardoublepage \else\if@openright \cleardoublepage \else @@ -5063,7 +5065,7 @@ % 「注1」の形式にするには次のようにしてください。 % % \begin{macrocode} -% \def\thefootnote{\ifnum\c@footnote>\z@注\kern0.1\zw\@arabic\c@footnote\fi} +% \def\thefootnote{\ifnum\c@footnote>\z@ 注\kern0.1\zw\@arabic\c@footnote\fi} % \end{macrocode} % % \end{macro} @@ -5084,6 +5086,8 @@ % % 脚注番号は章ごとにリセットされます。 % +% [2018-03-11] |\next|などいくつかの内部命令を |\jsc@...| 付きの +% ユニークな名前にしました。 % \begin{macrocode} %\@addtoreset{footnote}{chapter} % \end{macrocode} @@ -5169,7 +5173,7 @@ % する機能がありますが,|\item| 直後ではラベル用のボックスが段落先頭になる % ため,うまく働きませんでした。形を変えて復活させます。 % -% [2017-04-03 LTJ] 従来クラフファイルで定義していた |\@inhibitglue| は, +% [2017-04-03 LTJ] 従来クラスファイルで定義していた |\@inhibitglue| は, % Lua\TeX-jaのコアに |\ltjfakeparbegin| として正式に追加されたのでリネームします. % % |\item| 命令の直後です。 @@ -5258,7 +5262,7 @@ \@nolnerr \else \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null - \inhibitglue\ignorespaces + \inhibitglue \ignorespaces \fi} % \end{macrocode} % @@ -5268,7 +5272,6 @@ % % [2016-07-14] ロゴの定義は\texttt{jslogo}パッケージに移転しました。 % 後方互換のため,\texttt{jsclasses}ではデフォルトでこれを読み込みます。 -% % \texttt{nojslogo}オプションが指定されている場合は読み込みません。 % % [2016-07-21 LTJ] \texttt{jsclasses} とLua\TeX-jaの更新タイミングが一致しない可能性を考慮し, diff --git a/src/ltjsize10.clo b/src/ltjsize10.clo index 5a92fa8..3e76161 100644 --- a/src/ltjsize10.clo +++ b/src/ltjsize10.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjsize10.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{15}% diff --git a/src/ltjsize11.clo b/src/ltjsize11.clo index 904c935..a50bf53 100644 --- a/src/ltjsize11.clo +++ b/src/ltjsize11.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjsize11.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{15.5}% diff --git a/src/ltjsize12.clo b/src/ltjsize12.clo index f297c9f..e2cab95 100644 --- a/src/ltjsize12.clo +++ b/src/ltjsize12.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjsize12.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{16.5}% diff --git a/src/ltjskiyou.cls b/src/ltjskiyou.cls index 27b55db..70973a7 100644 --- a/src/ltjskiyou.cls +++ b/src/ltjskiyou.cls @@ -126,7 +126,6 @@ This \jsc@clsname\space cls does not support `usemag'\MessageBreak option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \jsc@mag@xrealtrue} - \hour\time \divide\hour by 60\relax \@tempcnta\hour \multiply\@tempcnta 60\relax \minute\time \advance\minute-\@tempcnta @@ -494,8 +493,8 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \addtolength{\textheight}{\topskip} \addtolength{\textheight}{0.1\jsc@mpt} \def\flushbottom{% - \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% - \let\@texttop\relax} + \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% + \let\@texttop\relax} \setlength\marginparsep{\columnsep} \setlength\marginparpush{\baselineskip} \setlength{\oddsidemargin}{\paperwidth} @@ -804,7 +803,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \if@slide {\vskip\if@twocolumn-5\jsc@mpt\else-6\jsc@mpt\fi \maybeblue\hrule height0\jsc@mpt depth1\jsc@mpt - \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax} + \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax}% \fi \par % 2000-12-18 \ignorespaces} @@ -1427,7 +1426,7 @@ class has defined the old font commands like\MessageBreak \@nolnerr \else \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null - \inhibitglue\ignorespaces + \inhibitglue \ignorespaces \fi} \IfFileExists{jslogo.sty}{}{\@jslogofalse}% \if@jslogo diff --git a/src/ltjspf.cls b/src/ltjspf.cls index 38a5a8c..ce12a2f 100644 --- a/src/ltjspf.cls +++ b/src/ltjspf.cls @@ -126,7 +126,6 @@ This \jsc@clsname\space cls does not support `usemag'\MessageBreak option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \jsc@mag@xrealtrue} - \hour\time \divide\hour by 60\relax \@tempcnta\hour \multiply\@tempcnta 60\relax \minute\time \advance\minute-\@tempcnta @@ -485,8 +484,8 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \addtolength{\textheight}{0.1\jsc@mpt} \setlength{\mathindent}{10\jsc@mmm} \def\flushbottom{% - \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% - \let\@texttop\relax} + \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% + \let\@texttop\relax} \setlength\marginparsep{\columnsep} \setlength\marginparpush{\baselineskip} \setlength{\oddsidemargin}{\paperwidth} @@ -732,7 +731,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \if@slide {\vskip\if@twocolumn-5\jsc@mpt\else-6\jsc@mpt\fi \maybeblue\hrule height0\jsc@mpt depth1\jsc@mpt - \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax} + \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax}% \fi \par % 2000-12-18 \ignorespaces} @@ -1321,7 +1320,7 @@ class has defined the old font commands like\MessageBreak \@nolnerr \else \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null - \inhibitglue\ignorespaces + \inhibitglue \ignorespaces \fi} \IfFileExists{jslogo.sty}{}{\@jslogofalse}% \if@jslogo diff --git a/src/ltjsreport.cls b/src/ltjsreport.cls index ed00c09..bd51cb4 100644 --- a/src/ltjsreport.cls +++ b/src/ltjsreport.cls @@ -128,7 +128,6 @@ This \jsc@clsname\space cls does not support `usemag'\MessageBreak option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \jsc@mag@xrealtrue} - \hour\time \divide\hour by 60\relax \@tempcnta\hour \multiply\@tempcnta 60\relax \minute\time \advance\minute-\@tempcnta @@ -503,8 +502,8 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \addtolength{\textheight}{\topskip} \addtolength{\textheight}{0.1\jsc@mpt} \def\flushbottom{% - \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% - \let\@texttop\relax} + \def\@textbottom{\vskip \z@ \@plus.1\jsc@mpt}% + \let\@texttop\relax} \setlength\marginparsep{\columnsep} \setlength\marginparpush{\baselineskip} \setlength{\oddsidemargin}{\paperwidth} @@ -830,7 +829,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \if@slide {\vskip\if@twocolumn-5\jsc@mpt\else-6\jsc@mpt\fi \maybeblue\hrule height0\jsc@mpt depth1\jsc@mpt - \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax} + \vskip\if@twocolumn 4\jsc@mpt\else 7\jsc@mpt\fi\relax}% \fi \par % 2000-12-18 \ignorespaces} @@ -869,7 +868,7 @@ option, since LuaTeX does not support \string\mag\MessageBreak in pdf output}% \newcommand{\@chappos}{\postchaptername} \newcommand\part{% \if@openleft -\cleardoublepage + \cleardoublepage \else\if@openright \cleardoublepage \else @@ -1548,7 +1547,7 @@ class has defined the old font commands like\MessageBreak \@nolnerr \else \unskip \reserved@e {\reserved@f#1}\nobreak \hfil \break \null - \inhibitglue\ignorespaces + \inhibitglue \ignorespaces \fi} \IfFileExists{jslogo.sty}{}{\@jslogofalse}% \if@jslogo diff --git a/src/ltjtarticle.cls b/src/ltjtarticle.cls index 71c497e..f6693ac 100644 --- a/src/ltjtarticle.cls +++ b/src/ltjtarticle.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjtarticle} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} diff --git a/src/ltjtbk10.clo b/src/ltjtbk10.clo index 64c9893..e9800c4 100644 --- a/src/ltjtbk10.clo +++ b/src/ltjtbk10.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtbk10.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{17}% diff --git a/src/ltjtbk11.clo b/src/ltjtbk11.clo index e5e1205..f4855b8 100644 --- a/src/ltjtbk11.clo +++ b/src/ltjtbk11.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtbk11.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{17}% diff --git a/src/ltjtbk12.clo b/src/ltjtbk12.clo index 7023a12..a6f52df 100644 --- a/src/ltjtbk12.clo +++ b/src/ltjtbk12.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtbk12.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{18}% diff --git a/src/ltjtbook.cls b/src/ltjtbook.cls index 67c83d1..f58c0d0 100644 --- a/src/ltjtbook.cls +++ b/src/ltjtbook.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjtbook} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} @@ -260,9 +260,9 @@ \let\@mkboth\markboth \def\chaptermark##1{\markboth{% \ifnum \c@secnumdepth >\m@ne - \if@mainmatter + \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw - \fi + \fi \fi ##1}{}}% \def\sectionmark##1{\markright{% @@ -276,9 +276,9 @@ \let\@mkboth\markboth \def\chaptermark##1{\markright{% \ifnum \c@secnumdepth >\m@ne - \if@mainmatter + \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw - \fi + \fi \fi ##1}}% } @@ -292,9 +292,9 @@ \let\@mkboth\markboth \def\chaptermark##1{\markboth{% \ifnum \c@secnumdepth >\m@ne - \if@mainmatter + \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw - \fi + \fi \fi ##1}{}}% \def\sectionmark##1{\markright{% @@ -308,9 +308,9 @@ \let\@mkboth\markboth \def\chaptermark##1{\markright{% \ifnum \c@secnumdepth >\m@ne - \if@mainmatter + \if@mainmatter \@chapapp\thechapter\@chappos\hskip1\zw - \fi + \fi \fi ##1}}% } @@ -326,7 +326,7 @@ \if@compatibility \newenvironment{titlepage} {% - \cleardoublepage + \cleardoublepage \if@twocolumn\@restonecoltrue\onecolumn \else\@restonecolfalse\newpage\fi \thispagestyle{empty}% diff --git a/src/ltjtreport.cls b/src/ltjtreport.cls index f0ea581..e170877 100644 --- a/src/ltjtreport.cls +++ b/src/ltjtreport.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjtreport} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} diff --git a/src/ltjtsize10.clo b/src/ltjtsize10.clo index 7b449a7..06dd8f7 100644 --- a/src/ltjtsize10.clo +++ b/src/ltjtsize10.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtsize10.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{17}% diff --git a/src/ltjtsize11.clo b/src/ltjtsize11.clo index 8693675..e5e9558 100644 --- a/src/ltjtsize11.clo +++ b/src/ltjtsize11.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtsize11.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{17}% diff --git a/src/ltjtsize12.clo b/src/ltjtsize12.clo index c44d7ff..8b85ee8 100644 --- a/src/ltjtsize12.clo +++ b/src/ltjtsize12.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtsize12.clo} - [2018/01/13 v1.7h-ltj-15 + [2018/02/04 v1.7h-ltj-15 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{18}% -- 2.11.0