Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Oct 25, 2018
1 parent 93650e6 commit e5b96d5
Show file tree
Hide file tree
Showing 19 changed files with 54 additions and 35 deletions.
8 changes: 5 additions & 3 deletions ujarticle.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{ujarticle}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -666,12 +666,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{\thepage}}%
\@temptokena{\thepage}}%
{\string\@writefile{#1}%
{\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
{\protect\contentsline{#2}{#3}{\the\@temptokena}%
\protected@file@percent}}%
}
\newcommand{\tableofcontents}{%
\section*{\contentsname
Expand Down
2 changes: 1 addition & 1 deletion ujbk10.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{ujbk10.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xpt{15}%
Expand Down
2 changes: 1 addition & 1 deletion ujbk11.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{ujbk11.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xipt{15.5}%
Expand Down
2 changes: 1 addition & 1 deletion ujbk12.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{ujbk12.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{16.5}%
Expand Down
8 changes: 5 additions & 3 deletions ujbook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{ujbook}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -759,12 +759,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{\thepage}}%
\@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
Expand Down
17 changes: 12 additions & 5 deletions ujclasses.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@
% \changes{v1.7h-u00}{2018/02/04}{p\LaTeX{}用に追随}
% \changes{v1.8}{2018/07/03}{\cs{today}のデフォルトを和暦から西暦に変更}
% \changes{v1.8-u00}{2018/07/03}{p\LaTeX{}用に追随}
% \changes{v1.8a}{2018/10/25}{ファイル書き出し時の行末文字対策
% (sync with ltsect.dtx 2018/09/26 v1.1c)}
% \changes{v1.8a-u00}{2018/10/25}{p\LaTeX{}用に追随}
% \fi
%
% \iffalse
Expand Down Expand Up @@ -136,7 +139,7 @@
%<11pt&bk>\ProvidesFile{utbk11.clo}
%<12pt&bk>\ProvidesFile{utbk12.clo}
%</tate>
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
%<article|report|book> Standard upLaTeX class]
%<10pt|11pt|12pt> Standard upLaTeX file (size option)]
%<*driver>
Expand Down Expand Up @@ -3896,7 +3899,7 @@
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@tocmarg}
% \begin{macro}{\@tocrmarg}
% 複数行にわたる場合の右マージンです。
% \begin{macrocode}
\newcommand{\@tocrmarg}{2.55em}
Expand Down Expand Up @@ -3975,14 +3978,18 @@
% ^^A このコマンドによる影響はありません。
%
% このマクロは\file{ltsect.dtx}で定義されています。
% \changes{v1.8a}{2018/10/25}{ファイル書き出し時の行末文字対策
% (sync with ltsect.dtx 2018/09/26 v1.1c)}
% \begin{macrocode}
\providecommand*\protected@file@percent{}
\def\addcontentsline#1#2#3{%
\protected@write\@auxout
{\let\label\@gobble \let\index\@gobble \let\glossary\@gobble
%<tate>\@temptokena{\rensuji{\thepage}}}%
%<yoko>\@temptokena{\thepage}}%
%<tate> \@temptokena{\rensuji{\thepage}}}%
%<yoko> \@temptokena{\thepage}}%
{\string\@writefile{#1}%
{\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
{\protect\contentsline{#2}{#3}{\the\@temptokena}%
\protected@file@percent}}%
}
% \end{macrocode}
% \end{macro}
Expand Down
8 changes: 5 additions & 3 deletions ujreport.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{ujreport}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -755,12 +755,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{\thepage}}%
\@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
Expand Down
2 changes: 1 addition & 1 deletion ujsize10.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{ujsize10.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xpt{15}%
Expand Down
2 changes: 1 addition & 1 deletion ujsize11.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{ujsize11.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xipt{15.5}%
Expand Down
2 changes: 1 addition & 1 deletion ujsize12.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{ujsize12.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{16.5}%
Expand Down
8 changes: 5 additions & 3 deletions utarticle.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{utarticle}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -670,12 +670,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}}}%
\@temptokena{\rensuji{\thepage}}}%
{\string\@writefile{#1}%
{\protect\contentsline{#2}{#3}{\the\@temptokena}}}%
{\protect\contentsline{#2}{#3}{\the\@temptokena}%
\protected@file@percent}}%
}
\newcommand{\tableofcontents}{%
\section*{\contentsname
Expand Down
2 changes: 1 addition & 1 deletion utbk10.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{utbk10.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xpt{17}%
Expand Down
2 changes: 1 addition & 1 deletion utbk11.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{utbk11.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xipt{17}%
Expand Down
2 changes: 1 addition & 1 deletion utbk12.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{utbk12.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{18}%
Expand Down
8 changes: 5 additions & 3 deletions utbook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{utbook}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -763,12 +763,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}}}%
\@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
Expand Down
8 changes: 5 additions & 3 deletions utreport.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesClass{utreport}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -759,12 +759,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}}}%
\@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
Expand Down
2 changes: 1 addition & 1 deletion utsize10.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{utsize10.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xpt{17}%
Expand Down
2 changes: 1 addition & 1 deletion utsize11.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{utsize11.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xipt{17}%
Expand Down
2 changes: 1 addition & 1 deletion utsize12.clo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
%% File: ujclasses.dtx
\NeedsTeXFormat{pLaTeX2e}
\ProvidesFile{utsize12.clo}
[2018/07/03 v1.8-u00
[2018/10/25 v1.8a-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{18}%
Expand Down

0 comments on commit e5b96d5

Please sign in to comment.