OSDN Git Service

luatexja-compat.sty: fix an error in plain TeX
[luatex-ja/luatexja.git] / src / ltjtbook.cls
index 3064e28..f58c0d0 100644 (file)
@@ -23,7 +23,7 @@
 %% File: ltjclasses.dtx
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesClass{ltjtbook}
-  [2017/12/31 v1.7g-ltj-16
+  [2018/02/04 v1.7h-ltj-15
  Standard LuaLaTeX-ja class]
 \RequirePackage{luatexja}
 \newcounter{@paper}
   'ltj.jclasses_load_jfm', 1)}
 {\jfont\g=\ltj@stdmcfont:jfm=min } % loading jfm-min.lua
 \expandafter\let\csname JY3/mc/m/n/10\endcsname\relax
-\def\Cjascale{0.962216}
 \DeclareFontShape{JY3}{mc}{m}{n}{<-> s * [0.962216] \ltj@stdmcfont:jfm=min}{}
 \DeclareFontShape{JY3}{gt}{m}{n}{<-> s * [0.962216] \ltj@stdgtfont:jfm=min;jfmvar=goth}{}
 \ltjglobalsetparameter{differentjfm=both}
 \ProcessOptions\relax
 \input{ltjtbk1\@ptsize.clo}
 \RequirePackage{lltjext}
+\def\Cjascale{0.962216}
 \if@stysize
   \setlength\columnsep{3\Cwd}
 \else
     \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{%
     \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}}%
   }
   \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{%
     \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}}%
   }
 \if@compatibility
 \newenvironment{titlepage}
     {%
-      \cleardoublepage
+     \cleardoublepage
      \if@twocolumn\@restonecoltrue\onecolumn
      \else\@restonecolfalse\newpage\fi
      \thispagestyle{empty}%