OSDN Git Service
(root)
/
luatex-ja
/
luatexja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix a crash by "\ruby{Weierstraß}{ワイエルシュトラス}"
[luatex-ja/luatexja.git]
/
src
/
ltjreport.cls
diff --git
a/src/ltjreport.cls
b/src/ltjreport.cls
index
45995ca
..
b208e1c
100644
(file)
--- a/
src/ltjreport.cls
+++ b/
src/ltjreport.cls
@@
-23,7
+23,7
@@
%% File: ltjclasses.dtx
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ltjreport}
%% File: ltjclasses.dtx
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ltjreport}
- [201
7/08/28 v1.7e-ltj-15
+ [201
8/10/08 v1.8-ltj-16
Standard LuaLaTeX-ja class]
\RequirePackage{luatexja}
\newcounter{@paper}
Standard LuaLaTeX-ja class]
\RequirePackage{luatexja}
\newcounter{@paper}
@@
-130,8
+130,6
@@
\if@compatibility
\@mathrmmctrue
\else
\if@compatibility
\@mathrmmctrue
\else
- \DeclareOption{disablejfam}{%
- \ClassWarningNoLine{\@currname}{The class option 'disablejfam' is obsolete}}
\DeclareOption{mathrmmc}{\@mathrmmctrue}
\fi
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
\DeclareOption{mathrmmc}{\@mathrmmctrue}
\fi
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
@@
-148,6
+146,7
@@
\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
\ProcessOptions\relax
\input{ltjsize1\@ptsize.clo}
\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
\ProcessOptions\relax
\input{ltjsize1\@ptsize.clo}
+\def\Cjascale{0.962216}
\if@stysize
\setlength\columnsep{2\Cwd}
\else
\if@stysize
\setlength\columnsep{2\Cwd}
\else
@@
-721,6
+720,7
@@
\@addtoreset{equation}{chapter}
\renewcommand{\theequation}{%
\ifnum\c@chapter>\z@\thechapter.\fi \@arabic\c@equation}
\@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}
\if@compatibility\else
\DeclareSymbolFont{mincho}{JY3}{mc}{m}{n}
\DeclareSymbolFontAlphabet{\mathmc}{mincho}
@@
-734,6
+734,7
@@
\reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
}%
\fi
\reDeclareMathAlphabet{\mathbf}{\mathbf}{\mathgt}
}%
\fi
+\fi
\DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
\DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\DeclareOldFontCommand{\mc}{\normalfont\mcfamily}{\mathmc}
\DeclareOldFontCommand{\gt}{\normalfont\gtfamily}{\mathgt}
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
@@
-768,12
+769,14
@@
\hb@xt@\@pnumwidth{\hss\normalfont \normalcolor #5}%
\par}%
\fi}
\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{\thepage}}%
{\string\@writefile{#1}%
\def\addcontentsline#1#2#3{%
\protected@write\@auxout
{\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
\@temptokena{\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
}
\newcommand{\tableofcontents}{%
\if@twocolumn\@restonecoltrue\onecolumn
@@
-877,7
+880,7
@@
\@addtoreset{footnote}{chapter}
\newcommand\@makefntext[1]{\parindent 1em
\noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
\@addtoreset{footnote}{chapter}
\newcommand\@makefntext[1]{\parindent 1em
\noindent\hb@xt@ 1.8em{\hss\@makefnmark}#1}
-\newif\if西暦 \西暦
fals
e
+\newif\if西暦 \西暦
tru
e
\def\西暦{\西暦true}
\def\和暦{\西暦false}
\newcount\heisei \heisei\year \advance\heisei-1988\relax
\def\西暦{\西暦true}
\def\和暦{\西暦false}
\newcount\heisei \heisei\year \advance\heisei-1988\relax