OSDN Git Service

ltj-inputbuf.lua: add a close paren.
[luatex-ja/luatexja.git] / src / ltjsbook.cls
index 01c5cc2..92c9822 100644 (file)
@@ -38,7 +38,7 @@
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{ltjsbook}
-  [2016/01/31 ]
+  [2016/01/30 ]
 \RequirePackage{luatexja}
 \newif\if@restonecol
 \newif\if@titlepage
 \fi
 \setlength\paperwidth{\inv@mag\paperwidth}%
 \setlength\paperheight{\inv@mag\paperheight}%
+\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