summaryrefslogtreecommitdiff
path: root/macros/jptex/latex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-20 03:04:26 +0000
committerNorbert Preining <norbert@preining.info>2022-10-20 03:04:26 +0000
commit3b961a61ef9fb89adf20a89550d5de0bfe135448 (patch)
treee36f997e624c704dbb4ed2b5fdbd02835ea3c133 /macros/jptex/latex
parent7b6cdf4c23e6ed232601dabc70f5553a8dee9c9b (diff)
CTAN sync 202210200304
Diffstat (limited to 'macros/jptex/latex')
-rw-r--r--macros/jptex/latex/pxjahyper/README-ja.md3
-rw-r--r--macros/jptex/latex/pxjahyper/README.md1
-rw-r--r--macros/jptex/latex/pxjahyper/pxjahyper-ajm.def2
-rw-r--r--macros/jptex/latex/pxjahyper/pxjahyper-enc.sty2
-rw-r--r--macros/jptex/latex/pxjahyper/pxjahyper-uni.def2
-rw-r--r--macros/jptex/latex/pxjahyper/pxjahyper.pdfbin155851 -> 155716 bytes
-rw-r--r--macros/jptex/latex/pxjahyper/pxjahyper.sty18
-rw-r--r--macros/jptex/latex/pxjahyper/pxjahyper.tex4
8 files changed, 20 insertions, 12 deletions
diff --git a/macros/jptex/latex/pxjahyper/README-ja.md b/macros/jptex/latex/pxjahyper/README-ja.md
index 529403a007..c23db5bc91 100644
--- a/macros/jptex/latex/pxjahyper/README-ja.md
+++ b/macros/jptex/latex/pxjahyper/README-ja.md
@@ -73,6 +73,9 @@ pxjahyper-enc パッケージ ー 文字コード設定
更新履歴
--------
+ * Version 1.2a 〈2022/10/19〉
+ - バグ修正。(thanks: @h20y6m さん)
+
* Version 1.2 〈2022/05/27〉
- LaTeX カーネル 2022/06/01 版への対応。
- `\pxjahypersetup` を追加。
diff --git a/macros/jptex/latex/pxjahyper/README.md b/macros/jptex/latex/pxjahyper/README.md
index 747584df8f..100776769e 100644
--- a/macros/jptex/latex/pxjahyper/README.md
+++ b/macros/jptex/latex/pxjahyper/README.md
@@ -52,6 +52,7 @@ the PDF strings in the output DVI file.
Revision History
----------------
+ * Version 1.2a 〈2022/10/19〉
* Version 1.2 〈2022/05/27〉
* Version 1.1 〈2022/05/10〉
* Version 1.0a 〈2022/04/15〉
diff --git a/macros/jptex/latex/pxjahyper/pxjahyper-ajm.def b/macros/jptex/latex/pxjahyper/pxjahyper-ajm.def
index d362b1df8f..4fad0d70e1 100644
--- a/macros/jptex/latex/pxjahyper/pxjahyper-ajm.def
+++ b/macros/jptex/latex/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/macros/jptex/latex/pxjahyper/pxjahyper-enc.sty b/macros/jptex/latex/pxjahyper/pxjahyper-enc.sty
index 719f51c4e8..c03e337858 100644
--- a/macros/jptex/latex/pxjahyper/pxjahyper-enc.sty
+++ b/macros/jptex/latex/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/macros/jptex/latex/pxjahyper/pxjahyper-uni.def b/macros/jptex/latex/pxjahyper/pxjahyper-uni.def
index 53e30988d9..5b6b10b39e 100644
--- a/macros/jptex/latex/pxjahyper/pxjahyper-uni.def
+++ b/macros/jptex/latex/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/macros/jptex/latex/pxjahyper/pxjahyper.pdf b/macros/jptex/latex/pxjahyper/pxjahyper.pdf
index 8b8b713c73..3a041690dc 100644
--- a/macros/jptex/latex/pxjahyper/pxjahyper.pdf
+++ b/macros/jptex/latex/pxjahyper/pxjahyper.pdf
Binary files differ
diff --git a/macros/jptex/latex/pxjahyper/pxjahyper.sty b/macros/jptex/latex/pxjahyper/pxjahyper.sty
index f2ebcd4571..215dfc4fc8 100644
--- a/macros/jptex/latex/pxjahyper/pxjahyper.sty
+++ b/macros/jptex/latex/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
diff --git a/macros/jptex/latex/pxjahyper/pxjahyper.tex b/macros/jptex/latex/pxjahyper/pxjahyper.tex
index 24c5b8c200..07eec0bbc8 100644
--- a/macros/jptex/latex/pxjahyper/pxjahyper.tex
+++ b/macros/jptex/latex/pxjahyper/pxjahyper.tex
@@ -16,8 +16,8 @@
\bxtexlogoimport{*}
\usepackage{shortvrb}
\MakeShortVerb{\|}
-\newcommand{\PkgVersion}{1.2}
-\newcommand{\PkgDate}{2022/05/27}
+\newcommand{\PkgVersion}{1.2a}
+\newcommand{\PkgDate}{2022/10/19}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$}
\newcommand{\Note}{\par\noindent ※}