summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx')
-rw-r--r--Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx18
1 files changed, 7 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx b/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
index 3199fc98a2e..400d9db8b77 100644
--- a/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
+++ b/Master/texmf-dist/source/luatex/luatexja/ltjsclasses.dtx
@@ -50,7 +50,7 @@
%<*driver>
\ProvidesFile{ltjsclasses.dtx}
%</driver>
- [2016/01/31 ]
+ [2016/01/30 ]
%<*driver>
\documentclass{ltjsarticle}
\usepackage{doc}
@@ -720,21 +720,17 @@
%
% [2015-10-18 LTJ] Lua\TeX\ 0.81.0ではプリミティブの名称変更がされたので,
% それに合わせておきます.
-%
-% [2016-01-31 LTJ] [2015-10-18]の処理は不完全でした.
% \begin{macrocode}
+\setlength{\@tempdima}{\paperwidth}
+\setlength{\@tempdimb}{\paperheight}
+\iftombow
+ \advance \@tempdima 2in
+ \advance \@tempdimb 2in
+\fi
\ifdefined\pdfpagewidth
- \iftombow
- \advance \@tempdima 2in
- \advance \@tempdimb 2in
- \fi
\setlength{\pdfpagewidth}{\@tempdima}
\setlength{\pdfpageheight}{\@tempdimb}
\else
- \iftombow
- \advance \@tempdima 2in
- \advance \@tempdimb 2in
- \fi
\setlength{\pagewidth}{\@tempdima}
\setlength{\pageheight}{\@tempdimb}
\fi