summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/platex/base/platex.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/platex/base/platex.dtx')
-rw-r--r--Master/texmf-dist/source/platex/base/platex.dtx115
1 files changed, 61 insertions, 54 deletions
diff --git a/Master/texmf-dist/source/platex/base/platex.dtx b/Master/texmf-dist/source/platex/base/platex.dtx
index b709a5daf72..994136cbb0d 100644
--- a/Master/texmf-dist/source/platex/base/platex.dtx
+++ b/Master/texmf-dist/source/platex/base/platex.dtx
@@ -3,7 +3,7 @@
%
% Copyright 1995,1996 ASCII Corporation.
% Copyright (c) 2010 ASCII MEDIA WORKS
-% Copyright (c) 2016-2017 Japanese TeX Development Community
+% Copyright (c) 2016-2018 Japanese TeX Development Community
%
% This file is part of the pLaTeX2e system (community edition).
% -------------------------------------------------------------
@@ -73,6 +73,10 @@
% \file{platex.ltx}$B$+$i(B\file{plcore.ltx}$B$X0\F0(B}
% \changes{v1.0q}{2017/11/29}{$B1Q8lHG%I%-%e%a%s%H$rDI2C(B}
% \changes{v1.0r}{2017/12/02}{$B1Q8l$N;29MJ88%$bDI2C(B}
+% \changes{v1.0s}{2017/12/05}{$B%G%U%)%k%H@_Dj%U%!%$%k$NFI$_9~$_$r(B
+% \file{plcore.ltx}$B$+$i(B\file{platex.ltx}$B$X0\F0(B}
+% \changes{v1.0t}{2018/02/07}{ascmac$B%Q%C%1!<%8$rFHN)$5$;$?(B}
+% \changes{v1.0u}{2018/02/18}{nidanfloat$B%Q%C%1!<%8$rFHN)$5$;$?(B}
%\else
% \changes{v1.0}{1995/05/08}{first edition}
% \changes{v1.0a}{1995/08/25}{Added 'Compatibility', `Usage of \dst{}'
@@ -104,6 +108,10 @@
% \file{platex.ltx} to \file{plcore.ltx}}
% \changes{v1.0q}{2017/11/29}{New English documentation added!}
% \changes{v1.0r}{2017/12/02}{English references added}
+% \changes{v1.0s}{2017/12/05}{Moved loading default settings
+% from \file{plcore.ltx} to \file{platex.ltx}}
+% \changes{v1.0t}{2018/02/07}{Moved ascmac package to separate bundle}
+% \changes{v1.0u}{2018/02/18}{Moved nidanfloat package to separate bundle}
%\fi
% \fi
%
@@ -111,7 +119,7 @@
%<*driver>
\NeedsTeXFormat{pLaTeX2e}
% \fi
-\ProvidesFile{platex.dtx}[2017/12/02 v1.0r pLaTeX document file]
+\ProvidesFile{platex.dtx}[2018/02/18 v1.0u pLaTeX document file]
% \iffalse
\documentclass{jltxdoc}
\usepackage{plext}
@@ -480,6 +488,29 @@
% \end{macrocode}
%
%\ifJAPANESE
+% $B%U%)%s%H4XO"$N%G%U%)%k%H@_Dj%U%!%$%k$G$"$k!"(B
+% \file{pldefs.ltx}$B$rFI$_9~$_$^$9!#(B
+% \TeX{}$B$NF~NO%U%!%$%k8!:w%Q%9$K@_Dj$5$l$F$$$k(B
+% $B%G%#%l%/%H%j$K(B\file{pldefs.cfg}$B%U%!%$%k$,$"$k>l9g$O!"(B
+% $B$=$N%U%!%$%k$r;H$$$^$9!#(B
+% \changes{v1.0s}{2017/12/05}{$B%G%U%)%k%H@_Dj%U%!%$%k$NFI$_9~$_$r(B
+% \file{plcore.ltx}$B$+$i(B\file{platex.ltx}$B$X0\F0(B}
+%\else
+% Load font-related default settings, \file{pldefs.ltx}.
+% If a file \file{pldefs.cfg} is found, then that file will be
+% used instead.
+% \changes{v1.0s}{2017/12/05}{Moved loading default settings
+% from \file{plcore.ltx} to \file{platex.ltx}}
+%\fi
+% \begin{macrocode}
+\InputIfFileExists{pldefs.cfg}
+ {\typeout{*************************************^^J%
+ * Local config file pldefs.cfg used^^J%
+ *************************************}}%
+ {\input{pldefs.ltx}}
+% \end{macrocode}
+%
+%\ifJAPANESE
% $B%U%)!<%^%C%H:n@.;~$K(B\pLaTeX{}$B$N%P!<%8%g%s$,$o$+$k$h$&$K!"(B
% $BC<Kv$KI=<($7$^$9!#(B
%\else
@@ -546,7 +577,10 @@
% \end{itemize}
%
% $B$^$?!"%W%j%m!<%I%U%)%s%H$dAHHG%Q%i%a!<%?$J$I$N%G%U%)%k%H@_Dj$O!"(B
-% \file{plcore.ltx}$B$NCf$G(B\file{pldefs.ltx}$B$r%m!<%I$9$k$3$H$K$h$j9T$$$^$9!#(B
+% \file{platex.ltx}$B$NCf$G(B\file{pldefs.ltx}$B$r%m!<%I$9$k$3$H$K$h$j9T$$$^$9(B
+% \footnote{$B%"%9%-!<HG$G$O(B\file{plcore.ltx}$B$NCf$G%m!<%I$7$F$$$^$7$?$,!"(B
+% 2018$BG/0J9_$N?7$7$$%3%_%e%K%F%#HG(B\pLaTeX{}$B$G$O(B
+% \file{platex.ltx}$B$+$iFI$_9~$`$3$H$K$7$^$7$?!#(B}$B!#(B
% $B$3$N%U%!%$%k(B\file{pldefs.ltx}$B$b(B\file{plfonts.dtx}$B$+$i@8@.$5$l$^$9!#(B
% \begin{chuui}
% $B$3$N%U%!%$%k$K5-=R$5$l$F$$$k@_Dj$rJQ99$9$l$P(B
@@ -568,7 +602,10 @@
% \end{itemize}
%
% Moreover, default settings of pre-loaded fonts and typesetting parameters
-% are done by loading \file{pldefs.ltx} inside \file{plcore.ltx}.
+% are done by loading \file{pldefs.ltx} inside
+% \file{platex.ltx}.\footnote{ASCII \pLaTeX\ loaded \file{pldefs.ltx}
+% inside \file{plcore.ltx}; however, \pLaTeX\ community edition newer than
+% 2018 loads \file{pldefs.ltx} inside \file{platex.ltx}.}
% This file \file{pldefs.ltx} is also stripped from \file{plfonts.dtx}.
% \begin{chuui}
% You can customize \pLaTeXe\ by tuning these settings.
@@ -727,15 +764,12 @@
% \item oldpfont.sty\par
% \pLaTeX~2.09$B$N%U%)%s%H%3%^%s%I$rDs6!$9$k%Q%C%1!<%8!#(B
% \file{pl209.dtx}$B$+$i:n@.$5$l$k!#(B
-%
-% \item ascmac.sty, tascmac.sty\par
-% \LaTeX{}$B$NI8=`5!G=$NHO0O$G!"?^$d7S@~$G0O$s$@%\%C%/%9$r=PNO$9$kL?Na(B
-% $B$J$I$rDs6!$9$k%Q%C%1!<%8!#5l%P!<%8%g%s$N(B\pLaTeX{}$B$G$bG[I[$5$l$F$$$?!#(B
-%
-% \item nidanfloat.sty\par
-% $BFsCJAH;~$KCJH4$-$N%U%m!<%H$r%Z!<%82<It$K$bG[CV2DG=$K$9$k(B
-% $B%Q%C%1!<%8!#(B
% \end{itemize}
+%
+% $B$J$*!"0JA0$N%P!<%8%g%s$KF1:-$7$F$$$?(Bascmac$B%Q%C%1!<%8$H(B
+% nidanfloat$B%Q%C%1!<%8$O!"JL$N%P%s%I%k$H$7$FFHN)$5$;$^$7$?!#(B
+% \changes{v1.0t}{2018/02/07}{ascmac$B%Q%C%1!<%8$rFHN)$5$;$?(B}
+% \changes{v1.0u}{2018/02/18}{nidanfloat$B%Q%C%1!<%8$rFHN)$5$;$?(B}
%\else
% \pLaTeXe\ packages:
% \changes{v1.0d}{2016/01/27}{Updated descriptions of \pLaTeXe\ files}
@@ -761,15 +795,13 @@
% \item oldpfont.sty\par
% Provides \pLaTeX~2.09 font commands;
% stripped from \file{pl209.dtx}.
-%
-% \item ascmac.sty, tascmac.sty\par
-% Create fancy boxes etc., within the scope of native
-% \LaTeXe\ picture commands (thus driver-independent).
-%
-% \item nidanfloat.sty\par
-% Enable bottom (|b|) placement option for double float in
-% two column mode (\emph{nidan-kumi}).
% \end{itemize}
+%
+% The packages ``ascmac.sty'' and ``nidanfloat.sty'',
+% which had been included in previous versions of \pLaTeX,
+% is now distributed as a separate bundle.
+% \changes{v1.0t}{2018/02/07}{Moved ascmac package to separate bundle}
+% \changes{v1.0u}{2018/02/18}{Moved nidanfloat package to separate bundle}
%\fi
%
%
@@ -1121,16 +1153,6 @@ all others indicate the places where it is used.}
\title{The \pLaTeXe\ Sources}
\author{Ken Nakano \& Japanese \TeX\ Development Community}
-% This command will be used to input the patch file
-% if that file exists.
-\newcommand{\includeltpatch}{%
- \def\currentfile{plpatch.ltx}
- \part{plpatch}
- {\let\ttfamily\relax
- \xdef\filekey{\filekey, \thepart={\ttfamily\currentfile}}}%
- Things we did wrong\ldots
- \IndexInput{plpatch.ltx}}
-
% Get the date and patch level from plvers.dtx
\makeatletter
\let\patchdate=\@empty
@@ -1138,30 +1160,17 @@ all others indicate the places where it is used.}
\def\ProvidesFile#1\pfmtversion#2#3\ppatch@level#4{%
\date{#2}\xdef\patchdate{#4}\endinput}
\input{plvers.dtx}
-\global\let\X@date=\@date
-
-% Add the patch version if available.
- \long\def\Xdef#1#2#3\def#4#5{%
- \xdef\X@date{#2}%
- \xdef\patchdate{#5}%
- \endinput}%
- \InputIfFileExists{plpatch.ltx}
- {\let\def\Xdef}{\global\let\includeltpatch\relax}
\endgroup
-\ifx\@date\X@date
- \def\Xpatch{0}
- \ifx\patchdate\Xpatch\else
- % number is assumed
- \ifnum\patchdate>0
- \edef\@date{\@date\space Patch level\space\patchdate}
- \else
- \edef\@date{\@date\space Pre-Release\patchdate}
- \fi\fi
+% Add the patch version if available.
+\def\Xpatch{0}
+\ifx\patchdate\Xpatch\else
+% number is assumed
+\ifnum\patchdate>0
+ \edef\@date{\@date\space Patch level\space\patchdate}
\else
- \@warning{plpatch.ltx does not match plvers.dtx!}
- \let\includeltpatch\relax
-\fi
+ \edef\@date{\@date\space Pre-Release\patchdate}
+\fi\fi
\makeatother
\pagenumbering{roman}
@@ -1187,14 +1196,12 @@ all others indicate the places where it is used.}
\DocInclude{jltxdoc} % dtx documents class
-%\includeltpatch % patch file (comment out May 8, 2016)
-
% \end{macrocode}
%\ifJAPANESE
% \file{ltxdoc.cfg}$B$K(B|\AtEndOfClass{\OnlyDescription}|$B$,;XDj$5$l$F$$$k>l9g$O!"(B
% $B$3$3$G=*N;$7$^$9!#(B
%\else
-% Stop here if ltxdoc.cfg says |\AtEndOfClass{\OnlyDescription}|.
+% Stop here if \file{ltxdoc.cfg} says |\AtEndOfClass{\OnlyDescription}|.
%\fi
% \begin{macrocode}
\StopEventually{\end{document}}