diff options
author | Karl Berry <karl@freefriends.org> | 2016-05-09 23:46:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-05-09 23:46:07 +0000 |
commit | a0fe732c51650716b95c145d4c68cbe7138f83d4 (patch) | |
tree | ec1711f4aa1db3e9f60ee468741d773f7ec5eb96 /Master/texmf-dist/source/platex/base/plvers.dtx | |
parent | c143a4632d967b1831be9a77ea54f6ceac5da3ec (diff) |
platex (9may16)
git-svn-id: svn://tug.org/texlive/trunk@40992 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/platex/base/plvers.dtx')
-rw-r--r-- | Master/texmf-dist/source/platex/base/plvers.dtx | 289 |
1 files changed, 208 insertions, 81 deletions
diff --git a/Master/texmf-dist/source/platex/base/plvers.dtx b/Master/texmf-dist/source/platex/base/plvers.dtx index 3a3b00400b6..c08355c420f 100644 --- a/Master/texmf-dist/source/platex/base/plvers.dtx +++ b/Master/texmf-dist/source/platex/base/plvers.dtx @@ -1,14 +1,16 @@ -% \iffalse meta-comment -%% File: plvers +% \iffalse meta-comment +%% File: plvers.dtx % % Copyright 1995-2006 ASCII Corporation. +% Copyright (c) 2010 ASCII MEDIA WORKS +% Copyright (c) 2016 Japanese TeX Development Community % -% This file is part of the pLaTeX2e system. -% ----------------------------------------- +% This file is part of the pLaTeX2e system (community edition). +% ------------------------------------------------------------- % % \fi % -% \CheckSum{92} +% \CheckSum{204} %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z @@ -30,15 +32,44 @@ % \StopEventually{} % % \iffalse +% \changes{v1.0}{1995/05/16}{p\LaTeXe\ $BMQ$K(B\file{ltvers.dtx}$B$r=$@5(B} +% \changes{v1.0a}{1995/08/30}{\LaTeX\ \texttt{!<1995/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0b}{1996/01/31}{\LaTeX\ \texttt{!<1995/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0c}{1997/01/11}{\LaTeX\ \texttt{!<1996/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0d}{1997/01/23}{\LaTeX\ \texttt{!<1996/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0e}{1997/07/02}{\LaTeX\ \texttt{!<1997/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0f}{1998/02/17}{\LaTeX\ \texttt{!<1997/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0g}{1998/09/01}{\LaTeX\ \texttt{!<1998/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0h}{1999/04/05}{\LaTeX\ \texttt{!<1998/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0i}{1999/08/09}{\LaTeX\ \texttt{!<1999/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0j}{2000/02/29}{\LaTeX\ \texttt{!<1999/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0k}{2000/11/03}{\LaTeX\ \texttt{!<2000/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0l}{2001/09/04}{\LaTeX\ \texttt{!<2001/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0m}{2004/08/10}{\LaTeX\ \texttt{!<2003/12/01!>}$BHGBP1~3NG'(B} +% \changes{v1.0n}{2005/01/04}{plfonts.dtx$B%P%0=$@5(B} +% \changes{v1.0o}{2006/01/04}{plfonts.dtx$B%P%0=$@5(B} +% \changes{v1.0p}{2006/06/27}{plfonts.dtx \LaTeX\ \texttt{!<2005/12/01!>}$BBP1~(B} +% \changes{v1.0q}{2006/11/10}{plfonts.dtx$B%P%0=$@5(B} +% \changes{v1.0r}{2016/01/26}{plcore.dtx p\TeX\ (r28720)$BBP1~(B} +% \changes{v1.0s}{2016/02/01}{\LaTeX\ \texttt{!<2015/01/01!>}$B$N(Blatexrelease$B$K(B +% $BBP1~$9$k$?$a$N%3!<%I$rF3F~(B} +% \changes{v1.0t}{2016/02/03}{\cs{plIncludeInRelease}$B$H(B +% \cs{plEndIncludeInRelease}$B$r?7@_!#(B} +% \changes{v1.0u}{2016/04/17}{\LaTeX\ \texttt{!<2016/03/31!>}$BHGBP1~3NG'(B} +% \changes{v1.0v}{2016/05/07}{$B%Q%C%A%U%!%$%k$r%m!<%I$9$k$N$r$d$a$?!#(B} +% \changes{v1.0v}{2016/05/07}{$B5/F0;~$NJ8;zNs$r:G?7$N(B\LaTeX{}$B$K9g$o$;$?!#(B} +% \fi +% +% \iffalse %<*driver> % \fi -\ProvidesFile{plvers.dtx}[2006/11/10 v1.0q pLaTeX Kernel (Version Info)] +\ProvidesFile{plvers.dtx}[2016/05/07 v1.0v pLaTeX Kernel (Version Info)] % \iffalse \documentclass{jltxdoc} \GetFileInfo{plvers.dtx} \author{Ken Nakano \& Hideaki Togashi} \title{\filename} -\date{作成日:\filedate} +\date{$B:n@.F|!'(B\filedate} \begin{document} \maketitle \DocInput{\filename} @@ -46,93 +77,114 @@ %</driver> % \fi % -% \section{バージョンの設定} -% まず、このディストリビューションでのp\LaTeXe{}の日付とバージョン番号 -% を定義します。また、p\LaTeXe{}が起動されたときに表示される文字列の -% 設定もします。 -% -% \changes{v1.0}{1995/05/16}{p\LaTeXe\ 用に\file{ltvers.dtx}を修正} -% \changes{v1.0a}{1995/08/30}{\LaTeX\ \texttt{!<1995/06/01!>}版用に修正} -% \changes{v1.0b}{1996/01/31}{\LaTeX\ \texttt{!<1995/12/01!>}版用に修正} -% \changes{v1.0c}{1997/01/11}{\LaTeX\ \texttt{!<1996/06/01!>}版用に修正} -% \changes{v1.0d}{1997/01/23}{\LaTeX\ \texttt{!<1996/12/01!>}版用に修正} -% \changes{v1.0e}{1997/07/02}{\LaTeX\ \texttt{!<1997/06/01!>}版用に修正} -% \changes{v1.0f}{1998/02/17}{\LaTeX\ \texttt{!<1997/12/01!>}版用に修正} -% \changes{v1.0g}{1998/09/01}{\LaTeX\ \texttt{!<1998/06/01!>}版用に修正} -% \changes{v1.0h}{1999/04/05}{\LaTeX\ \texttt{!<1998/12/01!>}版用に修正} -% \changes{v1.0i}{1999/08/09}{\LaTeX\ \texttt{!<1999/06/01!>}版用に修正} -% \changes{v1.0j}{2000/02/29}{\LaTeX\ \texttt{!<1999/12/01!>}版用に修正} -% \changes{v1.0k}{2000/11/03}{\LaTeX\ \texttt{!<2000/06/01!>}版用に修正} -% \changes{v1.0l}{2001/09/04}{\LaTeX\ \texttt{!<2001/06/01!>}版用に修正} -% \changes{v1.0m}{2004/08/10}{\LaTeX\ \texttt{!<2003/12/01!>}版対応確認} -% \changes{v1.0n}{2005/01/04}{plfonts.dtxバグ修正} -% \changes{v1.0o}{2006/01/04}{plfonts.dtxバグ修正} -% \changes{v1.0p}{2006/06/27}{plfonts.dtx LaTeX <2005/12/01>対応} -% \changes{v1.0q}{2006/11/10}{plfonts.dtxバグ修正} -% -% このバージョンのp\LaTeXe{}は、次のバージョンの\LaTeX{}\footnote{% -% LaTeX authors: Johannes Braams, David Carlisle, Alan Jeffrey, -% Leslie Lamport, Frank Mittelbach, Chris Rowley, Rainer Sch\"opf}を -% もとにしています。 +% \section{$B%P!<%8%g%s$N@_Dj(B} +% $B$^$:!"$3$N%G%#%9%H%j%S%e!<%7%g%s$G$N(Bp\LaTeXe{}$B$NF|IU$H%P!<%8%g%sHV9f(B +% $B$rDj5A$7$^$9!#$^$?!"(Bp\LaTeXe{}$B$,5/F0$5$l$?$H$-$KI=<($5$l$kJ8;zNs$N(B +% $B@_Dj$b$7$^$9!#(B +% +% \changes{v1.0}{1995/05/16}{p\LaTeXe\ $BMQ$K(B\file{ltvers.dtx}$B$r=$@5(B} +% \changes{v1.0a}{1995/08/30}{\LaTeX\ \texttt{!<1995/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0b}{1996/01/31}{\LaTeX\ \texttt{!<1995/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0c}{1997/01/11}{\LaTeX\ \texttt{!<1996/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0d}{1997/01/23}{\LaTeX\ \texttt{!<1996/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0e}{1997/07/02}{\LaTeX\ \texttt{!<1997/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0f}{1998/02/17}{\LaTeX\ \texttt{!<1997/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0g}{1998/09/01}{\LaTeX\ \texttt{!<1998/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0h}{1999/04/05}{\LaTeX\ \texttt{!<1998/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0i}{1999/08/09}{\LaTeX\ \texttt{!<1999/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0j}{2000/02/29}{\LaTeX\ \texttt{!<1999/12/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0k}{2000/11/03}{\LaTeX\ \texttt{!<2000/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0l}{2001/09/04}{\LaTeX\ \texttt{!<2001/06/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0m}{2004/08/10}{\LaTeX\ \texttt{!<2003/12/01!>}$BHGBP1~3NG'(B} +% \changes{v1.0s}{2016/02/01}{\LaTeX\ \texttt{!<2015/01/01!>}$BHGMQ$K=$@5(B} +% \changes{v1.0u}{2016/04/17}{\LaTeX\ \texttt{!<2016/03/31!>}$BHGBP1~3NG'(B} +% +% $B$3$N%P!<%8%g%s$N(Bp\LaTeXe{}$B$O!"<!$N%P!<%8%g%s$N(B\LaTeX{}\footnote{% +% \LaTeX\ authors: Johannes Braams, David Carlisle, Alan Jeffrey, +% Leslie Lamport, Frank Mittelbach, Chris Rowley, Rainer Sch\"opf}$B$r(B +% $B$b$H$K$7$F$$$^$9!#(B % \begin{macrocode} -%<2ekernel>\def\fmtname{LaTeX2e} -%<2ekernel>\def\fmtversion{2003/12/01} +%<*2ekernel> +%\def\fmtname{LaTeX2e} +%\edef\fmtversion +%</2ekernel> +%<latexrelease>\edef\latexreleaseversion +%<platexrelease>\edef\p@known@latexreleaseversion +%<*2ekernel|latexrelease|platexrelease> + {2016/03/31} +%</2ekernel|latexrelease|platexrelease> % \end{macrocode} % -% p\LaTeXe{}のフォーマットファイル名とバージョンです。 +% p\LaTeXe{}$B$N%U%)!<%^%C%H%U%!%$%kL>$H%P!<%8%g%s$G$9!#(B % +% \begin{macro}{\pfmtname} +% \begin{macro}{\pfmtversion} % \begin{macrocode} %<*plcore> \def\pfmtname{pLaTeX2e} -\def\pfmtversion{2006/11/10} +\def\pfmtversion %</plcore> +%<platexrelease>\edef\platexreleaseversion +%<*plcore|platexrelease> + {2016/05/07} +%</plcore|platexrelease> % \end{macrocode} +% \end{macro} +% \end{macro} % -% \subsection{パッチファイルのロード} +% \subsection{$B%Q%C%A%U%!%$%k$N%m!<%I(B} % -% 次の部分は、p\LaTeXe{}のパッチファイルをロードするためのコードです。 -% バグを修正するためのパッチを配布するかもしれません。 +% $B<!$NItJ,$O!"(Bp\LaTeXe{}$B$N%Q%C%A%U%!%$%k$r%m!<%I$9$k$?$a$N%3!<%I$G$9!#(B +% $B%P%0$r=$@5$9$k$?$a$N%Q%C%A$rG[I[$9$k$+$b$7$l$^$;$s!#(B +% +% $B%Q%C%A%U%!%$%k$r%m!<%I$9$k%3!<%I$O%3%a%s%H%"%&%H$7$^$7$?!#(B +% \changes{v1.0v}{2016/05/07}{$B%Q%C%A%U%!%$%k$r%m!<%I$9$k$N$r$d$a$?!#(B} % \begin{macrocode} %<*plfinal> -\IfFileExists{plpatch.ltx} - {\typeout{************************************^^J% - * Appliying patch file plpatch.ltx *^^J% - ************************************} - \def\pfmtversion@topatch{unknown} - \input{plpatch.ltx} - \ifx\pfmtversion\pfmtversion@topatch - \ifx\ppatch@level\@undefined - \typeout{^^J^^J^^J% - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% - !! Patch file `plpatch.ltx' (for version <\pfmtversion@topatch>)^^J% - !! is not suitable for version <\pfmtversion> of pLaTeX.^^J^^J% - !! Please check if iniptex found an old patch file:^^J% - !! --- if so, rename it or delete it, and redo the^^J% - !! iniptex run.^^J% - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J}% - \batchmode \@@end - \fi - \else - \typeout{^^J^^J^^J% - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% - !! Patch file `plpatch.ltx' (for version <\pfmtversion@topatch>)^^J% - !! is not suitable for version <\pfmtversion> of pLaTeX.^^J% - !!^^J% - !! Please check if iniptex found an old patch file:^^J% - !! --- if so, rename it or delete it, and redo the^^J% - !! iniptex run.^^J% - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J}% - \batchmode \@@end - \fi - \let\pfmtversion@topatch\relax - }{} +%\IfFileExists{plpatch.ltx} +% {\typeout{************************************^^J% +% * Appliying patch file plpatch.ltx *^^J% +% ************************************} +% \def\pfmtversion@topatch{unknown} +% \input{plpatch.ltx} +% \ifx\pfmtversion\pfmtversion@topatch +% \ifx\ppatch@level\@undefined +% \typeout{^^J^^J^^J% +% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% +% !! Patch file `plpatch.ltx' (for version <\pfmtversion@topatch>)^^J% +% !! is not suitable for version <\pfmtversion> of pLaTeX.^^J^^J% +% !! Please check if iniptex found an old patch file:^^J% +% !! --- if so, rename it or delete it, and redo the^^J% +% !! iniptex run.^^J% +% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J}% +% \batchmode \@@end +% \fi +% \else +% \typeout{^^J^^J^^J% +% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J% +% !! Patch file `plpatch.ltx' (for version <\pfmtversion@topatch>)^^J% +% !! is not suitable for version <\pfmtversion> of pLaTeX.^^J% +% !!^^J% +% !! Please check if iniptex found an old patch file:^^J% +% !! --- if so, rename it or delete it, and redo the^^J% +% !! iniptex run.^^J% +% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!^^J}% +% \batchmode \@@end +% \fi +% \let\pfmtversion@topatch\relax +% }{} % \end{macrocode} % -% 起動時に表示される文字列です。 -% \LaTeX{}にパッチがあてられている場合は、それも表示します。 +% $B5/F0;~$KI=<($5$l$kJ8;zNs$G$9!#(B +% \LaTeX{}$B$K%Q%C%A$,$"$F$i$l$F$$$k>l9g$O!"$=$l$bI=<($7$^$9!#(B +% \changes{v1.0v}{2016/05/07}{$B5/F0;~$NJ8;zNs$r:G?7$N(B\LaTeX{}$B$K9g$o$;$?!#(B} % \begin{macrocode} -\ifx\patch@level\@undefined - \ifx\ppatch@level\@undefined +\ifx\patch@level\@undefined % fallback if undefined in LaTeX + \def\patch@level{0}\fi +\ifx\ppatch@level\@undefined % fallback if undefined in pLaTeX + \def\ppatch@level{0}\fi +\ifnum\patch@level=0 + \ifnum\ppatch@level=0 \everyjob{\typeout{% \pfmtname\space<\pfmtversion>\space (based on \fmtname\space<\fmtversion>)}} @@ -141,8 +193,8 @@ \pfmtname\space<\pfmtversion>+\ppatch@level\space (based on \fmtname\space<\fmtversion>)}} \fi -\else - \ifx\ppatch@level\@undefined +\else\ifnum\patch@level>0 + \ifnum\ppatch@level=0 \everyjob{\typeout{% \pfmtname\space<\pfmtversion>\space (based on \fmtname\space<\fmtversion>\space @@ -153,7 +205,82 @@ (based on \fmtname\space<\fmtversion>\space patch level \patch@level)}} \fi -\fi +\else + \ifnum\ppatch@level=0 + \everyjob{\typeout{% + \pfmtname\space<\pfmtversion>\space + (based on \fmtname\space<\fmtversion>\space + pre-release\patch@level)}} + \else + \everyjob{\typeout{% + \pfmtname\space<\pfmtversion>+\ppatch@level\space + (based on \fmtname\space<\fmtversion>\space + pre-release\patch@level)}} + \fi +\fi\fi +%</plfinal> +% \end{macrocode} +% +% \subsection{latexrelease$B%Q%C%1!<%8$X$NBP1~(B} +% +% $B:G8e$K!"(Blatexrelease$B%Q%C%1!<%8$X$NBP1~$G$9!#(B +% \begin{macro}{\plIncludeInRelease} +% \changes{v1.0t}{2016/02/03}{\cs{plIncludeInRelease}$B$H(B +% \cs{plEndIncludeInRelease}$B$r?7@_!#(B} +% \begin{macrocode} +%<*plcore|platexrelease> +\def\plIncludeInRelease#1{\kernel@ifnextchar[% + {\@plIncludeInRelease{#1}} + {\@plIncludeInRelease{#1}[#1]}} +% \end{macrocode} +% +% \begin{macrocode} +\def\@plIncludeInRelease#1[#2]{\@plIncludeInRele@se{#2}} +% \end{macrocode} +% +% \begin{macrocode} +\def\@plIncludeInRele@se#1#2#3{% + \toks@{[#1] #3}% + \expandafter\ifx\csname\string#2+\@currname+IIR\endcsname\relax + \ifnum\expandafter\@parse@version#1//00\@nil + >\expandafter\@parse@version\pfmtversion//00\@nil + \GenericInfo{}{Skipping: \the\toks@}% + \expandafter\expandafter\expandafter\@gobble@plIncludeInRelease + \else + \GenericInfo{}{Applying: \the\toks@}% + \expandafter\let\csname\string#2+\@currname+IIR\endcsname\@empty + \fi + \else + \GenericInfo{}{Already applied: \the\toks@}% + \expandafter\@gobble@plIncludeInRelease + \fi +} +% \end{macrocode} +% +% \begin{macrocode} +\long\def\@gobble@plIncludeInRelease#1\plEndIncludeInRelease{} +\let\plEndIncludeInRelease\relax +%</plcore|platexrelease> +% \end{macrocode} +% \end{macro} +% +% \LaTeXe{}$B$,Ds6!$9$k(Blatexrelease$B%Q%C%1!<%8$,FI$_9~$^$l$F$$$F!"(B +% $B$+$D(Bp\LaTeXe{}$B$,Ds6!$9$k(Bplatexrelease$B%Q%C%1!<%8$,FI$_9~$^$l$F$$$J$$(B +% $B>l9g$O!"7Y9p$r=P$7$^$9!#(B +% \changes{v1.0s}{2016/02/01}{latexrelease$BMxMQ;~$K7Y9p$r=P$9$h$&$K$7$?(B} +% \begin{macrocode} +%<*plfinal> +\AtBeginDocument{% + \@ifpackageloaded{latexrelease}{% + \@ifpackageloaded{platexrelease}{}{% + \@latex@warning@no@line{% + Package latexrelease is loaded.\MessageBreak + Some patches in pLaTeX2e core may be overwritten.\MessageBreak + Consider using platexrelease.\MessageBreak + See platex.pdf for detail}% + }% + }{}% +} %</plfinal> % \end{macrocode} % |