texlive[56444] Master/texmf-dist: pxchfon (26sep20)
commits+karl at tug.org
commits+karl at tug.org
Sat Sep 26 23:48:44 CEST 2020
Revision: 56444
http://tug.org/svn/texlive?view=revision&revision=56444
Author: karl
Date: 2020-09-26 23:48:44 +0200 (Sat, 26 Sep 2020)
Log Message:
-----------
pxchfon (26sep20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/platex/pxchfon/README-ja.md
trunk/Master/texmf-dist/doc/platex/pxchfon/README.md
trunk/Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdf
trunk/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex
trunk/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty
Modified: trunk/Master/texmf-dist/doc/platex/pxchfon/README-ja.md
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/platex/pxchfon/README.md
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/platex/pxchfon/pxchfon.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex
===================================================================
--- trunk/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex 2020-09-26 21:48:13 UTC (rev 56443)
+++ trunk/Master/texmf-dist/doc/platex/pxchfon/pxchfon.tex 2020-09-26 21:48:44 UTC (rev 56444)
@@ -13,8 +13,8 @@
\bxtexlogoimport{*}
\usepackage{shortvrb}
\MakeShortVerb{\|}
-\newcommand{\PkgVersion}{1.7c}
-\newcommand{\PkgDate}{2020/04/25}
+\newcommand{\PkgVersion}{1.7d}
+\newcommand{\PkgDate}{2020/09/26}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$}
\newcommand{\Note}{\par\noindent ※}
Modified: trunk/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty
===================================================================
--- trunk/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty 2020-09-26 21:48:13 UTC (rev 56443)
+++ trunk/Master/texmf-dist/tex/platex/pxchfon/pxchfon.sty 2020-09-26 21:48:44 UTC (rev 56444)
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxchfon}[2020/04/25 v1.7c]
+\ProvidesPackage{pxchfon}[2020/09/26 v1.7d]
\def\pxcz at pkgname{pxchfon}
%--------------------------------------- general
@@ -339,9 +339,9 @@
\fi
%% 'everypage' needs 'atbegshi' package
-\ifpxcz at everypage
+\ifpxcz at everypage \ifx\AddToHook\@undefined
\RequirePackage{atbegshi}
-\fi
+\fi\fi
%% apply default value for \pxcz at directunicode
\ifx\pxcz at directunicode\relax
@@ -1549,6 +1549,7 @@
\def\pxcz at mgfamily@hook{\romanfamily{cfjam}}
%% \pxcz at set@page at hook{<text>}
+\ifx\AddToHook\@undefined %-------- no hook system
\ifpxcz at everypage
\pxcz at onlypreamble@def\pxcz at set@page at hook#1{%
\AtBeginShipout{\setbox\AtBeginShipoutBox=\vbox{%
@@ -1559,6 +1560,15 @@
% this is \AtBeginDvi with forcing of yoko-dir added
\global\setbox\@begindvibox\vbox{\yoko\unvbox\@begindvibox#1}}
\fi
+\else %-------- with hook system
+\ifpxcz at everypage
+\pxcz at onlypreamble@def\pxcz at set@page at hook#1{%
+ \AddToHook{shipout/background}{\hb at xt@\z@{#1\hss}}}
+\else
+\pxcz at onlypreamble@def\pxcz at set@page at hook#1{%
+ \AtBeginDvi{#1}}
+\fi
+\fi
%% \pxcz at check@alldefined{<sym>,...}
\pxcz at onlypreamble@def\pxcz at check@alldefined#1{%
More information about the tex-live-commits
mailing list.