diff options
author | Karl Berry <karl@freefriends.org> | 2017-02-21 23:29:55 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-02-21 23:29:55 +0000 |
commit | bd0878a11f55aa4abfdb834e6ac886bb59bc9980 (patch) | |
tree | bf7660bcf9bc5db17e22aaa511978d2cc024f93f /Master | |
parent | 516a8bbf9db95a88ce2fdd2cf3407216f67e8049 (diff) |
luatexja (21feb17)
git-svn-id: svn://tug.org/texlive/trunk@43288 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
23 files changed, 79 insertions, 204 deletions
diff --git a/Master/texmf-dist/doc/luatex/luatexja/README b/Master/texmf-dist/doc/luatex/luatexja/README index 2a52a5d5899..46cd7a07cd7 100644 --- a/Master/texmf-dist/doc/luatex/luatexja/README +++ b/Master/texmf-dist/doc/luatex/luatexja/README @@ -1,4 +1,4 @@ -The LuaTeX-ja Package 20170219.0 +The LuaTeX-ja Package 20170221.0 -------------------------------- Copyright (c) 2011--2017 The LuaTeX-ja project License: modified BSD (see COPYING) @@ -34,9 +34,9 @@ Installation 2. If you must/want to install manually: a. Download the source archive from CTAN, - or tagged as 20170219.0 in the Git repository by + or tagged as 20170221.0 in the Git repository by <http://git.osdn.jp/view?p=luatex-ja/luatexja.git - ;a=snapshot;h=refs/tags/20170219.0;sf=tgz> + ;a=snapshot;h=refs/tags/20170221.0;sf=tgz> b. Extract the archive and process following three files by LuaLaTeX to generate classes for Japanese typesetting: @@ -81,4 +81,4 @@ Notes * src/*.{ins.dtx} and src/ltj-kinsoku_make.tex are not needed in regular use. -Last commit date: Sun Feb 19 21:28:54 2017 +0900 +Last commit date: Tue Feb 21 16:52:59 2017 +0900 diff --git a/Master/texmf-dist/doc/luatex/luatexja/ltjclasses.pdf b/Master/texmf-dist/doc/luatex/luatexja/ltjclasses.pdf Binary files differindex f0c9643475d..047f13b983a 100644 --- a/Master/texmf-dist/doc/luatex/luatexja/ltjclasses.pdf +++ b/Master/texmf-dist/doc/luatex/luatexja/ltjclasses.pdf diff --git a/Master/texmf-dist/doc/luatex/luatexja/ltjsclasses.pdf b/Master/texmf-dist/doc/luatex/luatexja/ltjsclasses.pdf Binary files differindex 59e0a680a74..687834daa6c 100644 --- a/Master/texmf-dist/doc/luatex/luatexja/ltjsclasses.pdf +++ b/Master/texmf-dist/doc/luatex/luatexja/ltjsclasses.pdf diff --git a/Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx b/Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx index 495a3a658d6..18ac8f36fae 100644 --- a/Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx +++ b/Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx @@ -105,6 +105,8 @@ % \changes{v1.7d}{2017/02/15}{縦組クラスの所属表示の番号を直立にした} % \changes{v1.7d-ltj-13}{2017/02/19}{縦組時クラスで|ftnright|パッケージを使うと % 脚注番号が上書きされ横に寝てしまう問題を修正(aminophenさん,ありがとうございます).} +% \changes{v1.7d-ltj-14}{2017/02/20}{openleftオプションの処理で\cs{iftdir}, \cs{ifydir}を +% 誤って使っている問題を修正(aminophenさん,ありがとうございます).} % \fi % % \iffalse @@ -134,7 +136,7 @@ %<11pt&bk>\ProvidesFile{ltjtbk11.clo} %<12pt&bk>\ProvidesFile{ltjtbk12.clo} %</tate> - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 %<article|report|book> Standard LuaLaTeX-ja class] %<10pt|11pt|12pt> Standard LuaLaTeX-ja file (size option)] %<*driver> @@ -1788,30 +1790,17 @@ % \item|\pltx@cleartoevenpage|:偶数ページになるまでページを繰る命令 % \end{enumerate} % \changes{v1.7d}{2017/02/15}{\cs{cleardoublepage}の代用となる命令群を追加} +% \changes{v1.7d-ltj-14}{2017/02/20}{\cs{iftdir}, \cs{ifydir}を使わないように修正} % \begin{macrocode} \def\pltx@cleartorightpage{\clearpage\if@twoside - \ifodd\c@page - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartoleftpage{\clearpage\if@twoside - \ifodd\c@page - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} % \end{macrocode} % @@ -2285,7 +2274,7 @@ % \end{macrocode} % % そして、\LaTeX{}ネイティブのための定義です。 -+% \changes{v1.7d}{2017/02/15}{bookクラスでtitlepageを必ず奇数ページ +% \changes{v1.7d}{2017/02/15}{bookクラスでtitlepageを必ず奇数ページ % に送るように変更} % \changes{v1.7d}{2017/02/15}{titlepageのページ番号を奇数ならば1に、 % 偶数ならば0にリセットするように変更} @@ -2985,7 +2974,7 @@ % このマクロは、章見出しに番号を付けないときに呼び出されます。 % % \emph{日本語\TeX{}開発コミュニティによる補足}:やはり二段組でチャプター - タイトルより高い位置に右カラムの始点が来るという挙動を維持してあります。 +% タイトルより高い位置に右カラムの始点が来るという挙動を維持してあります。 % \changes{v1.7c}{2016/12/18}{奇妙なarticleガードとコードを削除して % ドキュメントを追加} % \begin{macrocode} @@ -4572,8 +4561,10 @@ % パッケージ読み込み前に予め退避しておき、読み込み後に復帰させます。 % \changes{v1.7d}{2017/02/19}{コード追加} % \begin{macrocode} +%<*article|report|book> \AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} \AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} +%</article|report|book> % \end{macrocode} % % diff --git a/Master/texmf-dist/tex/luatex/luatexja/lltjext.sty b/Master/texmf-dist/tex/luatex/luatexja/lltjext.sty index 1da5aadcfcd..7a445f5d7d5 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/lltjext.sty +++ b/Master/texmf-dist/tex/luatex/luatexja/lltjext.sty @@ -36,7 +36,7 @@ \def\p@array<#1>[#2]#3{% \let\box@dir\relax \if #1z\relax - \ifnum\ltjgetparameter{direction}=3\relax + \ifnum\count@=3\relax \let\box@dir\utod\@tempcnta=\zstrutbox \fi \else @@ -688,7 +688,7 @@ %%% references \def\@eqnnum{{\reset@font\rmfamily \normalcolor - \ifnum\ltjgetparameter{direction}=3 \raise.25\zh\hbox{\yoko(\theequation)}% + \ifnum\ltjgetparameter{direction}=11\raise.25\zh\hbox{\yoko(\theequation)}% \else (\theequation)\fi}} \def\@thecounter#1{\noexpand\rensuji{\noexpand\arabic{#1}}} \def\@thmcounter#1{\noexpand\rensuji{\noexpand\arabic{#1}}} @@ -696,6 +696,8 @@ %% Compatibility with array package \def\ltj@lltjext@patch@array{% + \patchcmd{\@tabular}{\hbox\bgroup}{% + \hbox\bgroup\count@=\ltjgetparameter{direction}}{}{} \def\@startpbox##1{\bgroup \box@dir\adjustbaseline%%% これを追加 \hsize=##1\@arrayparboxrestore @@ -707,7 +709,7 @@ \def\p@array<##1>[##2]##3{% \let\box@dir\relax \if ##1z\relax - \ifnum\ltjgetparameter{direction}=3\relax + \ifnum\count@=3\relax \let\box@dir\utod\@tempcnta=\zstrutbox \fi \else @@ -722,7 +724,7 @@ \fi\fi\fi\fi \fi \ifx\box@dir\relax - \ifcase\ltjgetparameter{direction} + \ifcase\count@ \or \let\box@dir\dtou\@tempcnta=\tabskip \z@\tabskip \z@\dstrutbox% dtou \or\or\let\box@dir\tate\@tempcnta=\tstrutbox% tate \or \let\box@dir\yoko\@tempcnta=\strutbox% yoko @@ -759,7 +761,7 @@ \let\ltj@lltjext@orig@tabularS\relax \let\ltj@lltjext@orig@tabular\relax \let\ltj@lltjext@orig@array\relax - \RequirePackage{filehook} + \RequirePackage{filehook,etoolbox} \AtEndOfPackageFile{array}{\ltj@lltjext@patch@array} } diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjarticle.cls b/Master/texmf-dist/tex/luatex/luatexja/ltjarticle.cls index 34cd1e31035..3e1f0d53350 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjarticle.cls +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjarticle.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjarticle} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} @@ -188,28 +188,14 @@ \renewcommand{\dbltopfraction}{.7} \renewcommand{\dblfloatpagefraction}{.5} \def\pltx@cleartorightpage{\clearpage\if@twoside - \ifodd\c@page - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartoleftpage{\clearpage\if@twoside - \ifodd\c@page - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartooddpage{\clearpage\if@twoside \ifodd\c@page\else @@ -303,7 +289,6 @@ }% {\if@restonecol\twocolumn\else\newpage\fi } -+% \changes{v1.7d}{2017/02/15}{bookクラスでtitlepageを必ず奇数ページ \else \newenvironment{titlepage} {% diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjbk10.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjbk10.clo index 8f8810b364e..5e8258bc0ab 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjbk10.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjbk10.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjbk10.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{15}% @@ -294,8 +294,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjbk10.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjbk11.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjbk11.clo index 17b94201400..adb5c1a7876 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjbk11.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjbk11.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjbk11.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{15.5}% @@ -294,8 +294,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjbk11.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjbk12.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjbk12.clo index 15e55de1b00..73424e5faf7 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjbk12.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjbk12.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjbk12.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{16.5}% @@ -294,8 +294,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjbk12.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjbook.cls b/Master/texmf-dist/tex/luatex/luatexja/ltjbook.cls index 5dc346d18c8..52c5b2ca9f9 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjbook.cls +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjbook.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjbook} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} @@ -198,28 +198,14 @@ \renewcommand{\dbltopfraction}{.7} \renewcommand{\dblfloatpagefraction}{.5} \def\pltx@cleartorightpage{\clearpage\if@twoside - \ifodd\c@page - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartoleftpage{\clearpage\if@twoside - \ifodd\c@page - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartooddpage{\clearpage\if@twoside \ifodd\c@page\else @@ -335,7 +321,6 @@ }% {\if@restonecol\twocolumn\else\newpage\fi } -+% \changes{v1.7d}{2017/02/15}{bookクラスでtitlepageを必ず奇数ページ \else \newenvironment{titlepage} {% @@ -550,7 +535,6 @@ \else #1\relax \fi}\nobreak\vskip3\Cvs} - タイトルより高い位置に右カラムの始点が来るという挙動を維持してあります。 \def\@schapter#1{% \@makeschapterhead{#1}\@afterheading } diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjreport.cls b/Master/texmf-dist/tex/luatex/luatexja/ltjreport.cls index 58594d460a6..f2ec93da18b 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjreport.cls +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjreport.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjreport} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} @@ -196,28 +196,14 @@ \renewcommand{\dbltopfraction}{.7} \renewcommand{\dblfloatpagefraction}{.5} \def\pltx@cleartorightpage{\clearpage\if@twoside - \ifodd\c@page - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartoleftpage{\clearpage\if@twoside - \ifodd\c@page - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartooddpage{\clearpage\if@twoside \ifodd\c@page\else @@ -324,7 +310,6 @@ }% {\if@restonecol\twocolumn\else\newpage\fi } -+% \changes{v1.7d}{2017/02/15}{bookクラスでtitlepageを必ず奇数ページ \else \newenvironment{titlepage} {% @@ -544,7 +529,6 @@ \else #1\relax \fi}\nobreak\vskip3\Cvs} - タイトルより高い位置に右カラムの始点が来るという挙動を維持してあります。 \def\@schapter#1{% \@makeschapterhead{#1}\@afterheading } diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjsize10.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjsize10.clo index aff439b0d4c..dc09458301a 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjsize10.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjsize10.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjsize10.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{15}% @@ -299,8 +299,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjsize10.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjsize11.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjsize11.clo index 9d57f599923..71ba0bd9513 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjsize11.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjsize11.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjsize11.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{15.5}% @@ -299,8 +299,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjsize11.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjsize12.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjsize12.clo index 6b3f1799760..08febe4afec 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjsize12.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjsize12.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjsize12.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{16.5}% @@ -299,8 +299,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjsize12.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls b/Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls index 0d46ff79a1f..9fcf3df716e 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtarticle.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjtarticle} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} @@ -200,28 +200,14 @@ \renewcommand{\dbltopfraction}{.7} \renewcommand{\dblfloatpagefraction}{.5} \def\pltx@cleartorightpage{\clearpage\if@twoside - \ifodd\c@page - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartoleftpage{\clearpage\if@twoside - \ifodd\c@page - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartooddpage{\clearpage\if@twoside \ifodd\c@page\else @@ -315,7 +301,6 @@ }% {\if@restonecol\twocolumn\else\newpage\fi } -+% \changes{v1.7d}{2017/02/15}{bookクラスでtitlepageを必ず奇数ページ \else \newenvironment{titlepage} {% diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtbk10.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjtbk10.clo index 1a10e26650b..89ed288cd45 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjtbk10.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtbk10.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtbk10.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{17}% @@ -302,8 +302,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjtbk10.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtbk11.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjtbk11.clo index f5a5fc03efe..8d72f842018 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjtbk11.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtbk11.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtbk11.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{17}% @@ -302,8 +302,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjtbk11.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtbk12.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjtbk12.clo index c150739d5e8..9543641fbe6 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjtbk12.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtbk12.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtbk12.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{18}% @@ -302,8 +302,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjtbk12.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls b/Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls index 82887bafba8..7ae6e197202 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjtbook} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} @@ -210,28 +210,14 @@ \renewcommand{\dbltopfraction}{.7} \renewcommand{\dblfloatpagefraction}{.5} \def\pltx@cleartorightpage{\clearpage\if@twoside - \ifodd\c@page - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartoleftpage{\clearpage\if@twoside - \ifodd\c@page - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartooddpage{\clearpage\if@twoside \ifodd\c@page\else @@ -347,7 +333,6 @@ }% {\if@restonecol\twocolumn\else\newpage\fi } -+% \changes{v1.7d}{2017/02/15}{bookクラスでtitlepageを必ず奇数ページ \else \newenvironment{titlepage} {% @@ -565,7 +550,6 @@ \else #1\relax \fi}\nobreak\vskip3\Cvs} - タイトルより高い位置に右カラムの始点が来るという挙動を維持してあります。 \def\@schapter#1{% \@makeschapterhead{#1}\@afterheading } diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtreport.cls b/Master/texmf-dist/tex/luatex/luatexja/ltjtreport.cls index 413be7d480b..2aaab6cd1a3 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjtreport.cls +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtreport.cls @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesClass{ltjtreport} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja class] \RequirePackage{luatexja} \newcounter{@paper} @@ -208,28 +208,14 @@ \renewcommand{\dbltopfraction}{.7} \renewcommand{\dblfloatpagefraction}{.5} \def\pltx@cleartorightpage{\clearpage\if@twoside - \ifodd\c@page - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \unless\ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartoleftpage{\clearpage\if@twoside - \ifodd\c@page - \ifydir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi - \else - \iftdir - \hbox{}\thispagestyle{empty}\newpage - \if@twocolumn\hbox{}\newpage\fi - \fi + \ifodd\numexpr\c@page+\ltjgetparameter{direction}\relax + \hbox{}\thispagestyle{empty}\newpage + \if@twocolumn\hbox{}\newpage\fi \fi\fi} \def\pltx@cleartooddpage{\clearpage\if@twoside \ifodd\c@page\else @@ -336,7 +322,6 @@ }% {\if@restonecol\twocolumn\else\newpage\fi } -+% \changes{v1.7d}{2017/02/15}{bookクラスでtitlepageを必ず奇数ページ \else \newenvironment{titlepage} {% @@ -559,7 +544,6 @@ \else #1\relax \fi}\nobreak\vskip3\Cvs} - タイトルより高い位置に右カラムの始点が来るという挙動を維持してあります。 \def\@schapter#1{% \@makeschapterhead{#1}\@afterheading } diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtsize10.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjtsize10.clo index 8fca8ffe464..41c2c73b550 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjtsize10.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtsize10.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtsize10.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xpt{17}% @@ -302,8 +302,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjtsize10.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtsize11.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjtsize11.clo index 8b14902abbe..fd34a3176c7 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjtsize11.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtsize11.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtsize11.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xipt{17}% @@ -302,8 +302,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjtsize11.clo'. diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtsize12.clo b/Master/texmf-dist/tex/luatex/luatexja/ltjtsize12.clo index 4760f40cbb0..0cbabf39348 100644 --- a/Master/texmf-dist/tex/luatex/luatexja/ltjtsize12.clo +++ b/Master/texmf-dist/tex/luatex/luatexja/ltjtsize12.clo @@ -23,7 +23,7 @@ %% File: ltjclasses.dtx \NeedsTeXFormat{LaTeX2e} \ProvidesFile{ltjtsize12.clo} - [2017/02/19 v1.7d-ltj-13 + [2017/02/20 v1.7d-ltj-14 Standard LuaLaTeX-ja file (size option)] \renewcommand{\normalsize}{% \@setfontsize\normalsize\@xiipt{18}% @@ -302,8 +302,6 @@ \def\@listvi {\leftmargin\leftmarginvi \labelwidth\leftmarginvi \advance\labelwidth-\labelsep} -\AtBeginOfPackageFile*{ftnright}{\let\ltjt@orig@@makefntext=\@makefntext} -\AtEndOfPackageFile*{ftnright}{\let\@makefntext=\ltjt@orig@@makefntext} \endinput %% %% End of file `ltjtsize12.clo'. |