texlive[56452] Master/texmf-dist: plautopatch (27sep20)

commits+karl at tug.org commits+karl at tug.org
Sun Sep 27 23:26:36 CEST 2020


Revision: 56452
          http://tug.org/svn/texlive?view=revision&revision=56452
Author:   karl
Date:     2020-09-27 23:26:36 +0200 (Sun, 27 Sep 2020)
Log Message:
-----------
plautopatch (27sep20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/plautopatch/README.md
    trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.pdf
    trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.tex
    trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.pdf
    trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.tex
    trunk/Master/texmf-dist/tex/latex/plautopatch/plarydshln.sty
    trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
    trunk/Master/texmf-dist/tex/latex/plautopatch/pldocverb.sty
    trunk/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty
    trunk/Master/texmf-dist/tex/latex/plautopatch/plextcolortbl.sty
    trunk/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty
    trunk/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
    trunk/Master/texmf-dist/tex/latex/plautopatch/pxstfloats.sty
    trunk/Master/texmf-dist/tex/latex/plautopatch/pxtextpos.sty

Added Paths:
-----------
    trunk/Master/texmf-dist/tex/latex/plautopatch/pxesopic.sty

Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/plautopatch/README.md	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/doc/latex/plautopatch/README.md	2020-09-27 21:26:36 UTC (rev 56452)
@@ -33,6 +33,7 @@
 - multicol (latex-tools) -> pxmulticol (platex-tools)
 - xspace (latex-tools) -> pxxspace (platex-tools)
 - textpos -> pxtextpos (maintained here!)
+- eso-pic -> pxesopic (maintained here!)
 - pdfpages -> pxpdfpages (maintained here!)
 - stfloats (sttools) -> pxstfloats (pxsttools)
 - hyperref -> pxjahyper (by Takayuki YATO)
@@ -72,6 +73,9 @@
 - pxtextpos.sty:
     Patch for textpos.sty (by Norman Gray) to support
     Japanese-style crop marks (called 'tombow' in Japanese).
+- pxesopic.sty:
+    Patch for eso-pic.sty (by Rolf Niepraschk) to support
+    Japanese-style crop marks (called 'tombow' in Japanese).
 - pxpdfpages.sty:
     Patch for pdfpages.sty (by Andreas Matthias) to support
     Japanese-style crop marks (called 'tombow' in Japanese).
@@ -101,6 +105,6 @@
 
 ## Release Date
 
-2020-05-25
+2020-09-27
 
 Hironobu Yamashita

Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.tex	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch-ja.tex	2020-09-27 21:26:36 UTC (rev 56452)
@@ -119,6 +119,7 @@
 \ITEMoTo  multicol (latex-tools) -> pxmulticol (platex-tools)
 \ITEMoTo  xspace (latex-tools) -> pxxspace (platex-tools)
 \ITEMxTx  textpos -> pxtextpos (maintained here!)
+\ITEMxTx  eso-pic -> pxesopic (maintained here!)
 \ITEMxTx  pdfpages -> pxpdfpages (maintained here!)
 \ITEMoTo  stfloats (sttools) -> pxstfloats (pxsttools)
 \ITEMxTx  hyperref -> pxjahyper (by Takayuki YATO)
@@ -158,6 +159,9 @@
   \item 2020/02/25 v0.9e \textsf{textpos}のサポート
   \item 2020/05/05 v0.9f \textsf{collcell}のサポート
   \item 2020/05/25 v0.9g \textsf{pxjahyper}の自動読込
+  \item 2020/09/13 v0.9h \LaTeXe~2020-10-01では\textsf{filehook}非依存に
+  \item 2020/09/25 v0.9i \textsf{pxeveryshi}と\textsf{pxatbegshi}を不要に
+  \item 2020/09/27 v0.9j \textsf{eso-pic}のサポート(要\LaTeXe~2020-10-01)
 \end{itemize}
 
 \end{document}

Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.tex	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/doc/latex/plautopatch/plautopatch.tex	2020-09-27 21:26:36 UTC (rev 56452)
@@ -118,6 +118,7 @@
 \ITEMoTo  multicol (latex-tools) -> pxmulticol (platex-tools)
 \ITEMoTo  xspace (latex-tools) -> pxxspace (platex-tools)
 \ITEMxTx  textpos -> pxtextpos (maintained here!)
+\ITEMxTx  eso-pic -> pxesopic (maintained here!)
 \ITEMxTx  pdfpages -> pxpdfpages (maintained here!)
 \ITEMoTo  stfloats (sttools) -> pxstfloats (pxsttools)
 \ITEMxTx  hyperref -> pxjahyper (by Takayuki YATO)
@@ -160,6 +161,9 @@
   \item 2020/02/25 v0.9e Add support for \textsf{textpos}
   \item 2020/05/05 v0.9f Add support for \textsf{collcell}
   \item 2020/05/25 v0.9g Automatically load \textsf{pxjahyper}
+  \item 2020/09/13 v0.9h No dependency for \textsf{filehook} on \LaTeXe~2020-10-01
+  \item 2020/09/25 v0.9i Do not require \textsf{pxeveryshi} and \textsf{pxatbegshi}
+  \item 2020/09/27 v0.9j Add support for \textsf{eso-pic} (\LaTeXe~2020-10-01 required)
 \end{itemize}
 
 \end{document}

Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/plarydshln.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/plarydshln.sty	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/plarydshln.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -9,7 +9,7 @@
 %   * arydshln.sty
 %     (2004/08/31 v1.71 -- 2019/02/21 v1.76)
 %   * plcore.ltx in platex
-%     (2001/09/26 v1.2a -- 2019/02/08 v1.3b)
+%     (2001/09/26 v1.2a -- 2020/03/05 v1.3e)
 %
 
 %% package declaration

Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -8,7 +8,7 @@
 
 \NeedsTeXFormat{LaTeX2e}% not pLaTeX2e on purpose!
 \ProvidesPackage{plautopatch}
-    [2020/05/25 v0.9g Automated patches for pLaTeX/upLaTeX]
+    [2020/09/27 v0.9j Automated patches for pLaTeX/upLaTeX]
 
 \ifx\pfmtname\@undefined
   \PackageWarningNoLine{plautopatch}{%
@@ -23,8 +23,22 @@
 \def\platpc at warn{\PackageWarningNoLine\platpc at pkgname}
 \def\platpc at info{\PackageInfo\platpc at pkgname}
 
-\RequirePackage{filehook}
+%% Since LaTeX2e 2020-10-01, most of features in filehook.sty
+%% is available in ltfilehook.dtx.
+%% The new code defines \declare at file@substitution,
+%% so we can detect it!
 
+\ifx\declare at file@substitution\@undefined
+  % LaTeX2e 2020-02-02 PL5 or older
+  \RequirePackage{filehook}
+  \let\platpc at ExecuteAfterPackage=\AtEndOfPackageFile
+  \let\platpc at ExecuteBeforePackage=\AtBeginOfPackageFile
+\else
+  % LaTeX2e 2020-10-01 or newer
+  \def\platpc at ExecuteAfterPackage#1{\AddToHook{package/after/#1}}
+  \def\platpc at ExecuteBeforePackage#1{\AddToHook{package/before/#1}}
+\fi
+
 % low-level helpers
 
 %% \platpc at ifreq@add{<package>}
@@ -67,7 +81,7 @@
   \@ifpackageloaded{#1}{%
     \csname platpc at end@#1\endcsname
   }{%
-    \AtEndOfPackageFile{#1}{\csname platpc at end@#1\endcsname}%
+    \platpc at ExecuteAfterPackage{#1}{\csname platpc at end@#1\endcsname}%
   }%
 }
 \@onlypreamble\platpc at patch@after
@@ -84,16 +98,16 @@
     \@ifpackageloaded{#2}{%
       \csname platpc at end@#1+#2\endcsname
     }{%
-      \AtEndOfPackageFile{#2}{\csname platpc at end@#1+#2\endcsname}%
+      \platpc at ExecuteAfterPackage{#2}{\csname platpc at end@#1+#2\endcsname}%
     }%
   }{%
     \@ifpackageloaded{#2}{%
-      \AtEndOfPackageFile{#1}{\csname platpc at end@#1+#2\endcsname}%
+      \platpc at ExecuteAfterPackage{#1}{\csname platpc at end@#1+#2\endcsname}%
     }{%
-      \AtEndOfPackageFile{#1}{%
+      \platpc at ExecuteAfterPackage{#1}{%
         \@ifpackageloaded{#2}{\csname platpc at end@#1+#2\endcsname}{}%
       }%
-      \AtEndOfPackageFile{#2}{%
+      \platpc at ExecuteAfterPackage{#2}{%
         \@ifpackageloaded{#1}{\csname platpc at end@#1+#2\endcsname}{}%
       }%
     }%
@@ -119,13 +133,7 @@
         % load the <patch> package
         \RequirePackage{#2}\platpc at addtolist{#2}%
         % avoid loading <orig> twice by discarding "\@@input <orig>" (*!)
-        \let\platpc at filehook@@atbegin\filehook@@atbegin
-        \def\filehook@@atbegin\@@input####1\filehook at atend{%
-          \let\filehook@@atbegin\platpc at filehook@@atbegin
-          % avoid infinite loop even when \AtEndOfPackageFile used
-          \expandafter\let\csname filehook at atend@#1.sty\endcsname\relax
-          \filehook@@atbegin
-          \filehook at atend}%
+        \platpc at discard@input{#1}%
         % all done
       }%
     }%
@@ -134,11 +142,30 @@
   \@ifpackageloaded{#1}{%
     \platpc at err@toolate{#1}%
   }{% else
-    \AtBeginOfPackageFile{#1}{\csname platpc at begin@#1\endcsname}%
+    \platpc at ExecuteBeforePackage{#1}{\csname platpc at begin@#1\endcsname}%
   }%
 }
 \@onlypreamble\platpc at patch@before
 
+\ifx\declare at file@substitution\@undefined
+  % LaTeX2e 2020-02-02 PL5 or older
+  \def\platpc at discard@input#1{%
+    \let\platpc at filehook@@atbegin\filehook@@atbegin
+    \def\filehook@@atbegin\@@input##1\filehook at atend{%
+      \let\filehook@@atbegin\platpc at filehook@@atbegin
+      % avoid infinite loop even when \AtEndOfPackageFile used
+      \expandafter\let\csname filehook at atend@#1.sty\endcsname\relax
+      \filehook@@atbegin
+      \filehook at atend}}
+\else
+  % LaTeX2e 2020-10-01 or newer
+  \def\platpc at discard@input#1{%
+    \let\platpc at InputIfFileExists\InputIfFileExists
+    \def\InputIfFileExists##1##2##3{%
+      \let\InputIfFileExists\platpc at InputIfFileExists}}
+\fi
+\@onlypreamble\platpc at discard@input
+
 % interface for users who want don't patches
 
 %% \plautopatchdisable{<orig 1>,<orig 2>,...}
@@ -186,12 +213,24 @@
 % --- in most cases, pxeverysel can be safely loaded even after everysel
 % --- but it can fail when \AtBeginDocument{everysel} is involved
 \platpc at patch@before{everysel}{pxeverysel}% platex-tools
-\platpc at patch@after{everyshi}{pxeveryshi}% platex-tools
-\platpc at patch@after{atbegshi}{pxatbegshi}% platex-tools
+% --- since LaTeX2e 2020-10-01, everyshi.sty is merely
+% --- an emulation by everyshi-ltx.sty from ltshipout.dtx,
+% --- which is supported by pLaTeX2e kernel natively
+\@ifl at t@r{\fmtversion}{2020/10/01}{}%
+  {\platpc at patch@after{everyshi}{pxeveryshi}}% platex-tools
+% --- since LaTeX2e 2020-10-01, atbegshi.sty is merely
+% --- an emulation by atbegshi-ltx.sty from ltshipout.dtx,
+% --- which is supported by pLaTeX2e kernel natively
+\@ifl at t@r{\fmtversion}{2020/10/01}{}%
+  {\platpc at patch@after{atbegshi}{pxatbegshi}}% platex-tools
 \platpc at patch@before{ftnright}{pxftnright}% platex-tools
 \platpc at patch@after{multicol}{pxmulticol}% platex-tools
 \platpc at patch@after{xspace}{pxxspace}% platex-tools
 \platpc at patch@after{textpos}{pxtextpos}% (maintained here!)
+% --- until LaTeX2e 2020-10-01, patching eso-pic automatically
+% --- is not supported by pxesopic
+\@ifl at t@r{\fmtversion}{2020/10/01}%
+  {\platpc at patch@before{eso-pic}{pxesopic}}{}% (maintained here!)
 \platpc at patch@after{pdfpages}{pxpdfpages}% (maintained here!)
 \platpc at patch@before{stfloats}{pxstfloats}% pxsttools -- (!!)
 % --- in most cases, pxjahyper works without explicit options
@@ -213,6 +252,6 @@
 % special case, mainly for problematic packages
 % --- mdwtab forbids loading array
 % --- so plarray should also be forbidden
-\AtEndOfPackageFile{mdwtab}{\@namedef{ver at plarray.sty}{}}
+\platpc at ExecuteAfterPackage{mdwtab}{\@namedef{ver at plarray.sty}{}}
 
 \endinput

Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/pldocverb.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/pldocverb.sty	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/pldocverb.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -7,9 +7,9 @@
 %
 % This package is expected to be compatible with
 %   * doc.sty
-%     (2004/02/09 v2.1b -- 2018/09/25 v2.1i)
+%     (2004/02/09 v2.1b -- 2020/06/15 v2.1m)
 %   * plcore.ltx in platex
-%     (2001/09/26 v1.2a -- 2019/02/08 v1.3b)
+%     (2001/09/26 v1.2a -- 2020/03/05 v1.3e)
 %
 
 %% package declaration

Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -9,7 +9,7 @@
 %   * arydshln.sty
 %     (2004/08/31 v1.71 -- 2019/02/21 v1.76)
 %   * plext.sty in platex
-%     (2001/09/26 v1.2  -- 2018/10/07 v1.2k)
+%     (2001/09/26 v1.2  -- 2019/09/29 v1.2l)
 %
 
 %% package declaration

Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/plextcolortbl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/plextcolortbl.sty	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/plextcolortbl.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -7,9 +7,9 @@
 %
 % This package is expected to be compatible with
 %   * colortbl.sty
-%     (2012/06/21 v1.0b -- 2018/12/12 v1.0d)
+%     (2012/06/21 v1.0b -- 2020/01/04 v1.0e)
 %   * plext.sty in platex
-%     (2001/09/26 v1.2  -- 2018/10/07 v1.2k)
+%     (2001/09/26 v1.2  -- 2019/09/29 v1.2l)
 %
 
 %% package declaration

Added: trunk/Master/texmf-dist/tex/latex/plautopatch/pxesopic.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/pxesopic.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/pxesopic.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -0,0 +1,177 @@
+%
+% pxesopic.sty
+% written by Hironobu Yamashita (@aminophen)
+%
+% This package is part of the plautopatch bundle.
+% https://github.com/aminophen/plautopatch
+%
+% This package is expected to be compatible with
+%   * eso-pic.sty
+%     ????/??/?? v?.? -- 2018/04/12 v2.0h
+%
+% --------------------------------------------------------------
+% [Note]
+% The package ``pxesopic.sty'' relies heavily on internals
+% of ``plautopatch.sty''
+% --------------------------------------------------------------
+%
+
+%% package declaration
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{pxesopic}
+    [2020/09/27 v0.2a Patch to eso-pic for tombow]
+
+%% preparations
+\def\pxesop at pkgname{pxesopic}
+\def\pxesop at error{\PackageError\pxesop at pkgname}
+\def\pxesop at warn{\PackageWarningNoLine\pxesop at pkgname}
+\let\pxesop at debug\@gobble
+\def\pxesop at debug#1{\typeout{\pxesop at pkgname: [DEBUG] #1}}% for debug
+
+%% hooks
+\ifx\declare at file@substitution\@undefined
+  % LaTeX2e 2020-02-02 PL5 or older
+  \RequirePackage{filehook}
+  \let\pxesop at ExecuteAfterPackage=\AtEndOfPackageFile
+  \let\pxesop at ExecuteBeforePackage=\AtBeginOfPackageFile
+\else
+  % LaTeX2e 2020-10-01 or newer
+  \def\pxesop at ExecuteAfterPackage#1{\AddToHook{package/after/#1}}
+  \def\pxesop at ExecuteBeforePackage#1{\AddToHook{package/before/#1}}
+\fi
+
+%% the contents of \AtBeginShipout is dependent on \iftombow;
+%% delay execution of \AtBeginShipout inside ``eso-pic.sty''
+%% until \AtBeginDocument, to support both (u)pLaTeX kernel
+%% and ``gentombow.sty''
+\RequirePackage{atbegshi}% eso-pic requires atbegshi
+\pxesop at ExecuteBeforePackage{eso-pic}{\pxesop at before}
+\pxesop at ExecuteAfterPackage{eso-pic}{\pxesop at after}
+%
+\def\pxesop at before{%
+  \let\pxesop at AtBeginShipout\AtBeginShipout
+  \def\AtBeginShipout##1{\def\pxesop at hook{##1}}% hide it
+  \pxesop at debug{\noexpand\AtBeginShipout disabled}%
+  \let\pxesop at before\relax
+}
+\def\pxesop at after{%
+  \let\AtBeginShipout\pxesop at AtBeginShipout    % restore
+  \let\pxesop at AtBeginShipout\relax
+  \pxesop at debug{\noexpand\AtBeginShipout restored}%
+  \let\@unknownoptionerror\relax %% avoid an error
+  \pxesop at debug{\noexpand\@unknownoptionerror disabled}%
+  \let\pxesop at after\relax
+}
+%%
+
+%% load it; be careful not to cause unknown option error!
+\expandafter\ifx\csname @unknownoptionerror\endcsname
+  \pxesop at error{Failed to save \noexpand\@unknownoptionerror}\@ehc
+\fi
+\let\pxesop at unknownoptionerror\@unknownoptionerror
+%
+\chardef\pxesop at status\z@
+\@ifpackageloaded{plautopatch}{%
+  \expandafter\ifx\csname platpc at begin@eso-pic\endcsname\relax
+    % ``plautopatch.sty'' is loaded but the macro is \relax
+    % => means that ``pxesopic.sty'' is automatically loaded
+    \chardef\pxesop at status\@ne
+  \fi
+}{}
+%
+%% pass all options to keyval-style ``eso-pic.sty''
+\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{eso-pic}}
+\ProcessOptions\relax
+\RequirePackage{eso-pic}
+%
+%% recover the error
+\ifnum\pxesop at status>\z@ % auto
+  \def\pxesop at pkgtohook{eso-pic}%
+  % note that ``plautopatch.sty'' discards the hook
+  % on LaTeX2e 2020-02-02 PL5 or older
+  \ifx\declare at file@substitution\@undefined
+    \let\pxesop at pkgtohook\pxesop at pkgname
+    % throw an error for unsupported usage
+    % [FIXME] the error below is actually unnecessary when
+    % none of ``eso-pic.sty'' options is used; how to detect that?
+    \pxesop at error{Try loading \pxesop at pkgname\space by hand}\@ehc
+  \fi
+\else
+  \let\pxesop at pkgtohook\pxesop at pkgname
+\fi
+\pxesop at ExecuteAfterPackage\pxesop at pkgtohook{%
+  \let\@unknownoptionerror\pxesop at unknownoptionerror
+  \pxesop at debug{\noexpand\@unknownoptionerror restored}%
+}
+%%
+
+%% delayed to detect \iftombow status
+\AtBeginDocument{%
+  \ifx\tombowtrue\@undefined
+    \pxesop at warn{Tombow feature unavailable, aborting}%
+  \fi
+  \iftombow \pxesop at new \else \pxesop at orig \fi}%
+%
+%% for \iftombow is FALSE => restore from ``eso-pic.sty''
+\expandafter\def\expandafter\pxesop at orig\expandafter{%
+  \expandafter\AtBeginShipout\expandafter{\pxesop at hook}}
+%
+%% for \iftombow is TRUE => redefine by ``pxesopic.sty''
+\def\pxesop at new{%
+  %% \AtStockLowerLeft: based on TRUE of \ESO at isMEMOIR
+  \renewcommand\AtStockLowerLeft[1]{%
+    \begingroup
+      \@tempdima=-\stockwidth
+      \advance\@tempdima\paperwidth
+      \@tempdimb=-\stockheight
+      \advance\@tempdimb\paperheight
+      %% specific BEGIN
+      \advance\@tempdima 1in\relax
+      \advance\@tempdimb 1in\relax
+      %% specific END
+      \AtPageLowerLeft{%
+        \put(\LenToUnit{\@tempdima},\LenToUnit{\@tempdimb}){##1}%
+      }%
+    \endgroup
+  }% ===
+  %% \AtStockUpperLeft: based on TRUE of \ESO at isMEMOIR
+  \renewcommand\AtStockUpperLeft[1]{%
+    \AtStockLowerLeft{%
+      \put(0,\LenToUnit{\stockheight}){##1}%
+    }%
+  }% ===
+  %% \AtStockCenter: based on TRUE of \ESO at isMEMOIR
+  \renewcommand\AtStockCenter[1]{%
+    \AtStockLowerLeft{%
+      \put(\LenToUnit{.5\stockwidth},\LenToUnit{.5\stockheight}){##1}%
+    }%
+  }%
+  %% \AtTextUpperLeft: same as FALSE of \ESO at isMEMOIR
+  %  (no change)
+  %
+  %% \AtBeginShipout: based on TRUE of \ESO at isMEMOIR
+  \AtBeginShipout{%
+    \@tempdima=\dimexpr(\stockwidth-\paperwidth)/2\relax
+    \@tempdimb=-\dimexpr(\stockheight+\paperheight)/2\relax
+    \ifESO at texcoord
+      \advance\@tempdimb\paperheight % [FIXME] not sure!
+    \fi
+    \nointerlineskip
+    \AtBeginShipoutUpperLeft{%
+      \put(\LenToUnit{\@tempdima},\LenToUnit{\@tempdimb}){%
+        \ESO at HookIIIBG\ESO at HookIBG\ESO at HookIIBG
+        \global\let\ESO at HookIIBG\@empty
+      }%
+    }%
+    \AtBeginShipoutUpperLeftForeground{%
+      \put(\LenToUnit{\@tempdima},\LenToUnit{\@tempdimb}){%
+        \ESO at HookIFG\ESO at HookIIFG\ESO at HookIIIFG
+        \global\let\ESO at HookIIFG\@empty
+      }%
+    }%
+  }% ===
+}
+%%
+
+\endinput
+%% EOF


Property changes on: trunk/Master/texmf-dist/tex/latex/plautopatch/pxesopic.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -7,9 +7,9 @@
 %
 % This package is expected to be compatible with
 %   * pdfpages.sty
-%     (2015/07/19 v0.5a -- 2017/10/31 v0.5l)
+%     (2015/07/19 v0.5a -- 2020/01/28 v0.5q)
 %   * plcore.ltx in platex
-%     (2001/09/26 v1.2a -- 2018/09/02 v1.3)
+%     (2001/09/26 v1.2a -- 2020/03/05 v1.3e)
 %
 
 %% package declaration

Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/pxpgfrcs.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -9,7 +9,7 @@
 %% package declaration
 \NeedsTeXFormat{pLaTeX2e}
 \ProvidesPackage{pxpgfrcs}
-  [2018/09/21 v0.1]
+  [2018/09/21 v0.1 shadings etc in tate class]
 \RequirePackage{pgfrcs}
 
 % Note: I chose the name "pxpgfrcs.sty"

Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/pxstfloats.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/pxstfloats.sty	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/pxstfloats.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -6,8 +6,9 @@
 % for now distributed as part of the plautopatch bundle.
 % https://github.com/aminophen/plautopatch
 %
-% This package `pxstfloats.sty' is based on:
-%   * stfloats.sty in sttools (2016/06/28 v3.2)
+% This package is expected to be compatible with
+%   * stfloats.sty in sttools
+%     2012/05/29 v1.1 -- 2017/03/27 v3.3
 % Many thanks to lltjp-stfloats.sty in LuaTeX-ja project.
 %
 

Modified: trunk/Master/texmf-dist/tex/latex/plautopatch/pxtextpos.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/plautopatch/pxtextpos.sty	2020-09-27 21:26:18 UTC (rev 56451)
+++ trunk/Master/texmf-dist/tex/latex/plautopatch/pxtextpos.sty	2020-09-27 21:26:36 UTC (rev 56452)
@@ -13,7 +13,7 @@
 %% package declaration
 \NeedsTeXFormat{LaTeX2e}
 \ProvidesPackage{pxtextpos}
-    [2019/11/17 v0.2a Patch to textpos for (u)pLaTeX]
+    [2019/11/17 v0.2a Patch to textpos for tombow]
 
 %% preparations
 \def\pxtxtpos at pkgname{pxtextpos}



More information about the tex-live-commits mailing list.