texlive[57729] Master/texmf-dist: platex-tools (13feb21)
commits+karl at tug.org
commits+karl at tug.org
Sat Feb 13 23:16:52 CET 2021
Revision: 57729
http://tug.org/svn/texlive?view=revision&revision=57729
Author: karl
Date: 2021-02-13 23:16:52 +0100 (Sat, 13 Feb 2021)
Log Message:
-----------
platex-tools (13feb21)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/platex-tools/LICENSE
trunk/Master/texmf-dist/doc/latex/platex-tools/README.md
trunk/Master/texmf-dist/doc/latex/platex-tools/pxatbegshi.pdf
trunk/Master/texmf-dist/doc/latex/platex-tools/pxatbegshi.tex
trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.pdf
trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex
trunk/Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.pdf
trunk/Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex
trunk/Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty
trunk/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty
trunk/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty
Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/LICENSE
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/LICENSE 2021-02-13 22:16:32 UTC (rev 57728)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/LICENSE 2021-02-13 22:16:52 UTC (rev 57729)
@@ -1,4 +1,4 @@
-Copyright (c) 2016-2020 Hironobu Yamashita
+Copyright (c) 2016-2021 Hironobu Yamashita
All rights reserved.
Redistribution and use in source and binary forms, with or without
Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/README.md 2021-02-13 22:16:32 UTC (rev 57728)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/README.md 2021-02-13 22:16:52 UTC (rev 57729)
@@ -83,6 +83,6 @@
## Release Date
-2020-10-14
+2021-02-13
Hironobu Yamashita
Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/pxatbegshi.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/pxatbegshi.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/pxatbegshi.tex 2021-02-13 22:16:32 UTC (rev 57728)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/pxatbegshi.tex 2021-02-13 22:16:52 UTC (rev 57729)
@@ -51,8 +51,9 @@
\end{quote}
と明言します(例:\verb+aminophen/platex-tools#15+)。
-\pLaTeXe~2020-10-01以降では、同等の機能が\pLaTeXe{}カーネルに
-存在するため、\textsf{pxatbegshi}パッケージは何もしません。
+\LaTeXe~2020-10-01以降では、\textsf{atbegshi}と同等の機能がカーネルに
+実装されていて、その対処は\pLaTeXe{}カーネルでなされます。
+この場合、\textsf{pxatbegshi}パッケージは何もしません。
\newpage
\section{使いかた}
Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex 2021-02-13 22:16:32 UTC (rev 57728)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/pxeverysel.tex 2021-02-13 22:16:52 UTC (rev 57729)
@@ -36,6 +36,13 @@
この\textsf{pxeverysel}パッケージを読み込むことで、p\LaTeX でも
\textsf{everysel}パッケージを使えるようになります。
+\LaTeXe~2021-05-01以降では、\textsf{everysel}と同等の機能がカーネルに
+実装されていて、その対処は\pLaTeXe{}カーネルでなされます。
+この場合、\textsf{pxeverysel}パッケージは何もしません。
+
+\newpage
+\section{使いかた}
+
使いかたは、\textsf{everysel}パッケージの代わりに、あるいは
\textsf{everysel}パッケージに追加して、\textsf{pxeverysel}パッケージを
読み込むだけです\footnote{稀に\\\texttt{%
Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex 2021-02-13 22:16:32 UTC (rev 57728)
+++ trunk/Master/texmf-dist/doc/latex/platex-tools/pxeveryshi.tex 2021-02-13 22:16:52 UTC (rev 57729)
@@ -44,8 +44,9 @@
\textsf{everyshi}パッケージ(およびこれに依存するパッケージ)が
使えるようになります。
-\pLaTeXe~2020-10-01以降では、同等の機能が\pLaTeXe{}カーネルに
-存在するため、\textsf{pxeveryshi}パッケージは何もしません。
+\LaTeXe~2020-10-01以降では、\textsf{everyshi}と同等の機能がカーネルに
+実装されていて、その対処は\pLaTeXe{}カーネルでなされます。
+この場合、\textsf{pxeveryshi}パッケージは何もしません。
\section{使いかた}
Modified: trunk/Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty 2021-02-13 22:16:32 UTC (rev 57728)
+++ trunk/Master/texmf-dist/tex/latex/platex-tools/pxatbegshi.sty 2021-02-13 22:16:52 UTC (rev 57729)
@@ -30,23 +30,25 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{pxatbegshi}
- [2020/09/25 v0.7 Patch to atbegshi for (u)pLaTeX]
+ [2021/02/13 v0.7b Patch to atbegshi for (u)pLaTeX]
-%% preparations
-\def\pxabgs at pkgname{pxatbegshi}
-\def\pxabgs at warn{\PackageWarningNoLine\pxabgs at pkgname}
-
-%% load it
-\RequirePackage{atbegshi}
-
%% Since LaTeX2e 2020-10-01, atbegshi.sty is merely
%% an emulation by atbegshi-ltx.sty from ltshipout.dtx.
-%% The new code does NOT define \AtBegShi at Output,
-%% so we can detect it!
-\ifx\AtBegShi at Output\@undefined
- %% pLaTeX2e 2020-10-01 natively supports the situation
- \PackageInfo{pxatbegshi}{This package is no longer needed}
+\chardef\pxabgs at status=\z@
+\ifx\IfHookExistsTF\@undefined\else % >= LaTeX2e 2020-10-01
+ \IfHookExistsTF{shipout/before}{% % >= LaTeX2e 2020-10-01
+ \chardef\pxabgs at status=\@ne
+ }{}
+\fi
+\ifnum\pxabgs at status=\@ne
+ % if LaTeX2e and pLaTeX2e are inconsistent, raise an error!
+ \@ifl at t@r\pfmtversion{2020/10/01}{%
+ \PackageInfo{pxatbegshi}{This package is no longer needed}%
+ }{%
+ \PackageError{pxatbegshi}{Inconsistent LaTeX2e/pLaTeX2e combination}\@ehc
+ }%
+ \RequirePackage{atbegshi}% input anyway
\expandafter\endinput
\fi
@@ -53,6 +55,17 @@
%% The rest of this package is meant for
%% LaTeX2e 2020-02-02 PL5 or older.
+\RequirePackage{atbegshi}
+
+\ifx\AtBegShi at Output\@undefined
+ \PackageError{pxatbegshi}{This should not happen}\@ehc
+ \expandafter\endinput
+\fi
+
+%% preparations
+\def\pxabgs at pkgname{pxatbegshi}
+\def\pxabgs at warn{\PackageWarningNoLine\pxabgs at pkgname}
+
%% internal macros are locally effective
\begingroup
Modified: trunk/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty 2021-02-13 22:16:32 UTC (rev 57728)
+++ trunk/Master/texmf-dist/tex/latex/platex-tools/pxeverysel.sty 2021-02-13 22:16:52 UTC (rev 57729)
@@ -8,15 +8,41 @@
% by courtesy of the original author.
% https://github.com/aminophen/platex-tools
%
+% --------------------------------------------------------------------
+% [Note]
+% Update: version 2021/02/13 v0.9a does nothing, since
+% pLaTeX2e 2021-??-?? will support the situation natively.
+% --------------------------------------------------------------------
+%
%% package declaration
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pxeverysel}
- [2018/10/28 v0.9 Patch to everysel for (u)pLaTeX]
+ [2021/02/13 v0.9b Patch to everysel for (u)pLaTeX]
-%% previous code for ctex support has been removed in v0.5,
-%% as ctex has depended on pxeverysel since 2016/12/27 v2.4.7
+%% Since LaTeX2e 2021-05-01, everysel.sty is merely
+%% an emulation by everysel-ltx.sty from firstaid.
+\chardef\pxys at status=\z@
+\ifx\IfHookExistsTF\@undefined\else % >= LaTeX2e 2020-10-01
+ \IfHookExistsTF{selectfont}{% % >= LaTeX2e 2021-05-01
+ \chardef\pxys at status=\@ne
+ }{}
+\fi
+\ifnum\pxys at status=\@ne
+ % if LaTeX2e and pLaTeX2e are inconsistent, raise an error!
+ \ifx\delayed at k@adjustment\@undefined
+ \PackageError{pxeverysel}{Inconsistent LaTeX2e/pLaTeX2e combination}\@ehc
+ \else
+ \PackageInfo{pxeverysel}{This package is no longer needed}%
+ \fi
+ \RequirePackage{everysel}% input anyway
+ \expandafter\endinput
+\fi
+
+%% The rest of this package is meant for
+%% LaTeX2e 2020-10-01 PL4 or older.
+
%% in case it's too late ...
\@ifpackageloaded{everysel}{%
% everysel.sty removes \@EverySelectfont at Init once it is used
Modified: trunk/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty 2021-02-13 22:16:32 UTC (rev 57728)
+++ trunk/Master/texmf-dist/tex/latex/platex-tools/pxeveryshi.sty 2021-02-13 22:16:52 UTC (rev 57729)
@@ -15,19 +15,28 @@
% --------------------------------------------------------------------
%
-\NeedsTeXFormat{pLaTeX2e}
+%% package declaration
+\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pxeveryshi}
- [2020/09/25 v0.2 everyshi package for pLaTeX]
-\RequirePackageWithOptions{everyshi}
+ [2021/02/13 v0.2b everyshi package for (u)pLaTeX]
%% Since LaTeX2e 2020-10-01, everyshi.sty is merely
%% an emulation by everyshi-ltx.sty from ltshipout.dtx.
-%% The new code does NOT define \@EveryShipout at Output,
-%% so we can detect it!
-\ifx\@EveryShipout at Output\@undefined
- %% pLaTeX2e 2020-10-01 natively supports the situation
- \PackageInfo{pxeveryshi}{This package is no longer needed}
+\chardef\pxevsh at status=\z@
+\ifx\IfHookExistsTF\@undefined\else % >= LaTeX2e 2020-10-01
+ \IfHookExistsTF{shipout/before}{% % >= LaTeX2e 2020-10-01
+ \chardef\pxevsh at status=\@ne
+ }{}
+\fi
+\ifnum\pxevsh at status=\@ne
+ % if LaTeX2e and pLaTeX2e are inconsistent, raise an error!
+ \@ifl at t@r\pfmtversion{2020/10/01}{%
+ \PackageInfo{pxeveryshi}{This package is no longer needed}%
+ }{%
+ \PackageError{pxeveryshi}{Inconsistent LaTeX2e/pLaTeX2e combination}\@ehc
+ }%
+ \RequirePackageWithOptions{everyshi}% input anyway
\expandafter\endinput
\fi
@@ -34,6 +43,13 @@
%% The rest of this package is meant for
%% LaTeX2e 2020-02-02 PL5 or older.
+\RequirePackageWithOptions{everyshi}
+
+\ifx\@EveryShipout at Output\@undefined
+ \PackageError{pxeveryshi}{This should not happen}\@ehc
+ \expandafter\endinput
+\fi
+
\def\@EveryShipout at Output{%
\setbox8\vbox{%
\yoko
More information about the tex-live-commits
mailing list.