From 0a602f3c9912613aca90f114d76e0b3b601730c2 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 19 Oct 2022 20:55:01 +0000 Subject: pxjahyper (19oct22) git-svn-id: svn://tug.org/texlive/trunk@64752 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def | 2 +- .../texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty | 2 +- .../texmf-dist/tex/platex/pxjahyper/pxjahyper-uni.def | 2 +- Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty | 18 +++++++++++------- 4 files changed, 14 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex/platex') 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 -- cgit v1.2.3