summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/uplatex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-09-03 21:35:45 +0000
committerKarl Berry <karl@freefriends.org>2016-09-03 21:35:45 +0000
commit74099de178c57fb2527ebc18264d55c6e98444a7 (patch)
tree4be9b88b9ad6d145348d7176177d68f252a00851 /Master/texmf-dist/source/uplatex
parentf62e383205a510feebe4b5d9137f5d2850993924 (diff)
uplatex (3sep16)
git-svn-id: svn://tug.org/texlive/trunk@41983 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/uplatex')
-rw-r--r--Master/texmf-dist/source/uplatex/base/Makefile33
-rw-r--r--Master/texmf-dist/source/uplatex/base/plcore.dtx211
-rw-r--r--Master/texmf-dist/source/uplatex/base/ujclasses.dtx21
-rw-r--r--Master/texmf-dist/source/uplatex/base/ukinsoku.dtx17
-rw-r--r--Master/texmf-dist/source/uplatex/base/uplatex.dtx84
-rw-r--r--Master/texmf-dist/source/uplatex/base/uplfonts.dtx25
-rw-r--r--Master/texmf-dist/source/uplatex/base/uplvers.dtx46
7 files changed, 281 insertions, 156 deletions
diff --git a/Master/texmf-dist/source/uplatex/base/Makefile b/Master/texmf-dist/source/uplatex/base/Makefile
index ea26c0dbc4d..b4d05398d56 100644
--- a/Master/texmf-dist/source/uplatex/base/Makefile
+++ b/Master/texmf-dist/source/uplatex/base/Makefile
@@ -1,8 +1,11 @@
TARGET1 = uplatex.ltx ujarticle.cls
TARGET2 = uplatex.pdf upldoc.pdf
+TARGET3 = uplatex.dvi upldoc.dvi
KANJI = -kanji=utf8
FONTMAP = -f ipaex.map -f uptex-ipaex.map
+default: $(TARGET1) $(TARGET3)
+strip: $(TARGET1)
all: $(TARGET1) $(TARGET2)
PLFMT = uplatex.ltx uplcore.ltx ukinsoku.tex upldefs.ltx \
@@ -33,26 +36,42 @@ ujarticle.cls: $(PLCLS_SRC)
uplatex $(KANJI) uplcls.ins
rm uplcls.log
-uplatex.pdf: $(INTRODOC_SRC)
+uplatex.dvi: $(INTRODOC_SRC)
uplatex $(KANJI) uplatex.dtx
mendex -U -f -s gglo.ist -o uplatex.gls uplatex.glo
uplatex $(KANJI) uplatex.dtx
- dvipdfmx $(FONTMAP) uplatex.dvi
- rm uplatex.aux uplatex.log uplatex.dvi
+ rm uplatex.aux uplatex.log
rm uplatex.glo uplatex.gls uplatex.ilg
-upldoc.pdf: $(PLDOC_SRC)
+upldoc.dvi: $(PLDOC_SRC)
rm -f upldoc.tex Xins.ins
uplatex $(KANJI) upldocs.ins
+ rm -f mkpldoc.sh dstcheck.pl
uplatex $(KANJI) Xins.ins
sh mkpldoc.sh
- dvipdfmx $(FONTMAP) upldoc.dvi
rm *.aux *.log upldoc.toc upldoc.idx upldoc.ind upldoc.ilg
- rm upldoc.glo upldoc.gls *.dvi upldoc.tex Xins.ins
+ rm upldoc.glo upldoc.gls upldoc.tex Xins.ins
rm ltxdoc.cfg upldoc.dic mkpldoc.sh dstcheck.pl
-.PHONY: clean
+uplatex.pdf: uplatex.dvi
+ dvipdfmx $(FONTMAP) uplatex.dvi
+upldoc.pdf: upldoc.dvi
+ dvipdfmx $(FONTMAP) upldoc.dvi
+
+.PHONY: clean cleanstrip cleanall cleandoc
clean:
rm -f $(PLFMT) $(PLCLS) \
+ uplatex.dvi upldoc.dvi \
+ upldoc.tex Xins.ins
+cleanstrip:
+ rm -f $(PLFMT) $(PLCLS) \
+ upldoc.tex Xins.ins
+cleanall:
+ rm -f $(PLFMT) $(PLCLS) \
+ uplatex.dvi upldoc.dvi \
uplatex.pdf upldoc.pdf \
upldoc.tex Xins.ins
+cleandoc:
+ rm -f \
+ uplatex.dvi upldoc.dvi \
+ uplatex.pdf upldoc.pdf
diff --git a/Master/texmf-dist/source/uplatex/base/plcore.dtx b/Master/texmf-dist/source/uplatex/base/plcore.dtx
index 19db1ed8592..2a73a150a24 100644
--- a/Master/texmf-dist/source/uplatex/base/plcore.dtx
+++ b/Master/texmf-dist/source/uplatex/base/plcore.dtx
@@ -10,23 +10,6 @@
%
% \fi
%
-% \CheckSum{1292}
-%% \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
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
%
% \setcounter{StandardModuleDepth}{1}
% \StopEventually{}
@@ -60,13 +43,21 @@
% \changes{v1.2e}{2016/05/20}{\file{fltrace}$B%Q%C%1!<%8$N(Bp\LaTeX{}$BHG(B
% $B$H$7$F(B\file{pfltrace}$B%Q%C%1!<%8$r?7@_(B}
% \changes{v1.2f}{2016/06/30}{\cs{@begindvibox}$B$r>o$K2#AH$K(B}
+% \changes{v1.2g}{2016/08/25}{$B%+%&%s%?(B\cs{pltx@foot@penalty}$B$rDI2C(B}
+% \changes{v1.2g}{2016/08/25}{$B9g0u$NA0$NJ8;z$H9g0u$N4V$r%Y%?AH$K(B}
+% \changes{v1.2g}{2016/08/25}{$BJD$83g8LN`$ND>8e$K(B\cs{footnotetext}$B$,B3$/(B
+% $B>l9g$K2~9T$,5/$-$k$3$H$,$"$kLdBj$KBP=h(B}
+% \changes{v1.2g}{2016/08/25}{$B5SCm$N9g0uD>8e$G$N2~9T$,6X;_$5$l$F$7$^$&(B
+% $BLdBj$KBP=h(B}
+% \changes{v1.2h}{2016/09/01}{$B=DAH$G(Blongtable$B%Q%C%1!<%8$r;H$C$FI=AH$NESCf$G2~%Z!<%8(B
+% $B$9$k$H$-L58B%k!<%W$,5/$3$kLdBj$KBP=h(B(Issue 21)}
% \fi
%
% \iffalse
%<*driver>
\NeedsTeXFormat{pLaTeX2e}
% \fi
-\ProvidesFile{plcore.dtx}[2016/06/30 v1.2f pLaTeX core file]
+\ProvidesFile{plcore.dtx}[2016/09/01 v1.2h pLaTeX core file]
% \iffalse
\documentclass{jltxdoc}
\GetFileInfo{plcore.dtx}
@@ -201,10 +192,10 @@
% $B$=$N$?$a$K!"6XB'%Z%J%k%F%#$NCM$,(B$10000$$B$NJ8;z$ND>8e$G$O!"%Z%J%k%F%#$NCM$,(B
% $BAj;&$5$l!"2~9T$9$k$3$H$,$G$-$^$;$s!#(B
%
-% \begin{verbatim}
+%\begin{verbatim}
% $B$"$$$&$($*(B\\
% $B!*$+$-$/$1$3(B
-% \end{verbatim}
+%\end{verbatim}
%
% $B$7$?$,$C$F!"(B|\newline|$B%^%/%m$K(B|\mbox{}|$B$rF~$l$k$3$H$K$h$C$F!"(B
% |\newline|$B%^%/%m$N%Z%J%k%F%#(B$-10000$$B$H9TF,J8;z$N%Z%J%k%F%#(B$10000$$B$,(B
@@ -259,7 +250,7 @@
% $B$3$N%^%/%m$,AH$_N)$F$kItJ,$NCf?4$H$J$j$^$9!#(B
% \file{ltoutput.dtx}$B$GDj5A$5$l$F$$$k$b$N$G$9!#(B
% \begin{macrocode}
-%<platexrelease>\plIncludeInRelease{2016/04/17}{\@makecol}{\@makecol}%
+%<platexrelease>\plIncludeInRelease{2016/09/03}{\@makecol}{\@makecol}%
%<*plcore|platexrelease>
\gdef\@makecol{%
\setbox\@outputbox\box\@cclv%
@@ -279,13 +270,19 @@
% 0pt$B$K$J$C$F$7$^$$!"7k2L$H$7$F%U%C%?$N0LCV$,$/$k$C$F$7$^$C$F$$$?!#(B
% 0$B$N(B|\hskip|$B$rH/@8$5$;$k$H(B|\wd\@outputbox|$B$NCM$,4|BT$7$?$b$N$H$J$k$N$G!"(B
% $B=DAH$N>l9g$O$=$NJ}K!$GBP=h$9$k!#(B
+%
+% $B$?$@$7!"(B0$B$N(B|\hskip|$B$rH/@8$5$;$k$H$-!"?eJ?%b!<%I$KF~$C$F$7$^$&$H!"$?$H$($P(B
+% longtable$B%Q%C%1!<%8$r;HMQ$7$FI=AHESCf$G2~%Z!<%8$9$k$H$-$K(B|\par -> {\vskip}|$B$N(B
+% $BL58B%k!<%W$,5/$-$F$7$^$$$^$9!#$=$3$G!"(B|\vbox|$B$NCf$GH/@8$5$;$^$9!#(B
% \changes{v1.1j}{2001/05/10}{\cs{@makecol}$B$GAH$_N)$F$i$l$k(B
% \cs{@outputbox}$B$NBg$-$5$,!"=DAH$GCf?H$,6u$N%\%C%/%9$@$1$N>l9g$bE,@5$K$J$k(B
% $B$h$&$K=$@5(B}
% \changes{v1.2b}{2016/01/26}{\cs{@outputbox}$B$N?<$5$,B>$N$b$N$N0LCV$K1F6A$rM?$($J$$(B
% $B$h$&$K$9$k(B\texttt{\cs{vskip}~-\cs{dimen@}}$B$,=DAH%b!<%I$G$OL58z$K$J$C$F$$$?$N$G=$@5(B}
+% \changes{v1.2h}{2016/09/01}{$B=DAH$G(Blongtable$B%Q%C%1!<%8$r;H$C$FI=AH$NESCf$G2~%Z!<%8(B
+% $B$9$k$H$-L58B%k!<%W$,5/$3$kLdBj$KBP=h(B(Issue 21)}
% \begin{macrocode}
- \iftdir\hskip\z@\fi
+ \iftdir\vbox{\hskip\z@}\fi
\vskip -\dimen@
\@textbottom
\ifvoid\footins\else % for pLaTeX
@@ -302,6 +299,36 @@
}
%</plcore|platexrelease>
%<platexrelease>\plEndIncludeInRelease
+%<platexrelease>\plIncludeInRelease{2016/04/17}{\@makecol}{\@makecol}%
+%<platexrelease>\gdef\@makecol{%
+%<platexrelease> \setbox\@outputbox\box\@cclv%
+%<platexrelease> \xdef\@freelist{\@freelist\@midlist}%
+%<platexrelease> \global \let \@midlist \@empty
+%<platexrelease> \@combinefloats
+%<platexrelease> \ifvbox\@kludgeins
+%<platexrelease> \@makespecialcolbox
+%<platexrelease> \else
+%<platexrelease> \setbox\@outputbox \vbox to\@colht {%
+%<platexrelease>% \boxmaxdepth \@maxdepth % comment out on LaTeX 1997/12/01
+%<platexrelease> \@texttop
+%<platexrelease> \dimen@ \dp\@outputbox
+%<platexrelease> \unvbox \@outputbox
+%<platexrelease> \iftdir\hskip\z@\fi
+%<platexrelease> \vskip -\dimen@
+%<platexrelease> \@textbottom
+%<platexrelease> \ifvoid\footins\else % for pLaTeX
+%<platexrelease> \vskip \skip\footins
+%<platexrelease> \color@begingroup
+%<platexrelease> \normalcolor
+%<platexrelease> \footnoterule
+%<platexrelease> \unvbox \footins
+%<platexrelease> \color@endgroup
+%<platexrelease> \fi
+%<platexrelease> }%
+%<platexrelease> \fi
+%<platexrelease> \global \maxdepth \@maxdepth
+%<platexrelease>}
+%<platexrelease>\plEndIncludeInRelease
%<platexrelease>\plIncludeInRelease{0000/00/00}{\@makecol}{\@makecol}%
%<platexrelease>\gdef\@makecol{%
%<platexrelease> \setbox\@outputbox\box\@cclv%
@@ -852,15 +879,113 @@
%<platexrelease> \ifydir \@textsuperscript{\normalfont\@thefnmark}%
%<platexrelease> \else\hbox{\yoko\@textsuperscript{\normalfont\@thefnmark}}\fi}}
%<platexrelease>\plEndIncludeInRelease
-%<*plcore>
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\pltx@foot@penalty}
+% $BJD$83g8LN`$ND>8e$K(B|\footnotetext|$B$,B3$$$?>l9g!"(B|\footnotetext|$B$NA0$G$N2~9T$O(B
+% $BK>$^$7$/$"$j$^$;$s!#$3$N$h$&$J>l9g$KBP=h$9$k$?$a$K!"(B|\pltx@foot@penalty|$B$H$$$&(B
+% $B%+%&%s%?$rMQ0U$7$^$7$?!#(B|\footnotetext|$B$N:G=i$G!VD>A0$N%Z%J%k%F%#CM!W(B
+% $B$H$7$F$3$N%+%&%s%?$,=i4|2=$5$l$^$9!#(B
+% |\footnotemark|,~|\footnote|$B$G$O;H$o$J$$$N$G(B0$B$K@_Dj$7$F$$$^$9!#(B
+% \changes{v1.2g}{2016/08/25}{$B%+%&%s%?(B\cs{pltx@foot@penalty}$B$rDI2C(B}
+% \begin{macrocode}
+%<platexrelease>\plIncludeInRelease{2016/09/03}{\pltx@foot@penalty}
+%<platexrelease> {Add new counter \pltx@foot@penalty}%
+%<*plcore|platexrelease>
+\ifx\@undefined\pltx@foot@penalty \newcount\pltx@foot@penalty \fi
+\pltx@foot@penalty\z@
+%</plcore|platexrelease>
+%<platexrelease>\plEndIncludeInRelease
+%<platexrelease>\plIncludeInRelease{0000/00/00}{\pltx@foot@penalty}
+%<platexrelease> {Add new counter \pltx@foot@penalty}%
+%<platexrelease>\let\pltx@foot@penalty\@undefined
+%<platexrelease>\plEndIncludeInRelease
+% \end{macrocode}
+% \end{macro}
+%
+% \begin{macro}{\footnotemark}
+% \begin{macro}{\footnote}
+% $B$^$?!"9g0u$NA0$NJ8;z$H9g0u$N4V$O86B'%Y%?AH$G$9!JC"$7!"(BJIS~X~4051$B$K$ONc30M-$j!K!#(B
+% $B$=$N$?$a!"9g0u$r=PNO$9$k(B|\footnotemark|,~|\footnote|$B$N:G=i$G(B|\inhibitglue|$B$r(B
+% $B<B9T$7$F$*$/$3$H$K$7$^$9!J(B|\@makefnmark|$B$NCf$KCV$$$F$b8zNO$,$"$j$^$;$s!K!#(B
+% \changes{v1.2g}{2016/08/25}{$B9g0u$NA0$NJ8;z$H9g0u$N4V$r%Y%?AH$K(B}
+% \begin{macrocode}
+%<platexrelease>\plIncludeInRelease{2016/09/03}{\footnote}
+%<platexrelease> {Append \inhibitglue in \footnotemark}%
+%<*plcore|platexrelease>
+% \end{macrocode}
+% \begin{macrocode}
+\def\footnote{\inhibitglue
+ \@ifnextchar[\@xfootnote{\stepcounter\@mpfn
+ \protected@xdef\@thefnmark{\thempfn}%
+ \@footnotemark\@footnotetext}}
+\def\footnotemark{\inhibitglue
+ \@ifnextchar[\@xfootnotemark
+ {\stepcounter{footnote}%
+ \protected@xdef\@thefnmark{\thefootnote}%
+ \@footnotemark}}
+% \end{macrocode}
+% \begin{macrocode}
+%</plcore|platexrelease>
+%<platexrelease>\plEndIncludeInRelease
+%<platexrelease>\plIncludeInRelease{0000/00/00}{\footnote}
+%<platexrelease> {Append \inhibitglue in \footnotemark}%
+%<platexrelease>\def\footnote{\@ifnextchar[\@xfootnote{\stepcounter\@mpfn
+%<platexrelease> \protected@xdef\@thefnmark{\thempfn}%
+%<platexrelease> \@footnotemark\@footnotetext}}
+%<platexrelease>\def\footnotemark{%
+%<platexrelease> \@ifnextchar[\@xfootnotemark
+%<platexrelease> {\stepcounter{footnote}%
+%<platexrelease> \protected@xdef\@thefnmark{\thefootnote}%
+%<platexrelease> \@footnotemark}}
+%<platexrelease>\plEndIncludeInRelease
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
+% \begin{macro}{\footnotetext}
+% |\footnotetext|$B$ND>A0$N%Z%J%k%F%#CM$rJ];}$7$^$9!#(B
+% \changes{v1.2g}{2016/08/25}{$BJD$83g8LN`$ND>8e$K(B\cs{footnotetext}$B$,B3$/(B
+% $B>l9g$K2~9T$,5/$-$k$3$H$,$"$kLdBj$KBP=h(B}
+% \begin{macrocode}
+%<platexrelease>\plIncludeInRelease{2016/09/03}{\footnotetext}
+%<platexrelease> {Preserve penalty before \footnotetext}%
+%<*plcore|platexrelease>
+% \end{macrocode}
+% \begin{macrocode}
+\def\footnotetext{%
+ \ifhmode\pltx@foot@penalty\lastpenalty\unpenalty\fi%
+ \@ifnextchar [\@xfootnotenext
+ {\protected@xdef\@thefnmark{\thempfn}%
+ \@footnotetext}}
+% \end{macrocode}
+% \begin{macrocode}
+%</plcore|platexrelease>
+%<platexrelease>\plEndIncludeInRelease
+%<platexrelease>\plIncludeInRelease{0000/00/00}{\footnotetext}
+%<platexrelease> {Preserve penalty before \footnotetext}%
+%<platexrelease>\def\footnotetext{%
+%<platexrelease> \@ifnextchar [\@xfootnotenext
+%<platexrelease> {\protected@xdef\@thefnmark{\thempfn}%
+%<platexrelease> \@footnotetext}}
+%<platexrelease>\plEndIncludeInRelease
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{\@footnotetext}
% $B%$%s%5!<%H%\%C%/%9(B|\footins|$B$K5SCm$N%F%-%9%H$rF~$l$^$9!#(B
+% $B%3%_%e%K%F%#HG(Bp\LaTeX{}$B$G$O(B|\footnotetext|,~|\footnote|$B$ND>8e$G(B
+% $B2~9T$r2DG=$K$7$^$9!#(Bjsclasses$B$G$O$3$NJQ99$K2C$(!"5SCm$G(B|\verb|$B$,(B
+% $B;H$($k$h$&$K:FDj5A$5$l$^$9!#(B
%
% \changes{v1.0a}{1995/04/07}{$BAHJ}8~$NH=Dj$r%\%C%/%9$N30$G$9$k$h$&$K$7$?(B}
% \begin{macrocode}
+%<platexrelease>\plIncludeInRelease{2016/09/03}{\@footnotetext}
+%<platexrelease> {Allow break after \footnote}%
+%<*plcore|platexrelease>
+% \end{macrocode}
+% \begin{macrocode}
\long\def\@footnotetext#1{%
\ifydir\def\@tempa{\yoko}\else\def\@tempa{\tate}\fi
\insert\footins{\@tempa%
@@ -875,7 +1000,45 @@
\color@begingroup
\@makefntext{%
\rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}%
- \color@endgroup}}
+% \end{macrocode}
+%
+% p\TeX{}$B$G$O(B|\insert|$B$ND>8e$KOBJ8J8;z$,Mh$?>l9g!"$=$3$G$N2~9T$O5v$5$l$J$$(B
+% $B$H$$$&5sF0$K$J$C$F$$$^$9!#$3$N$?$a!"=>Mh$O5SCmHV9f!J9g0u!K$ND>8e$N2~9T$,(B
+% $BM^@)$5$l$F$$$^$7$?!#$7$+$7!"(B|\hbox|$B$ND>8e$KOBJ8J8;z$,Mh$?>l9g$O!"$=$3$G(B
+% $B$N2~9T$O5v$5$l$^$9$+$i!":G8e$K(B|\null|$B$rDI2C$7$^$9!#(B
+% $B$^$?!"(B|\pltx@foot@penalty|$B$NCM$,(B0$B$G$O$J$+$C$?>l9g!"(B
+% $B5SCm$NA0$K%Z%J%k%F%#$,$"$C$?$H$$$&$3$H$G$9$+$i!"I|3h$5$;$F$*$-$^$9!#(B
+% \changes{v1.2g}{2016/08/25}{$B5SCm$N9g0uD>8e$G$N2~9T$,6X;_$5$l$F$7$^$&(B
+% $BLdBj$KBP=h(B}
+% \begin{macrocode}
+ \color@endgroup}\null
+ \ifnum\pltx@foot@penalty=\z@\else
+ \penalty\pltx@foot@penalty
+ \pltx@foot@penalty\z@
+ \fi}
+% \end{macrocode}
+% \begin{macrocode}
+%</plcore|platexrelease>
+%<platexrelease>\plEndIncludeInRelease
+%<platexrelease>\plIncludeInRelease{0000/00/00}{\@footnotetext}
+%<platexrelease> {Allow break after \footnote}%
+%<platexrelease>\long\def\@footnotetext#1{%
+%<platexrelease> \ifydir\def\@tempa{\yoko}\else\def\@tempa{\tate}\fi
+%<platexrelease> \insert\footins{\@tempa%
+%<platexrelease> \reset@font\footnotesize
+%<platexrelease> \interlinepenalty\interfootnotelinepenalty
+%<platexrelease> \splittopskip\footnotesep
+%<platexrelease> \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
+%<platexrelease> \hsize\columnwidth \@parboxrestore
+%<platexrelease> \protected@edef\@currentlabel{%
+%<platexrelease> \csname p@footnote\endcsname\@thefnmark
+%<platexrelease> }%
+%<platexrelease> \color@begingroup
+%<platexrelease> \@makefntext{%
+%<platexrelease> \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}%
+%<platexrelease> \color@endgroup}}
+%<platexrelease>\plEndIncludeInRelease
+%<*plcore>
% \end{macrocode}
% \end{macro}
%
diff --git a/Master/texmf-dist/source/uplatex/base/ujclasses.dtx b/Master/texmf-dist/source/uplatex/base/ujclasses.dtx
index f7565d5932d..27f5289c386 100644
--- a/Master/texmf-dist/source/uplatex/base/ujclasses.dtx
+++ b/Master/texmf-dist/source/uplatex/base/ujclasses.dtx
@@ -14,23 +14,6 @@
%
% \fi
%
-% \CheckSum{4410}
-%% \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
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
%
% \setcounter{StandardModuleDepth}{1}
% \StopEventually{}
@@ -2386,11 +2369,11 @@
% \end{description}
%
% |\secdef|は次のようにして使うことができます。
-% \begin{verbatim}
+%\begin{verbatim}
% \def\chapter {... \secdef \CMDA \CMDB }
% \def\CMDA [#1]#2{....} % \chapter[...]{...} の定義
% \def\CMDB #1{....} % \chapter*{...} の定義
-% \end{verbatim}
+%\end{verbatim}
%
%
% \subsubsection{partレベル}
diff --git a/Master/texmf-dist/source/uplatex/base/ukinsoku.dtx b/Master/texmf-dist/source/uplatex/base/ukinsoku.dtx
index 275e4b57358..046b122b6f2 100644
--- a/Master/texmf-dist/source/uplatex/base/ukinsoku.dtx
+++ b/Master/texmf-dist/source/uplatex/base/ukinsoku.dtx
@@ -14,23 +14,6 @@
%
% \fi
%
-% \CheckSum{395}
-%% \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
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
%
% \setcounter{StandardModuleDepth}{1}
% \StopEventually{}
diff --git a/Master/texmf-dist/source/uplatex/base/uplatex.dtx b/Master/texmf-dist/source/uplatex/base/uplatex.dtx
index 4b5e923efe4..904d6687430 100644
--- a/Master/texmf-dist/source/uplatex/base/uplatex.dtx
+++ b/Master/texmf-dist/source/uplatex/base/uplatex.dtx
@@ -14,23 +14,6 @@
%
% \fi
%
-% \CheckSum{382}
-%% \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
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
%
% \setcounter{StandardModuleDepth}{1}
% \makeatletter
@@ -68,15 +51,16 @@
% \changes{v1.0k}{2016/05/21}{変更履歴も出力するようにした}
% \changes{v1.0k-u00}{2016/05/21}{p\LaTeX{}の変更に追随。}
% \changes{v1.0k-u01}{2016/06/06}{up\LaTeX{}用にドキュメントを全体的に改訂}
-% \changes{v1.0l}{2016/06/19}{パッチレベルを\file{plvers.dtx}から取得}
-% \changes{v1.0l-u01}{2016/06/19}{p\LaTeX{}の変更に追随。}
+% \changes{v1.0l-u01}{2016/06/19}{パッチレベルを\file{uplvers.dtx}から取得}
+% \changes{v1.0m-u01}{2016/08/26}{\file{uplatex.cfg}の読み込みを
+% \file{uplcore.ltx}から\file{uplatex.ltx}へ移動}
% \fi
%
% \iffalse
%<*driver>
\NeedsTeXFormat{pLaTeX2e}
% \fi
-\ProvidesFile{uplatex.dtx}[2016/06/19 v1.0l-u01 upLaTeX document file]
+\ProvidesFile{uplatex.dtx}[2016/08/26 v1.0m-u01 upLaTeX document file]
% \iffalse
\documentclass{jltxdoc}
\usepackage{plext}
@@ -252,9 +236,9 @@
% ただし、\TeX\ LiveやW32\TeX{}ではこの処理を簡単にする|fmtutil|あるいは
% |fmtutil-sys|というプログラムが用意されています。
% 以下を実行すれば、フォーマットファイル\file{uplatex.fmt}が作成されます。
-% \begin{verbatim}
+%\begin{verbatim}
% fmtutil --byfmt uplatex
-% \end{verbatim}
+%\end{verbatim}
%
% 次のリストが、``uplatex.ltx''のの内容です。
% ただし、このバージョンでは、\LaTeX{}からup\LaTeXe{}への拡張を
@@ -263,15 +247,25 @@
% したがって\file{uplatex.ltx}はとても短いものとなっています。
% \file{latex.ltx}には\LaTeX{}のコマンドが、
% \file{uplcore.ltx}にはup\LaTeXe{}で拡張したコマンドが定義されています。
-% \changes{v1.0g-u00}{2016/05/07}{フォーマット作成時に\LaTeX{}のバナーを一旦保存}
-% \changes{v1.0i-u00}{2016/05/12}{一時コマンド\cs{orgdump}を最終的に未定義へ}
-%
% \begin{macrocode}
%<*plcore>
+% \end{macrocode}
+%
+% \file{latex.ltx}の末尾で使われている|\dump|をいったん無効化します。
+% \begin{macrocode}
\let\orgdump\dump
\let\dump\relax
+% \end{macrocode}
+%
+% \file{latex.ltx}を読み込み、起動時のバナーを保存します。
+% \changes{v1.0g-u00}{2016/05/07}{フォーマット作成時に\LaTeX{}のバナーを一旦保存}
+% \begin{macrocode}
\input latex.ltx
\edef\platexBANNER{\the\everyjob}% save LaTeX banner
+% \end{macrocode}
+%
+% \file{uplcore.ltx}を読み込み、このup\LaTeX{}のバージョンを表示します。
+% \begin{macrocode}
\typeout{**************************^^J%
*^^J%
* making upLaTeX format^^J%
@@ -280,11 +274,35 @@
\makeatletter
\input uplcore.ltx
\the\everyjob
+% \end{macrocode}
+%
+% 起動時に\file{uplatex.cfg}がある場合、それを読み込むようにします。
+% バージョン2016/07/01ではコードを\file{uplcore.ltx}に入れていました
+% が、\file{uplatex.ltx}へ移動しました。
+% \changes{v1.0m-u01}{2016/08/26}{\file{uplatex.cfg}の読み込みを
+% \file{uplcore.ltx}から\file{uplatex.ltx}へ移動}
+% \begin{macrocode}
+\everyjob\expandafter{%
+ \the\everyjob
+ \IfFileExists{uplatex.cfg}{%
+ \typeout{*************************^^J%
+ * Loading uplatex.cfg.^^J%
+ *************************}%
+ \input{uplatex.cfg}}{}%
+}
+% \end{macrocode}
+%
+% フォーマットファイルにダンプします。
+% \changes{v1.0i-u00}{2016/05/12}{一時コマンド\cs{orgdump}を最終的に未定義へ}
+% \begin{macrocode}
\let\dump\orgdump
\let\orgdump\@undefined
\makeatother
\dump
-%<plcore>\endinput
+%\endinput
+% \end{macrocode}
+%
+% \begin{macrocode}
%</plcore>
% \end{macrocode}
%
@@ -509,11 +527,11 @@
% あるいは、次のような内容のファイル\file{fmt.ins}を作成し、
% |uplatex fmt.ins|することでも\file{uplatex.ltx}を作ることができます。
%
-% \begin{verbatim}
+%\begin{verbatim}
% \def\batchfile{fmt.ins}
% \input docstrip.tex
% \generateFile{uplatex.ltx}{t}{\from{uplatex.dtx}{plcore}}
-% \end{verbatim}
+%\end{verbatim}
%
%
% \section{文書ファイル}\label{app:pldoc}
@@ -604,7 +622,7 @@
% ここからが本文ページとなります。
% ^^AA \changes{v1.0c}{1997/01/29}{Rename pltpatch to plpatch.}
% \changes{v1.0h-u00}{2016/05/08}{ドキュメントから\file{uplpatch.ltx}を除外}
-% \changes{v1.0l}{2016/06/19}{パッチレベルを\file{plvers.dtx}から取得}
+% \changes{v1.0l-u01}{2016/06/19}{パッチレベルを\file{uplvers.dtx}から取得}
% \begin{macrocode}
\begin{document}
\title{The up\LaTeXe\ Sources}
@@ -723,9 +741,9 @@
% このシェルスクリプト\footnote{このシェルスクリプトはUNIX用です。
% しかしrmコマンドをdeleteコマンドにするなどすれば、簡単にDOSなどのバッチ
% ファイルに修正することができます。}の使用方法は次のとおりです。
-% \begin{verbatim}
+%\begin{verbatim}
% sh mkpldoc.sh
-% \end{verbatim}
+%\end{verbatim}
%
% \subsubsection{\file{mkpldoc.sh}の内容}
% まず、以前に\file{upldoc.tex}を処理したときに作成された、
@@ -807,9 +825,9 @@ uplatex upldoc.tex
%
% このperlスクリプトの使用方法は次のとおりです。
%
-% \begin{verbatim}
+%\begin{verbatim}
% perl dstcheck.pl file-name
-% \end{verbatim}
+%\end{verbatim}
%
% \subsubsection{\file{dstcheck.pl}の内容}
% 最初に、このperlスクリプトが何をするのかを簡単に記述したコメントを
diff --git a/Master/texmf-dist/source/uplatex/base/uplfonts.dtx b/Master/texmf-dist/source/uplatex/base/uplfonts.dtx
index 016758a51c6..1930d077e3f 100644
--- a/Master/texmf-dist/source/uplatex/base/uplfonts.dtx
+++ b/Master/texmf-dist/source/uplatex/base/uplfonts.dtx
@@ -14,23 +14,6 @@
%
% \fi
%
-% \CheckSum{2061}
-%% \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
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
%
% \setcounter{StandardModuleDepth}{1}
% \StopEventually{}
@@ -812,9 +795,9 @@
% フォント切り替えコマンドを実行させる必要があります。
%
% \textbf{使い方}
-% \begin{verbatim}
+%\begin{verbatim}
% usage: \reDeclareMathAlphabet{\mathAA}{\mathBB}{\mathCC}
-% \end{verbatim}
+%\end{verbatim}
% 欧文・和文両用の数式文字変更コマンド |\mathAA| を(再)定義します。
% 欧文用のコマンド |\mathBB| と、和文用の |\mathCC| を (p)\LaTeX{} 標準の
% 方法で定義しておいた後、上のように記述します。なお、|{\mathBB}{\mathCC}|
@@ -924,10 +907,10 @@
%
% |\DeclareRelationFont|コマンドの最初の4つの引数の組が和文書体の属性、
% その後の4つの引数の組が従属書体の属性です。
-% \begin{verbatim}
+%\begin{verbatim}
% \DeclareRelationFont{JY2}{mc}{m}{n}{T1}{cmr}{m}{n}
% \DeclareRelationFont{JY2}{gt}{m}{n}{T1}{cmr}{bx}{n}
-% \end{verbatim}
+%\end{verbatim}
% 上記の例は、明朝体の従属書体としてコンピュータモダンローマン、
% ゴシック体の従属書体としてコンピュータモダンボールドを宣言しています。
% カレント和文書体が|\JY2/mc/m/n|となると、
diff --git a/Master/texmf-dist/source/uplatex/base/uplvers.dtx b/Master/texmf-dist/source/uplatex/base/uplvers.dtx
index a9aa5afde48..84eefb53ea2 100644
--- a/Master/texmf-dist/source/uplatex/base/uplvers.dtx
+++ b/Master/texmf-dist/source/uplatex/base/uplvers.dtx
@@ -14,23 +14,6 @@
%
% \fi
%
-% \CheckSum{201}
-%% \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
-%% Digits \0\1\2\3\4\5\6\7\8\9
-%% Exclamation \! Double quote \" Hash (number) \#
-%% Dollar \$ Percent \% Ampersand \&
-%% Acute accent \' Left paren \( Right paren \)
-%% Asterisk \* Plus \+ Comma \,
-%% Minus \- Point \. Solidus \/
-%% Colon \: Semicolon \; Less than \<
-%% Equals \= Greater than \> Question mark \?
-%% Commercial at \@ Left bracket \[ Backslash \\
-%% Right bracket \] Circumflex \^ Underscore \_
-%% Grave accent \` Left brace \{ Vertical bar \|
-%% Right brace \} Tilde \~}
-%%
%
% \setcounter{StandardModuleDepth}{1}
% \StopEventually{}
@@ -72,13 +55,15 @@
% 使われた場合に明確なエラーを出すようにした。}
% \changes{v1.0x}{2016/06/19}{パッチレベルを\file{plvers.dtx}で設定}
% \changes{v1.0x-u01}{2016/06/19}{p\LaTeX{}の変更に追随。}
-% \changes{v1.0y-u01}{2016/06/27}{uplatex.cfgの読み込みを追加}
+% \changes{v1.0y-u01}{2016/06/29}{\file{uplatex.cfg}の読み込みを追加}
+% \changes{v1.0z-u01}{2016/08/26}{\file{uplatex.cfg}の読み込みを
+% \file{uplcore.ltx}から\file{uplatex.ltx}へ移動}
% \fi
%
% \iffalse
%<*driver>
% \fi
-\ProvidesFile{uplvers.dtx}[2016/06/29 v1.0y-u01 upLaTeX Kernel (Version Info)]
+\ProvidesFile{uplvers.dtx}[2016/08/26 v1.0z-u01 upLaTeX Kernel (Version Info)]
% \iffalse
\documentclass{jltxdoc}
\GetFileInfo{uplvers.dtx}
@@ -142,7 +127,7 @@
%</plcore>
%<platexrelease>\edef\platexreleaseversion
%<*plcore|platexrelease>
- {2016/07/01u01}
+ {2016/09/03u01}
%</plcore|platexrelease>
%<*plcore>
\def\ppatch@level{0}
@@ -261,6 +246,12 @@
%</plfinal>
% \end{macrocode}
%
+% ^^A 起動時に\file{uplatex.cfg}がある場合、それを読み込むようにする
+% ^^A コードは、\file{uplcore.ltx}から\file{uplatex.ltx}へ移動しました。
+% \changes{v1.0y-u01}{2016/06/29}{\file{uplatex.cfg}の読み込みを追加}
+% \changes{v1.0z-u01}{2016/08/26}{\file{uplatex.cfg}の読み込みを
+% \file{uplcore.ltx}から\file{uplatex.ltx}へ移動}
+%
% \subsection{latexreleaseパッケージへの対応}
%
% 最後に、latexreleaseパッケージへの対応です。
@@ -304,21 +295,6 @@
% \end{macrocode}
% \end{macro}
%
-% 起動時にuplatex.cfgがある場合、それを読み込むようにします。
-% \changes{v1.0y-u01}{2016/06/29}{uplatex.cfgの読み込みを追加}
-% \begin{macrocode}
-%<*plfinal>
-\everyjob\expandafter{%
- \the\everyjob
- \IfFileExists{uplatex.cfg}{%
- \typeout{*************************^^J%
- * Loading uplatex.cfg.^^J%
- *************************}%
- \input{uplatex.cfg}}{}%
-}
-%</plfinal>
-% \end{macrocode}
-%
% \LaTeXe{}が提供するlatexreleaseパッケージが読み込まれていて、
% かつp\LaTeXe{}が提供するplatexreleaseパッケージが読み込まれていない
% 場合は、警告を出します。