summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-11-03 21:08:36 +0000
committerKarl Berry <karl@freefriends.org>2018-11-03 21:08:36 +0000
commit0fe320209795205ffb3b6f01e216820f854eef42 (patch)
tree673298fc464518514d18fb0343ea80aab6794d44 /Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls
parente0fba477b7614dae0067d85728e716a4f930b98a (diff)
luatexja (3nov18)
git-svn-id: svn://tug.org/texlive/trunk@49067 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls')
-rw-r--r--Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls b/Master/texmf-dist/tex/luatex/luatexja/ltjtbook.cls
index bf12faa6033..b56c3b8516d 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}
- [2018/07/24 v1.8-ltj-15
+ [2018/10/08 v1.8-ltj-16
Standard LuaLaTeX-ja class]
\RequirePackage{luatexja}
\newcounter{@paper}
@@ -143,8 +143,6 @@
\if@compatibility
\@mathrmmctrue
\else
- \DeclareOption{disablejfam}{%
- \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
\DeclareOption{mathrmmc}{\@mathrmmctrue}
\fi
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
@@ -741,6 +739,7 @@
\@addtoreset{equation}{chapter}
\renewcommand{\theequation}{%
\ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
+\unless\ifltj@disablejfam
\if@compatibility\else
\DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
\DeclareSymbolFontAlphabet{\mathmc}{mincho}
@@ -754,6 +753,7 @@
\reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
}%
\fi
+\fi
\DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
\DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
@@ -788,12 +788,14 @@
\hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
\par}%
\fi}
+\providecommand*\protected@file@percent{}
\def\addcontentsline#1#2#3{%
\protected@write\@auxout
{\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
\@temptokena{\rensuji{\thepage}}}%
{\string\@writefile{#1}%
- {\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
+ {\protect\contentsline{#2}{#3}{\the\@temptokena}%
+\protected@file@percent}}%
}
\newcommand{\tableofcontents}{%
\if@twocolumn\@restonecoltrue\onecolumn