diff options
Diffstat (limited to 'Master/texmf-dist/source/platex/base/plfonts.dtx')
-rw-r--r-- | Master/texmf-dist/source/platex/base/plfonts.dtx | 165 |
1 files changed, 106 insertions, 59 deletions
diff --git a/Master/texmf-dist/source/platex/base/plfonts.dtx b/Master/texmf-dist/source/platex/base/plfonts.dtx index 7e116ebb358..66ee0ead1e7 100644 --- a/Master/texmf-dist/source/platex/base/plfonts.dtx +++ b/Master/texmf-dist/source/platex/base/plfonts.dtx @@ -34,7 +34,7 @@ % $BF~$i$J$$$N$r=$@5(B} % \changes{v1.3j}{2000/10/24}{\cs{adjustbaseline}$B$GM>J,$J%"%-$,F~$i$J$$(B % $B$h$&$K$7$?(B} -% \changes{v1.3k}{2001/05/10}{\cs{adjustbaseline}$B$ND4@0NL(B} +% \changes{v1.3k}{2001/05/10}{$B2$J8=qBN$N4p=`$r:F$S(B`/`$B$+$i(B`M'$B$KJQ99(B} % \changes{v1.3l}{2002/04/05}{\cs{adjustbaseline}$B$G%U%)%s%H$N4p=`CM$,=D=q$-(B % $B0J30$G$O@_Dj$5$l$J$$$N$r=$@5(B} % \changes{v1.3m}{2004/06/14}{\cs{fontfamily}$B%3%^%s%IFbIt%U%i%0JQ99(B} @@ -64,13 +64,15 @@ % \changes{v1.6f}{2017/02/20}{\cs{ystrut}$B$rDI2C(B} % \changes{v1.6f}{2017/02/20}{\cs{ystrutbox}$B$rAH$_N)$F$k$h$&$K(B} % \changes{v1.6g}{2017/03/07}{$B%Y!<%9%i%$%sJd@5NL$r=$@5(B} +% \changes{v1.6h}{2017/08/05}{$BOBJ8=qBN$N4p=`$rA43Q6uGr$+$i!V4A!W$KJQ99(B} +% \changes{v1.6h}{2017/08/05}{trace$B$N%3!<%I$N(B\texttt{\%}$BK:$l$r=$@5(B} % \fi % % \iffalse %<*driver> \NeedsTeXFormat{pLaTeX2e} % \fi -\ProvidesFile{plfonts.dtx}[2017/03/07 v1.6g pLaTeX New Font Selection Scheme] +\ProvidesFile{plfonts.dtx}[2017/08/05 v1.6h pLaTeX New Font Selection Scheme] % \iffalse \documentclass{jltxdoc} \GetFileInfo{plfonts.dtx} @@ -144,7 +146,7 @@ %<*trace> \NeedsTeXFormat{pLaTeX2e} \ProvidesPackage{ptrace} - [2017/02/20 v1.6f Standard pLaTeX package (font tracing)] + [2017/08/05 v1.6h Standard pLaTeX package (font tracing)] \RequirePackageWithOptions{tracefnt} %</trace> % \end{macrocode} @@ -1145,6 +1147,8 @@ \set@fontsize\baselinestretch\f@size\f@baselineskip \fi \size@update} +%</plcore|trace> +%<*plcore> % \end{macrocode} % \end{macro} % @@ -1163,7 +1167,7 @@ % |\fontsize|$B%3%^%s%I$NFbIt7A<0$G$9!#(B % $B%Y!<%9%i%$%s$N@_Dj$H!";YCl$N@_Dj$r9T$J$$$^$9!#(B % \begin{macrocode} -%</plcore|trace> +%</plcore> %<platexrelease|trace>\plIncludeInRelease{2017/04/08}{\set@fontsize} %<platexrelease|trace> {Construct \ystrutbox}% %<*plcore|platexrelease|trace> @@ -1247,7 +1251,7 @@ %</trace> %<platexrelease|trace> \let\size@update\relax}} %<platexrelease|trace>\plEndIncludeInRelease -%<*plcore|trace> +%<*plcore> % \end{macrocode} % \end{macro} % @@ -1257,30 +1261,41 @@ % $B8=:_$N2$J8%U%)%s%H$N(B``/''$B$NCf1{$,$/$k$h$&$K%Y!<%9%i%$%s%7%U%H$r@_Dj$7$^$9!#(B % \changes{v1.0c}{1995/08/31}{$B2$J8=qBN$N4p=`$r(B`M'$B$+$i(B`/'$B$KJQ99(B} % \changes{v1.2}{1995/11/21}{$B=DAH;~$N$_D4@0$9$k$h$&$K$7$?(B} -% \changes{v1.3j}{2000/10/24}{$BJ8F,$K3C3g8L$J$I$,$"$k$H$-$KM>7W$J%"%-$,$G(B -% $B$kLdBj$KBP=h(B} -% \changes{v1.3l}{2002/04/05}{\cs{adjustbaseline}$B$G%U%)%s%H$N4p=`CM$,=D=q$-(B -% $B0J30$G$O@_Dj$5$l$J$$$N$r=$@5(B} % % $BEv=i$O$^$:%Y!<%9%i%$%s%7%U%HNL$r%<%m$K$7$F$$$^$7$?$,!"(B % \cs{tbaselineshift}$B$rO"B3$7$FJQ99$7$?8e$K3C3g8LN`$r;H$&$HM>7W$J%"%-$,(B % $B$G$kLdBj$,5/$3$k$?$a!"(B\cs{tbaselineshift}$B$r%<%m%/%j%"$9$k=hM}$r:o=|$7(B % $B$^$7$?!#(B +% \changes{v1.3j}{2000/10/24}{$BJ8F,$K3C3g8L$J$I$,$"$k$H$-$KM>7W$J%"%-$,$G(B +% $B$kLdBj$KBP=h(B} % % $B$7$+$7!"$=$l$G$O%Y!<%9%i%$%s%7%U%H$rD4@0:Q$_$N2$J8%\%C%/%9$HHf3S$7$F(B % $B$7$^$&$?$a!"7W;;$7$?CM$,Bg$-$/$J$C$F$7$^$$$^$9!#$=$3$G!"$3$N%\%C%/%9(B % $B$NCf$G%<%m$K$9$k$h$&$K$7$^$7$?!#$^$?!"(B``/''$B$HHf3S$7$F$$$?$N$r(B``M''$B$K(B % $B$7$^$7$?!#(B -% \changes{v1.3k}{2001/05/10}{\cs{adjustbaseline}$B$ND4@0NL(B -% $B!J:F$S(B`M'$B$r4p=`$K$7$?!K(B} +% \changes{v1.3k}{2001/05/10}{$B2$J8=qBN$N4p=`$r:F$S(B`/`$B$+$i(B`M'$B$KJQ99(B} +% \changes{v1.3l}{2002/04/05}{\cs{adjustbaseline}$B$G%U%)%s%H$N4p=`CM$,=D=q$-(B +% $B0J30$G$O@_Dj$5$l$J$$$N$r=$@5(B} +% +% $BA43Q6uGr!J(BEUC$B%3!<%I(B\texttt{0xA1A1}$B!K$O(BJFM$B$GFC<l$J%?%$%W$KJ,N`$5$l$k2DG=@-(B +% $B$,$"$k$?$a!"OBJ8=qBN$N4p=`$r!V4A!W!J(BJIS$B%3!<%I(B\texttt{0x3441}$B!K$XJQ99$7$^$7$?!#(B +% \changes{v1.6h}{2017/08/05}{$BOBJ8=qBN$N4p=`$rA43Q6uGr$+$i!V4A!W$KJQ99(B} +% % \begin{macrocode} \newbox\adjust@box \newdimen\adjust@dimen +% \end{macrocode} +% +% \begin{macrocode} +%</plcore> +%<platexrelease|trace>\plIncludeInRelease{2017/07/29}{\adjustbaseline} +%<platexrelease|trace> {Change zenkaku reference}% +%<*plcore|platexrelease|trace> \def\adjustbaseline{% % \end{macrocode} % $BOBJ8%U%)%s%H$N4p=`CM$r@_Dj$7$^$9!#(B % \begin{macrocode} - \setbox\adjust@box\hbox{\char\euc"A1A1}%" + \setbox\adjust@box\hbox{\char\jis"3441}%" \cht\ht\adjust@box \cdp\dp\adjust@box \cwd\wd\adjust@box @@ -1294,10 +1309,11 @@ % % \begin{eqnarray*} % \textmc{$B%Y!<%9%i%$%s%7%U%HNL(B} &=& -% \{ (\textmc{$BA43Q6uGr$N?<$5(B}) - (\textmc{M$B$N?<$5(B}) \} \\ -% &&- \frac{(\textmc{$BA43Q6uGr$N9b$5(B$+$$B?<$5(B}) +% \{ (\textmc{$B4A$N?<$5(B}) - (\textmc{M$B$N?<$5(B}) \} \\ +% &&- \frac{(\textmc{$B4A$N9b$5(B$+$$B?<$5(B}) % - (\textmc{M$B$N9b$5(B$+$$B?<$5(B})}{2} % \end{eqnarray*} +% \changes{v1.6h}{2017/08/05}{trace$B$N%3!<%I$N(B\texttt{\%}$BK:$l$r=$@5(B} % % \begin{macrocode} \iftdir @@ -1309,11 +1325,38 @@ \advance\adjust@dimen\cdp \advance\adjust@dimen-\dp\adjust@box \tbaselineshift\adjust@dimen -%<trace> \ifnum \tracingfonts>\tw@ -%<trace> \typeout{baselineshift:\the\tbaselineshift} -%<trace> \fi +%<trace> \ifnum \tracingfonts>\tw@ +%<trace> \typeout{baselineshift:\the\tbaselineshift}% +%<trace> \fi \fi} -%</plcore|trace> +%</plcore|platexrelease|trace> +%<platexrelease|trace>\plEndIncludeInRelease +%<platexrelease|trace>\plIncludeInRelease{0000/00/00}{\adjustbaseline} +%<platexrelease|trace> {Change zenkaku reference}% +%<platexrelease|trace>\def\adjustbaseline{% +%<platexrelease|trace> \setbox\adjust@box\hbox{\char\euc"A1A1}%" +%<platexrelease|trace> \cht\ht\adjust@box +%<platexrelease|trace> \cdp\dp\adjust@box +%<platexrelease|trace> \cwd\wd\adjust@box +%<platexrelease|trace> \cvs\normalbaselineskip +%<platexrelease|trace> \chs\cwd +%<platexrelease|trace> \cHT\cht \advance\cHT\cdp +%<platexrelease|trace> \iftdir +%<platexrelease|trace> \setbox\adjust@box\hbox{\tbaselineshift\z@ M}% +%<platexrelease|trace> \adjust@dimen\ht\adjust@box +%<platexrelease|trace> \advance\adjust@dimen\dp\adjust@box +%<platexrelease|trace> \advance\adjust@dimen-\cHT +%<platexrelease|trace> \divide\adjust@dimen\tw@ +%<platexrelease|trace> \advance\adjust@dimen\cdp +%<platexrelease|trace> \advance\adjust@dimen-\dp\adjust@box +%<platexrelease|trace> \tbaselineshift\adjust@dimen +%<*trace> +%<platexrelease|trace> \ifnum \tracingfonts>\tw@ +%<platexrelease|trace> \typeout{baselineshift:\the\tbaselineshift} +%<platexrelease|trace> \fi +%</trace> +%<platexrelease|trace> \fi} +%<platexrelease|trace>\plEndIncludeInRelease %<*plcore> % \end{macrocode} % \end{macro} @@ -1407,7 +1450,9 @@ } \let\kenc@update\relax % \end{macrocode} +% \end{macro} % +% \begin{macro}{\@changed@kcmd} % |\@changed@cmd|$B$NOBJ8%(%s%3!<%G%#%s%0%P!<%8%g%s!#(B % \changes{v1.3n}{2004/08/10}{$BOBJ8%(%s%3!<%G%#%s%0$N@Z$jBX$($rM-8z2=(B} % \begin{macrocode} @@ -1754,42 +1799,6 @@ % \end{macro} % % -% -% \subsection{$B%G%U%)%k%H@_Dj%U%!%$%k$NFI$_9~$_(B} -% $B:G8e$K!"%G%U%)%k%H@_Dj%U%!%$%k$G$"$k!"(B\file{pldefs.ltx}$B$rFI$_9~$_$^$9!#(B -% $B$3$N%U%!%$%k$K$D$$$F$N>\:Y$O!"Bh(B\ref{plfonts:pldefs}$B@a$r;2>H$7$F$/$@$5$$!#(B -% \TeX{}$B$NF~NO%U%!%$%k8!:w%Q%9$K@_Dj$5$l$F$$$k%G%#%l%/%H%j$K(B\file{pldefs.cfg}% -% $B%U%!%$%k$,$"$k>l9g$O!"$=$N%U%!%$%k$r;H$$$^$9!#(B -% \begin{macrocode} -\InputIfFileExists{pldefs.cfg} - {\typeout{*************************************^^J% - * Local config file pldefs.cfg used^^J% - *************************************}}% - {\input{pldefs.ltx}} -%</plcore> -% \end{macrocode} -% -% -% -% -% \section{$B%G%U%)%k%H@_Dj%U%!%$%k(B}\label{plfonts:pldefs} -% $B$3$3$G$O!"%U%)!<%^%C%H%U%!%$%k$KFI$_9~$^$l$k%G%U%)%k%HCM$r@_Dj$7$F$$$^$9!#(B -% $B$3$N@a$G$NFbMF$O(B\file{pldefs.ltx}$B$K=PNO$5$l$^$9!#(B -% $B$3$N%U%!%$%k$NFbMF$r(B\file{plcore.ltx}$B$K4^$a$F$b$h$$$N$G$9$,!"(B -% $B%G%U%)%k%H$N@_Dj$r;2>H$7$d$9$$$h$&$K!"JL%U%!%$%k$K$7$F$"$j$^$9!#(B -% \file{pldefs.ltx}$B$O(B\file{plcore.ltx}$B$+$iFI$_9~$^$l$^$9!#(B -% -% $B%W%j%m!<%I%5%$%:$O!"(B\dst{}$B%W%m%0%i%`$N%*%W%7%g%s$GJQ99$9$k$3$H$,$G$-$^$9!#(B -% $B$3$l0J30$N@_Dj$rJQ99$7$?$$>l9g$O!"(B\file{pldefs.ltx}$B$r(B -% $BD>@\!"=$@5$9$k$N$G$O$J$/!"$3$N%U%!%$%k$r(B\file{pldefs.cfg}$B$H$$$&L>A0$G(B -% $B%3%T!<$r$7$F!"$=$N%U%!%$%k$KBP$7$F=$@5$r2C$($k$h$&$K$7$F$/$@$5$$!#(B -% \begin{macrocode} -%<*pldefs> -\ProvidesFile{pldefs.ltx} - [2016/06/26 v1.6e pLaTeX Kernel (Default settings)] -%</pldefs> -% \end{macrocode} -% % \subsection{$B9g@.J8;z(B} % \LaTeXe{}$B$N%+!<%M%k$N%3!<%I$r$=$N$^$^;H$&$H!"(Bp\TeX{}$B$N%Y!<%9%i%$%s(B % $BJd@5NL$,%<%m$G$J$$$H$-$K9g@.J8;z$,$*$+$7$/$J$C$F$$$?$?$a!"BP:v$7$^$9!#(B @@ -1800,11 +1809,12 @@ % $-1$$B$,JV$j$^$9!#(B % \changes{v1.6c}{2016/06/06}{$B%^%/%mDI2C(B} % \begin{macrocode} +%</plcore> %<platexrelease>\plIncludeInRelease{2016/06/10}{\g@tlastchart@} %<platexrelease> {Added \g@tlastchart@}% -%<*pldefs|platexrelease> +%<*plcore|platexrelease> \def\g@tlastchart@#1{#1\ifx\lastnodechar\@undefined\m@ne\else\lastnodechar\fi} -%</pldefs|platexrelease> +%</plcore|platexrelease> %<platexrelease>\plEndIncludeInRelease %<platexrelease>\plIncludeInRelease{0000/00/00}{\g@tlastchart@} %<platexrelease> {Added \g@tlastchart@}% @@ -1821,7 +1831,7 @@ % \begin{macrocode} %<platexrelease>\plIncludeInRelease{2016/06/10}{\pltx@isletter} %<platexrelease> {Added \pltx@isletter}% -%<*pldefs|platexrelease> +%<*plcore|platexrelease> \def\pltx@mark{\pltx@mark@} \let\pltx@scanstop\relax \long\def\pltx@cond#1\fi{% @@ -1840,7 +1850,7 @@ \pltx@cond{\ifnum0\ifcat A\noexpand#21\fi\ifcat=\noexpand#21\fi>\z@}\fi {\@firstoftwo}{\@secondoftwo}% }{\@secondoftwo}} -%</pldefs|platexrelease> +%</plcore|platexrelease> %<platexrelease>\plEndIncludeInRelease %<platexrelease>\plIncludeInRelease{0000/00/00}{\pltx@isletter} %<platexrelease> {Added \pltx@isletter}% @@ -1979,10 +1989,46 @@ %<platexrelease> \fi %<platexrelease> #1} %<platexrelease>\plEndIncludeInRelease -%<*pldefs> +%<*plcore> % \end{macrocode} % \end{macro} % +% +% \subsection{$B%G%U%)%k%H@_Dj%U%!%$%k$NFI$_9~$_(B} +% $B:G8e$K!"%G%U%)%k%H@_Dj%U%!%$%k$G$"$k!"(B\file{pldefs.ltx}$B$rFI$_9~$_$^$9!#(B +% $B$3$N%U%!%$%k$K$D$$$F$N>\:Y$O!"Bh(B\ref{plfonts:pldefs}$B@a$r;2>H$7$F$/$@$5$$!#(B +% \TeX{}$B$NF~NO%U%!%$%k8!:w%Q%9$K@_Dj$5$l$F$$$k%G%#%l%/%H%j$K(B\file{pldefs.cfg}% +% $B%U%!%$%k$,$"$k>l9g$O!"$=$N%U%!%$%k$r;H$$$^$9!#(B +% \begin{macrocode} +\InputIfFileExists{pldefs.cfg} + {\typeout{*************************************^^J% + * Local config file pldefs.cfg used^^J% + *************************************}}% + {\input{pldefs.ltx}} +%</plcore> +% \end{macrocode} +% +% +% +% +% \section{$B%G%U%)%k%H@_Dj%U%!%$%k(B}\label{plfonts:pldefs} +% $B$3$3$G$O!"%U%)!<%^%C%H%U%!%$%k$KFI$_9~$^$l$k%G%U%)%k%HCM$r@_Dj$7$F$$$^$9!#(B +% $B$3$N@a$G$NFbMF$O(B\file{pldefs.ltx}$B$K=PNO$5$l$^$9!#(B +% $B$3$N%U%!%$%k$NFbMF$r(B\file{plcore.ltx}$B$K4^$a$F$b$h$$$N$G$9$,!"(B +% $B%G%U%)%k%H$N@_Dj$r;2>H$7$d$9$$$h$&$K!"JL%U%!%$%k$K$7$F$"$j$^$9!#(B +% \file{pldefs.ltx}$B$O(B\file{plcore.ltx}$B$+$iFI$_9~$^$l$^$9!#(B +% +% $B%W%j%m!<%I%5%$%:$O!"(B\dst{}$B%W%m%0%i%`$N%*%W%7%g%s$GJQ99$9$k$3$H$,$G$-$^$9!#(B +% $B$3$l0J30$N@_Dj$rJQ99$7$?$$>l9g$O!"(B\file{pldefs.ltx}$B$r(B +% $BD>@\!"=$@5$9$k$N$G$O$J$/!"$3$N%U%!%$%k$r(B\file{pldefs.cfg}$B$H$$$&L>A0$G(B +% $B%3%T!<$r$7$F!"$=$N%U%!%$%k$KBP$7$F=$@5$r2C$($k$h$&$K$7$F$/$@$5$$!#(B +% \begin{macrocode} +%<*pldefs> +\ProvidesFile{pldefs.ltx} + [2017/08/05 v1.6h pLaTeX Kernel (Default settings)] +%</pldefs> +% \end{macrocode} +% % \subsection{$B%$%?%j%C%/Jd@5(B} % \changes{v1.3i}{2000/07/13}{\cs{text..}$B%3%^%s%I$N:8B&$K(B\cs{xkanjiskip}$B$,(B % $BF~$i$J$$$N$r=$@5!J$"$j$,$H$&!"25It!wElBg$5$s!K(B} @@ -1990,6 +2036,7 @@ % $B!V(B\verb|$B$"(B\texttt{abc}$B$$(B|$B!W$H$7$?$H$-!"=qBN$NJQ99$r;XDj$5$l$?2$J8$N:8B&$K(B % $BOB2$J84V%9%Z!<%9$,F~$i$J$$$N$r=$@5$7$^$9!#(B % \begin{macrocode} +%<*pldefs> \def \check@nocorr@ #1#2\nocorr#3\@nil {% \let \check@icl \relax% \maybe@ic $B$+$iJQ99(B \def \check@icr {\ifvmode \else \aftergroup \maybe@ic \fi}% |