summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-21 23:29:55 +0000
committerKarl Berry <karl@freefriends.org>2017-02-21 23:29:55 +0000
commitbd0878a11f55aa4abfdb834e6ac886bb59bc9980 (patch)
treebf7660bcf9bc5db17e22aaa511978d2cc024f93f /Master/texmf-dist/source/luatex
parent516a8bbf9db95a88ce2fdd2cf3407216f67e8049 (diff)
luatexja (21feb17)
git-svn-id: svn://tug.org/texlive/trunk@43288 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/luatex')
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/ltjclasses.dtx37
1 files changed, 14 insertions, 23 deletions
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}
%
%