Skip to content

Commit

Permalink
sync with platex (d7ac4d1) (texjporg/jsclasses#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
aminophen committed Jan 13, 2018
1 parent ff04e55 commit 0d8d1c0
Show file tree
Hide file tree
Showing 25 changed files with 56 additions and 28 deletions.
2 changes: 1 addition & 1 deletion jt2gt.fd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%%
%% File: uplfonts.dtx
\ProvidesFile{jt2gt.fd}
[2011/05/07 v1.5-u00 KANJI font defines]
[2018/01/13 v1.6l-u02 KANJI font defines]
\DeclareKanjiFamily{JT2}{gt}{}
\DeclareRelationFont{JT2}{gt}{m}{}{T1}{cmr}{bx}{}
\DeclareFontShape{JT2}{gt}{m}{n}{<->s*[0.962216]upjisg-v}{}
Expand Down
2 changes: 1 addition & 1 deletion jt2mc.fd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%%
%% File: uplfonts.dtx
\ProvidesFile{jt2mc.fd}
[2011/05/07 v1.5-u00 KANJI font defines]
[2018/01/13 v1.6l-u02 KANJI font defines]
\DeclareKanjiFamily{JT2}{mc}{}
\DeclareRelationFont{JT2}{mc}{m}{}{T1}{cmr}{m}{}
\DeclareRelationFont{JT2}{mc}{bx}{}{T1}{cmr}{bx}{}
Expand Down
2 changes: 1 addition & 1 deletion jy2gt.fd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%%
%% File: uplfonts.dtx
\ProvidesFile{jy2gt.fd}
[2011/05/07 v1.5-u00 KANJI font defines]
[2018/01/13 v1.6l-u02 KANJI font defines]
\DeclareKanjiFamily{JY2}{gt}{}
\DeclareRelationFont{JY2}{gt}{m}{}{T1}{cmr}{bx}{}
\DeclareFontShape{JY2}{gt}{m}{n}{<->s*[0.962216]upjisg-h}{}
Expand Down
2 changes: 1 addition & 1 deletion jy2mc.fd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%%
%% File: uplfonts.dtx
\ProvidesFile{jy2mc.fd}
[2011/05/07 v1.5-u00 KANJI font defines]
[2018/01/13 v1.6l-u02 KANJI font defines]
\DeclareKanjiFamily{JY2}{mc}{}
\DeclareRelationFont{JY2}{mc}{m}{}{T1}{cmr}{m}{}
\DeclareRelationFont{JY2}{mc}{bx}{}{T1}{cmr}{bx}{}
Expand Down
3 changes: 2 additions & 1 deletion 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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -124,6 +124,7 @@
\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final}
\ProcessOptions\relax
\input{ujsize1\@ptsize.clo}
\def\Cjascale{0.962216}
\if@stysize
\setlength\columnsep{2\Cwd}
\else
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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{16.5}%
Expand Down
3 changes: 2 additions & 1 deletion 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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -134,6 +134,7 @@
\ExecuteOptions{a4paper,10pt,twoside,onecolumn,final,openright}
\ProcessOptions\relax
\input{ujbk1\@ptsize.clo}
\def\Cjascale{0.962216}
\if@stysize
\setlength\columnsep{2\Cwd}
\else
Expand Down
19 changes: 18 additions & 1 deletion ujclasses.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@
% \changes{v1.7f}{2017/08/31}{和文書体の基準を全角空白から「漢」に変更}
% \changes{v1.7g}{2017/09/19}{内部処理で使ったボックス0を空にした}
% \changes{v1.7g-u00}{2017/09/19}{p\LaTeX{}用に追随}
% \changes{v1.7h}{2018/01/13}{和文スケール値\cs{Cjascale}を定義}
% \changes{v1.7h-u00}{2018/01/13}{p\LaTeX{}用に追随}
% \fi
%
% \iffalse
Expand Down Expand Up @@ -132,7 +134,7 @@
%<11pt&bk>\ProvidesFile{utbk11.clo}
%<12pt&bk>\ProvidesFile{utbk12.clo}
%</tate>
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
%<article|report|book> Standard upLaTeX class]
%<10pt|11pt|12pt> Standard upLaTeX file (size option)]
%<*driver>
Expand Down Expand Up @@ -766,6 +768,21 @@
% \end{macro}
% \end{macro}
%
% \begin{macro}{\Cjascale}
% 和文スケール値($1\,\mathrm{zw} \div \textmc{要求サイズ}$)を
% 表す実数値マクロ|\Cjascale|を定義します。
% up\LaTeXe{}の標準クラスでは、フォーマット作成時に読み込まれた
% フォント定義ファイル(\file{jy2mc.fd} / \file{jy2gt.fd} /
% \file{jt2mc.fd} / \file{jt2gt.fd})での和文スケール値がそのまま
% 有効ですので、これは0.962216です。
% \changes{v1.7h}{2018/01/13}{和文スケール値\cs{Cjascale}を定義}
% \begin{macrocode}
%<*article|report|book>
\def\Cjascale{0.962216}
%</article|report|book>
% \end{macrocode}
% \end{macro}
%
%
%
% \section{レイアウト}
Expand Down
3 changes: 2 additions & 1 deletion 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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -132,6 +132,7 @@
\ExecuteOptions{a4paper,10pt,oneside,onecolumn,final,openany}
\ProcessOptions\relax
\input{ujsize1\@ptsize.clo}
\def\Cjascale{0.962216}
\if@stysize
\setlength\columnsep{2\Cwd}
\else
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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{16.5}%
Expand Down
2 changes: 1 addition & 1 deletion upldefs.ltx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
%%
%% File: uplfonts.dtx
\ProvidesFile{upldefs.ltx}
[2017/11/06 v1.6j-u00 upLaTeX Kernel (Default settings)]
[2018/01/13 v1.6l-u02 upLaTeX Kernel (Default settings)]
\DeclareKanjiEncodingDefaults{}{}
\DeclareErrorKanjiFont{JY2}{mc}{m}{n}{10}
\DeclareYokoKanjiEncoding{JY2}{}{}
Expand Down
13 changes: 9 additions & 4 deletions uplfonts.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@
% ptraceパッケージを読み込むだけとした}
% \changes{v1.6k-u02}{2017/12/10}{p\LaTeX{}との統合のため、
% up\LaTeX{}用の最小限の変更だけを定義するようにした}
% \changes{v1.6l-u02}{2018/01/13}{p\LaTeX{}の変更に追随。
% (based on plfonts.dtx 2018/01/13 v1.6l)}
% \fi
%
% \iffalse
%<*driver>
\NeedsTeXFormat{pLaTeX2e}
% \fi
\ProvidesFile{uplfonts.dtx}[2017/12/10 v1.6k-u02 upLaTeX New Font Selection Scheme]
\ProvidesFile{uplfonts.dtx}[2018/01/13 v1.6l-u02 upLaTeX New Font Selection Scheme]
% \iffalse
\documentclass{jltxdoc}
\GetFileInfo{uplfonts.dtx}
Expand Down Expand Up @@ -161,7 +163,7 @@
% \begin{macrocode}
%<*pldefs>
\ProvidesFile{upldefs.ltx}
[2017/11/06 v1.6j-u00 upLaTeX Kernel (Default settings)]
[2018/01/13 v1.6l-u02 upLaTeX Kernel (Default settings)]
%</pldefs>
% \end{macrocode}
%
Expand Down Expand Up @@ -214,7 +216,7 @@
\input{jt2mc.fd}
\input{jt2gt.fd}
% \end{macrocode}
% フォントを有効にする
% フォントを有効にします。
% \begin{macrocode}
\fontencoding{JT2}\selectfont
\fontencoding{JY2}\selectfont
Expand Down Expand Up @@ -403,7 +405,7 @@
%<JY2gt>\ProvidesFile{jy2gt.fd}
%<JT2mc>\ProvidesFile{jt2mc.fd}
%<JT2gt>\ProvidesFile{jt2gt.fd}
%<JY2mc,JY2gt,JT2mc,JT2gt> [2011/05/07 v1.5-u00 KANJI font defines]
%<JY2mc,JY2gt,JT2mc,JT2gt> [2018/01/13 v1.6l-u02 KANJI font defines]
% \end{macrocode}
% 横組用、縦組用ともに、
% 明朝体のシリーズ|bx|がゴシック体となるように宣言しています。
Expand All @@ -413,6 +415,9 @@
%
% p\LaTeX{}では従属書体にOT1エンコーディングを指定していましたが、
% up\LaTeX{}ではT1エンコーディングを用いるように変更しました。
% また、和文スケール値($1\,\mathrm{zw} \div \textmc{要求サイズ}$)は
% 0.962216です。
% \changes{v1.6l}{2018/01/13}{和文スケール値を明文化}
% \begin{macrocode}
%<*JY2mc>
\DeclareKanjiFamily{JY2}{mc}{}
Expand Down
3 changes: 2 additions & 1 deletion 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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -125,6 +125,7 @@
\ProcessOptions\relax
\input{utsize1\@ptsize.clo}
\RequirePackage{plext}
\def\Cjascale{0.962216}
\if@stysize
\setlength\columnsep{3\Cwd}
\else
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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{18}%
Expand Down
3 changes: 2 additions & 1 deletion 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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -135,6 +135,7 @@
\ProcessOptions\relax
\input{utbk1\@ptsize.clo}
\RequirePackage{plext}
\def\Cjascale{0.962216}
\if@stysize
\setlength\columnsep{3\Cwd}
\else
Expand Down
3 changes: 2 additions & 1 deletion 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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX class]
\newcounter{@paper}
\newif\if@landscape \@landscapefalse
Expand Down Expand Up @@ -133,6 +133,7 @@
\ProcessOptions\relax
\input{utsize1\@ptsize.clo}
\RequirePackage{plext}
\def\Cjascale{0.962216}
\if@stysize
\setlength\columnsep{3\Cwd}
\else
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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-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}
[2017/09/19 v1.7g-u00
[2018/01/13 v1.7h-u00
Standard upLaTeX file (size option)]
\renewcommand{\normalsize}{%
\@setfontsize\normalsize\@xiipt{18}%
Expand Down

0 comments on commit 0d8d1c0

Please sign in to comment.