summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/platex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-10-19 20:55:01 +0000
committerKarl Berry <karl@freefriends.org>2022-10-19 20:55:01 +0000
commit0a602f3c9912613aca90f114d76e0b3b601730c2 (patch)
tree5886b5af287eeb1ca5bb70cc27b6b84d419d112e /Master/texmf-dist/tex/platex
parentde62ef86636c9751ffba13915a16205896dd1655 (diff)
pxjahyper (19oct22)
git-svn-id: svn://tug.org/texlive/trunk@64752 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/platex')
-rw-r--r--Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def2
-rw-r--r--Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty2
-rw-r--r--Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def2
-rw-r--r--Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty18
4 files changed, 14 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def
index d362b1df8f2..4fad0d70e10 100644
--- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def
+++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def
@@ -11,7 +11,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesFile{pxjahyper-ajm.def}[2022/05/27 v1.2]
+\ProvidesFile{pxjahyper-ajm.def}[2022/10/19 v1.2a]
%% avoid multiple loading
\csname pxjahyperajmLoaded\endcsname
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty
index 719f51c4e8a..c03e3378587 100644
--- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty
+++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjahyper-enc}[2022/05/27 v1.2]
+\ProvidesPackage{pxjahyper-enc}[2022/10/19 v1.2a]
\def\pxhe@pkgname{pxjahyper-enc}
\providecommand{\bxDebug}[1]{}
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def
index 53e30988d9c..5b6b10b39eb 100644
--- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def
+++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesFile{pxjahyper-uni.def}[2022/05/27 v1.2]
+\ProvidesFile{pxjahyper-uni.def}[2022/10/19 v1.2a]
\providecommand{\bxDebug}[1]{}
%--------------------------------------- environment check
diff --git a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty
index f2ebcd45715..215dfc4fc85 100644
--- a/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty
+++ b/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjahyper}[2022/05/27 v1.2]
+\ProvidesPackage{pxjahyper}[2022/10/19 v1.2a]
\def\pxhy@pkgname{pxjahyper}
\providecommand{\bxDebug}[1]{}
@@ -580,8 +580,10 @@ pxhy@fallback@geta = \ifpxhy@fallback@geta true\else false\fi^^J%
\ifnum0<\mag \ifnum32768>\mag % \mag is in valid range
\begingroup
\@ifundefined{stockwidth}{}{%else
- \paperwidth=\stockwidth
- \paperheight=\stockheight
+ \ifdim\stockwidth>\z@ \ifdim\stockheight>\z@
+ \paperwidth=\stockwidth
+ \paperheight=\stockheight
+ \fi\fi
}%
\@tempcnta=\mag \advance\@tempcnta100000
\def\pxhy@next1#1#2#3#4#5\relax{%
@@ -590,10 +592,12 @@ pxhy@fallback@geta = \ifpxhy@fallback@geta true\else false\fi^^J%
\expandafter\pxhy@next\the\@tempcnta\relax
\paperwidth=\pxhy@tmpa\paperwidth
\paperheight=\pxhy@tmpa\paperheight
- \edef\pxhy@tmpa{%
- \noexpand\pxhy@begin@dvi@hook{%
- \special{papersize=\the\paperwidth,\the\paperheight}}%
- }\pxhy@tmpa
+ \ifdim\paperwidth>\z@ \ifdim\paperheight>\z@
+ \edef\pxhy@tmpa{%
+ \noexpand\pxhy@begin@dvi@hook{%
+ \special{papersize=\the\paperwidth,\the\paperheight}}%
+ }\pxhy@tmpa
+ \fi\fi
\endgroup
\fi\fi
\fi