From bda7808e736ec9964636ba6c2ba585c59668c110 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 8 Oct 2016 23:36:15 +0000 Subject: jsclasses (8oct16) git-svn-id: svn://tug.org/texlive/trunk@42237 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/platex/jsclasses/README.md | 2 +- .../texmf-dist/doc/platex/jsclasses/jsclasses.pdf | Bin 431117 -> 433005 bytes .../texmf-dist/doc/platex/jsclasses/okumacro.pdf | Bin 191536 -> 195307 bytes .../source/platex/jsclasses/jsclasses.dtx | 29 ++++++++++++++++++--- .../source/platex/jsclasses/okumacro.dtx | 27 ++++++++++++++----- .../texmf-dist/tex/platex/jsclasses/jsarticle.cls | 8 +++--- Master/texmf-dist/tex/platex/jsclasses/jsbook.cls | 12 ++++----- Master/texmf-dist/tex/platex/jsclasses/jspf.cls | 8 ++---- Master/texmf-dist/tex/platex/jsclasses/kiyou.cls | 10 +++---- .../texmf-dist/tex/platex/jsclasses/okumacro.sty | 7 ++++- Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc | 1 + 11 files changed, 70 insertions(+), 34 deletions(-) (limited to 'Master') diff --git a/Master/texmf-dist/doc/platex/jsclasses/README.md b/Master/texmf-dist/doc/platex/jsclasses/README.md index da36d870fb9..fee6df2f708 100644 --- a/Master/texmf-dist/doc/platex/jsclasses/README.md +++ b/Master/texmf-dist/doc/platex/jsclasses/README.md @@ -17,7 +17,7 @@ by running platex on the .dtx files. ## Release Date -2016-09-08 +2016-10-08 Haruhiko Okumura, Japanese TeX Development Community diff --git a/Master/texmf-dist/doc/platex/jsclasses/jsclasses.pdf b/Master/texmf-dist/doc/platex/jsclasses/jsclasses.pdf index 23de1071d0a..1cac40d4bb3 100644 Binary files a/Master/texmf-dist/doc/platex/jsclasses/jsclasses.pdf and b/Master/texmf-dist/doc/platex/jsclasses/jsclasses.pdf differ diff --git a/Master/texmf-dist/doc/platex/jsclasses/okumacro.pdf b/Master/texmf-dist/doc/platex/jsclasses/okumacro.pdf index 2e94cc13d08..8d5608328f8 100644 Binary files a/Master/texmf-dist/doc/platex/jsclasses/okumacro.pdf and b/Master/texmf-dist/doc/platex/jsclasses/okumacro.pdf differ diff --git a/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx b/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx index d47bb9666ce..af441d0b001 100644 --- a/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx +++ b/Master/texmf-dist/source/platex/jsclasses/jsclasses.dtx @@ -38,7 +38,7 @@ %<*driver> \ProvidesFile{jsclasses.dtx} % - [2016/09/08 okumura, texjporg] + [2016/10/08 okumura, texjporg] %<*driver> \documentclass{jsarticle} \usepackage{doc} @@ -309,15 +309,20 @@ % % [2016-07-24] オプティカルサイズを調整するためにNFSSへパッチを当てるオプション \texttt{nomag*} を新設しました。 % +% [2016-10-08] \texttt{slide} オプションは article 以外では使い物にならなかったので, +% 簡単のため article のみで使えるオプションとしました。 +% % \begin{macrocode} \newcommand{\@ptsize}{0} \newif\ifjsc@mag\jsc@magtrue \newif\ifjsc@mag@xreal\jsc@mag@xrealfalse \def\jsc@magscale{1} +%<*article> \DeclareOption{slide}{% \@slidetrue\def\jsc@magscale{3.583} \renewcommand{\@ptsize}{26} \@landscapetrue\@titlepagetrue} +% \DeclareOption{8pt}{\def\jsc@magscale{0.833}\renewcommand{\@ptsize}{-2}} \DeclareOption{9pt}{\def\jsc@magscale{0.913}\renewcommand{\@ptsize}{-1}} \DeclareOption{10pt}{\def\jsc@magscale{1}\renewcommand{\@ptsize}{0}} @@ -1891,10 +1896,16 @@ % それ以外で25pt(約8.79mm)になっていました。 % ここでは article は |\footskip| $-$ |\topskip| としました。 % +% [2016-10-08] article の \texttt{slide} のとき, +% および book の非 \texttt{report} と kiyou のときに |\headsep| を +% 減らしそこねていたのを修正しました(2016-08-17での修正漏れ)。 +% % \begin{macrocode} %<*article> \if@slide \setlength\headsep{0\jsc@mpt} + \addtolength\headsep{-\topskip}%% added (2016-10-08) + \addtolength\headsep{10\jsc@mpt}%% added (2016-10-08) \else \setlength\headsep{\footskip} \addtolength\headsep{-\topskip} @@ -1906,6 +1917,8 @@ \addtolength\headsep{-\topskip} \else \setlength\headsep{6\jsc@mmm} + \addtolength\headsep{-\topskip}%% added (2016-10-08) + \addtolength\headsep{10\jsc@mpt}%% added (2016-10-08) \fi % %<*jspf> @@ -1915,6 +1928,8 @@ %<*kiyou> \setlength\headheight{0\jsc@mpt} \setlength\headsep{0\jsc@mpt} +\addtolength\headsep{-\topskip}%% added (2016-10-08) +\addtolength\headsep{10\jsc@mpt}%% added (2016-10-08) % % \end{macrocode} % \end{macro} @@ -2025,6 +2040,9 @@ % [2016-08-26] |\topskip| を10ptから1.38zwに増やしましたので, % その分 |\textheight| を増やします(2016-08-17での修正漏れ)。 % +% [2016-10-08] article の slide のときに |\headheight| はゼロ +% なので,さらに修正しました(2016-08-17での修正漏れ)。 +% % \begin{macrocode} %<*article|book> \if@slide @@ -2032,7 +2050,7 @@ \else \setlength{\textheight}{0.83\paperheight} \fi -\addtolength{\textheight}{-0.5\headheight}%% from -\topskip (2016-08-26); from -\headheight (2003-06-26) +\addtolength{\textheight}{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26) \addtolength{\textheight}{-\headsep} \addtolength{\textheight}{-\footskip} \addtolength{\textheight}{-\topskip} @@ -2145,7 +2163,7 @@ \if@slide \addtolength\topmargin{-\headheight} \else - \addtolength\topmargin{-0.5\headheight}%% from -\topskip (2016-08-17); from -\headheight (2003-06-26) + \addtolength\topmargin{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26) \fi \addtolength\topmargin{-\headsep} \addtolength\topmargin{-\footskip} @@ -5135,6 +5153,11 @@ % [2003-08-15] |\textasteriskcentered| ではフォントによって % 下がりすぎるので変更しました。 % +% [2016-10-08] TODO: 脚注番号が |newtxtext| や |newpxtext| の使用時に +% おかしくなってしまいます。これらのパッケージは内部で |\thefootnote| を +% 再定義していますので,気になる場合はパッケージを読み込むときに +% \texttt{defaultsups} オプションを付けてください(qa:57284, qa:57287)。 +% % \begin{macrocode} \def\thefootnote{\ifnum\c@footnote>\z@\leavevmode\lower.5ex\hbox{*}\@arabic\c@footnote\fi} % \end{macrocode} diff --git a/Master/texmf-dist/source/platex/jsclasses/okumacro.dtx b/Master/texmf-dist/source/platex/jsclasses/okumacro.dtx index f0e608279a5..b2c8e835e87 100644 --- a/Master/texmf-dist/source/platex/jsclasses/okumacro.dtx +++ b/Master/texmf-dist/source/platex/jsclasses/okumacro.dtx @@ -11,7 +11,7 @@ % ていますので,私のものもそれに準じて(modified)BSDとすることにします。 % %\NeedsTeXFormat{pLaTeX2e} -%\ProvidesPackage{okumacro}[2016/08/16 okumura, texjporg] +%\ProvidesPackage{okumacro}[2016/10/08 okumura, texjporg] %<*driver> \documentclass{jsarticle} \usepackage{doc} @@ -46,6 +46,11 @@ % 集めたものです。作っただけでテストもしていないものなども混じっている % 可能性があります。概して他の方にはあまり利用価値がないものです。 % +% [2016-07-30] 従来は,ascmac→okumacroの順に読み込んだ場合にエラーが出て +% いましたが,新しい仕様では,ascmacとokumacroの両方を読み込む場合には +% 「後に読み込んだほう」が勝ちます。 +% 具体的には |\keytop|,|\return|,screen環境,shadebox環境があります。 +% % \section{数値集} % % \begin{itemize} @@ -69,11 +74,6 @@ % % 以下が実際のマクロ集です。 % -% [2016-07-30] 従来は,ascmac→okumacroの順に読み込んだ場合にエラーが出て -% いましたが,新しい仕様では,ascmacとokumacroの両方を読み込む場合には -% 「後に読み込んだほう」が勝ちます。 -% 具体的には |\keytop|,|\return|,screen環境,shadebox環境があります。 -% % \begin{macrocode} %<*okumacro> % \end{macrocode} @@ -99,7 +99,9 @@ % % [2016-08-16] 縦組に対応。 % -% [2016-08-16] 「前に |\kanjiskip| が入らない」「前後の欧文文字との間に |\xkanjiskip| が入らない」「後ろの禁則処理が効かない」問題を解決するために和文ゴースト処理を追加。 +% [2016-08-16] 「前に |\kanjiskip| が入らない」 +% 「前後の欧文文字との間に |\xkanjiskip| が入らない」 +% 「後ろの禁則処理が効かない」問題を解決するために和文ゴースト処理を追加。 % % \begin{macrocode} \providecommand{\rubyfamily}{} @@ -782,6 +784,11 @@ % スクリーン風の環境になりますし,ascmacが勝つ場合は角の丸みを指定できる % スクリーン風の環境になります。 % +% [2016-10-08] 画面出力例がコラム幅を超える場合の対処法として横倍率指定の +% オプションを追加しましたが,同じ枠内に改行可能な文章も含まれる場合に +% 枠の右端から離れた不自然な位置(横倍率を縮めない場合に端にあたっていた +% 位置)で改行していました。これを修正しました。 +% % また,新たにokuscreen環境を追加します。これはascmacと干渉せず,常に横の % 倍率を指定できるスクリーン風の環境になります。 % @@ -792,6 +799,11 @@ \fi \newenvironment{okuscreen}[1][1]% {\def\screensc@le{#1}\@scw=\linewidth \advance \@scw by -20pt + \dimen1=#1\p@\relax + \@tempcnta=\dimen1\relax + \@tempcntb=65536\relax + \divide\@scw by \@tempcnta + \multiply\@scw by \@tempcntb \setbox\scb@x=\hbox\bgroup\begin{minipage}[b]{\@scw}}% % または \setbox\scb@x=\vbox\bgroup\advance \linewidth by -20pt \relax {\end{minipage}\egroup @@ -1118,5 +1130,6 @@ % % ^^A \endinput の後に \CharacterTable を書いておけば,子ファイルには % ^^A 出力されません。チェックは *.dtx を処理したときにしてくれます。 +% ^^A [2016-09-03] →削除しました。 % % \Finale diff --git a/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls b/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls index 386e0287943..5eb2e2829ac 100644 --- a/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls +++ b/Master/texmf-dist/tex/platex/jsclasses/jsarticle.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jsarticle} - [2016/09/08 okumura, texjporg] + [2016/10/08 okumura, texjporg] \def\jsc@clsname{jsarticle} \newif\ifjsc@needsp@tch \jsc@needsp@tchfalse @@ -788,6 +788,8 @@ \fi \if@slide \setlength\headsep{0\jsc@mpt} + \addtolength\headsep{-\topskip}%% added (2016-10-08) + \addtolength\headsep{10\jsc@mpt}%% added (2016-10-08) \else \setlength\headsep{\footskip} \addtolength\headsep{-\topskip} @@ -807,7 +809,7 @@ \else \setlength{\textheight}{0.83\paperheight} \fi -\addtolength{\textheight}{-0.5\headheight}%% from -\topskip (2016-08-26); from -\headheight (2003-06-26) +\addtolength{\textheight}{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26) \addtolength{\textheight}{-\headsep} \addtolength{\textheight}{-\footskip} \addtolength{\textheight}{-\topskip} @@ -847,7 +849,7 @@ \if@slide \addtolength\topmargin{-\headheight} \else - \addtolength\topmargin{-0.5\headheight}%% from -\topskip (2016-08-17); from -\headheight (2003-06-26) + \addtolength\topmargin{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26) \fi \addtolength\topmargin{-\headsep} \addtolength\topmargin{-\footskip} diff --git a/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls b/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls index 03ca22df5ee..02b7cd6796b 100644 --- a/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls +++ b/Master/texmf-dist/tex/platex/jsclasses/jsbook.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jsbook} - [2016/09/08 okumura, texjporg] + [2016/10/08 okumura, texjporg] \def\jsc@clsname{jsbook} \newif\ifjsc@needsp@tch \jsc@needsp@tchfalse @@ -88,10 +88,6 @@ \newif\ifjsc@mag\jsc@magtrue \newif\ifjsc@mag@xreal\jsc@mag@xrealfalse \def\jsc@magscale{1} -\DeclareOption{slide}{% - \@slidetrue\def\jsc@magscale{3.583} - \renewcommand{\@ptsize}{26} - \@landscapetrue\@titlepagetrue} \DeclareOption{8pt}{\def\jsc@magscale{0.833}\renewcommand{\@ptsize}{-2}} \DeclareOption{9pt}{\def\jsc@magscale{0.913}\renewcommand{\@ptsize}{-1}} \DeclareOption{10pt}{\def\jsc@magscale{1}\renewcommand{\@ptsize}{0}} @@ -798,6 +794,8 @@ \addtolength\headsep{-\topskip} \else \setlength\headsep{6\jsc@mmm} + \addtolength\headsep{-\topskip}%% added (2016-10-08) + \addtolength\headsep{10\jsc@mpt}%% added (2016-10-08) \fi \setlength\maxdepth{.5\topskip} \newdimen\fullwidth @@ -822,7 +820,7 @@ \else \setlength{\textheight}{0.83\paperheight} \fi -\addtolength{\textheight}{-0.5\headheight}%% from -\topskip (2016-08-26); from -\headheight (2003-06-26) +\addtolength{\textheight}{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26) \addtolength{\textheight}{-\headsep} \addtolength{\textheight}{-\footskip} \addtolength{\textheight}{-\topskip} @@ -862,7 +860,7 @@ \if@slide \addtolength\topmargin{-\headheight} \else - \addtolength\topmargin{-0.5\headheight}%% from -\topskip (2016-08-17); from -\headheight (2003-06-26) + \addtolength\topmargin{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26) \fi \addtolength\topmargin{-\headsep} \addtolength\topmargin{-\footskip} diff --git a/Master/texmf-dist/tex/platex/jsclasses/jspf.cls b/Master/texmf-dist/tex/platex/jsclasses/jspf.cls index 145c95b6d34..0373546d5da 100644 --- a/Master/texmf-dist/tex/platex/jsclasses/jspf.cls +++ b/Master/texmf-dist/tex/platex/jsclasses/jspf.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{jspf} - [2016/09/08 okumura, texjporg] + [2016/10/08 okumura, texjporg] \def\jsc@clsname{jspf} \newif\ifjsc@needsp@tch \jsc@needsp@tchfalse @@ -86,10 +86,6 @@ \newif\ifjsc@mag\jsc@magtrue \newif\ifjsc@mag@xreal\jsc@mag@xrealfalse \def\jsc@magscale{1} -\DeclareOption{slide}{% - \@slidetrue\def\jsc@magscale{3.583} - \renewcommand{\@ptsize}{26} - \@landscapetrue\@titlepagetrue} \DeclareOption{8pt}{\def\jsc@magscale{0.833}\renewcommand{\@ptsize}{-2}} \DeclareOption{9pt}{\def\jsc@magscale{0.913}\renewcommand{\@ptsize}{-1}} \DeclareOption{10pt}{\def\jsc@magscale{1}\renewcommand{\@ptsize}{0}} @@ -822,7 +818,7 @@ \if@slide \addtolength\topmargin{-\headheight} \else - \addtolength\topmargin{-0.5\headheight}%% from -\topskip (2016-08-17); from -\headheight (2003-06-26) + \addtolength\topmargin{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26) \fi \addtolength\topmargin{-\headsep} \addtolength\topmargin{-\footskip} diff --git a/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls b/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls index 49e2a07b7f0..ba4c2492d8c 100644 --- a/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls +++ b/Master/texmf-dist/tex/platex/jsclasses/kiyou.cls @@ -22,7 +22,7 @@ %% in the same archive or directory.) \NeedsTeXFormat{pLaTeX2e} \ProvidesClass{kiyou} - [2016/09/08 okumura, texjporg] + [2016/10/08 okumura, texjporg] \def\jsc@clsname{kiyou} \newif\ifjsc@needsp@tch \jsc@needsp@tchfalse @@ -86,10 +86,6 @@ \newif\ifjsc@mag\jsc@magtrue \newif\ifjsc@mag@xreal\jsc@mag@xrealfalse \def\jsc@magscale{1} -\DeclareOption{slide}{% - \@slidetrue\def\jsc@magscale{3.583} - \renewcommand{\@ptsize}{26} - \@landscapetrue\@titlepagetrue} \DeclareOption{8pt}{\def\jsc@magscale{0.833}\renewcommand{\@ptsize}{-2}} \DeclareOption{9pt}{\def\jsc@magscale{0.913}\renewcommand{\@ptsize}{-1}} \DeclareOption{10pt}{\def\jsc@magscale{1}\renewcommand{\@ptsize}{0}} @@ -799,6 +795,8 @@ \fi \setlength\headheight{0\jsc@mpt} \setlength\headsep{0\jsc@mpt} +\addtolength\headsep{-\topskip}%% added (2016-10-08) +\addtolength\headsep{10\jsc@mpt}%% added (2016-10-08) \setlength\maxdepth{.5\topskip} \newdimen\fullwidth \setlength\fullwidth{48zw} @@ -839,7 +837,7 @@ \if@slide \addtolength\topmargin{-\headheight} \else - \addtolength\topmargin{-0.5\headheight}%% from -\topskip (2016-08-17); from -\headheight (2003-06-26) + \addtolength\topmargin{-10\jsc@mpt}%% from -\topskip (2016-10-08); from -\headheight (2003-06-26) \fi \addtolength\topmargin{-\headsep} \addtolength\topmargin{-\footskip} diff --git a/Master/texmf-dist/tex/platex/jsclasses/okumacro.sty b/Master/texmf-dist/tex/platex/jsclasses/okumacro.sty index 1fe7a935afe..4190b96dacc 100644 --- a/Master/texmf-dist/tex/platex/jsclasses/okumacro.sty +++ b/Master/texmf-dist/tex/platex/jsclasses/okumacro.sty @@ -21,7 +21,7 @@ %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \NeedsTeXFormat{pLaTeX2e} -\ProvidesPackage{okumacro}[2016/08/16 okumura, texjporg] +\ProvidesPackage{okumacro}[2016/10/08 okumura, texjporg] \providecommand{\rubyfamily}{} \def\kanjistrut{\iftdir \vrule \@height0.5zw \@depth0.5zw \@width\z@ @@ -300,6 +300,11 @@ \fi \newenvironment{okuscreen}[1][1]% {\def\screensc@le{#1}\@scw=\linewidth \advance \@scw by -20pt + \dimen1=#1\p@\relax + \@tempcnta=\dimen1\relax + \@tempcntb=65536\relax + \divide\@scw by \@tempcnta + \multiply\@scw by \@tempcntb \setbox\scb@x=\hbox\bgroup\begin{minipage}[b]{\@scw}}% % または \setbox\scb@x=\vbox\bgroup\advance \linewidth by -20pt \relax {\end{minipage}\egroup diff --git a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc index 51a9886741f..1fd00dcb687 100644 --- a/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-bibtexextra.tlpsrc @@ -37,6 +37,7 @@ depend biblatex-ieee depend biblatex-ijsra depend biblatex-iso690 depend biblatex-juradiss +depend biblatex-lni depend biblatex-luh-ipw depend biblatex-manuscripts-philology depend biblatex-mla -- cgit v1.2.3