texlive[46440] Master/texmf-dist: pxjahyper (25jan18)

commits+karl at tug.org commits+karl at tug.org
Thu Jan 25 22:51:45 CET 2018


Revision: 46440
          http://tug.org/svn/texlive?view=revision&revision=46440
Author:   karl
Date:     2018-01-25 22:51:45 +0100 (Thu, 25 Jan 2018)
Log Message:
-----------
pxjahyper (25jan18)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/platex/pxjahyper/README-ja.md
    trunk/Master/texmf-dist/doc/platex/pxjahyper/README.md
    trunk/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.pdf
    trunk/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex
    trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty

Modified: trunk/Master/texmf-dist/doc/platex/pxjahyper/README-ja.md
===================================================================
--- trunk/Master/texmf-dist/doc/platex/pxjahyper/README-ja.md	2018-01-25 21:51:34 UTC (rev 46439)
+++ trunk/Master/texmf-dist/doc/platex/pxjahyper/README-ja.md	2018-01-25 21:51:45 UTC (rev 46440)
@@ -35,6 +35,9 @@
 更新履歴
 --------
 
+  * Version 0.3c 〈2018/01/25〉
+      - バグ修正。
+
   * Version 0.3b 〈2018/01/13〉
       - パッケージ定義の PDF 文字列の文字定義を拡充した。
       - (試験的) 自動判別の誤判定を防ぐため、アウトラインファイルに

Modified: trunk/Master/texmf-dist/doc/platex/pxjahyper/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/platex/pxjahyper/README.md	2018-01-25 21:51:34 UTC (rev 46439)
+++ trunk/Master/texmf-dist/doc/platex/pxjahyper/README.md	2018-01-25 21:51:45 UTC (rev 46440)
@@ -36,6 +36,7 @@
 Revision History
 ----------------
 
+  * Version 0.3c 〈2018/01/25〉
   * Version 0.3b 〈2018/01/13〉
   * Version 0.3a 〈2017/10/17〉
   * Version 0.3  〈2012/05/28〉

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

Modified: trunk/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex
===================================================================
--- trunk/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex	2018-01-25 21:51:34 UTC (rev 46439)
+++ trunk/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex	2018-01-25 21:51:45 UTC (rev 46440)
@@ -3,8 +3,8 @@
 \documentclass[a4paper]{jsarticle}
 \usepackage{shortvrb}
 \MakeShortVerb{\|}
-\newcommand{\PkgVersion}{0.3b}
-\newcommand{\PkgDate}{2018/01/13}
+\newcommand{\PkgVersion}{0.3c}
+\newcommand{\PkgDate}{2018/01/25}
 \newcommand{\Pkg}[1]{\textsf{#1}}
 \newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$}
 \newcommand{\Note}{\par\noindent ※}

Modified: trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty
===================================================================
--- trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty	2018-01-25 21:51:34 UTC (rev 46439)
+++ trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty	2018-01-25 21:51:45 UTC (rev 46440)
@@ -10,7 +10,7 @@
 
 %% package declaration
 \NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjahyper}[2018/01/13 v0.3b]
+\ProvidesPackage{pxjahyper}[2018/01/25 v0.3c]
 
 %% error messages
 \def\pxhy at pkgname{pxjahyper}
@@ -34,6 +34,7 @@
 \newif\ifpxhy at tounicode
 \newif\ifpxhy at zerox
 \newif\ifpxhy at bigcode
+\let\pxhy at bigcode\relax
 \chardef\pxhy at driver@none=0
 \chardef\pxhy at driver@dvipdfmx=1
 \let\pxhy at driver\@undefined
@@ -70,10 +71,10 @@
   \pxhy at zeroxfalse
 }
 \DeclareOption{bigcode}{%
-  \pxhy at bigcodetrue
+  \let\pxhy at bigcode=t%
 }
 \DeclareOption{nobigcode}{%
-  \pxhy at bigcodefalse
+  \let\pxhy at bigcode=f%
 }
 \DeclareOption{jacommentline}{%
   \pxhy at jacommentlinetrue
@@ -82,7 +83,7 @@
   \pxhy at jacommentlinefalse
 }
 \ExecuteOptions{%
-  auto,tounicode,noout2uni,bigcode,jacommentline%
+  auto,tounicode,noout2uni,jacommentline%
 }
 \ProcessOptions*
 
@@ -147,9 +148,17 @@
   \pxhy at zeroxfalse
 \fi\fi
 % bigcode cannot be used without upTeX.
-\ifpxhy at uptex\else \ifpxhy at bigcode
-  \pxhy at warn{bigcode is invalid without upTeX}
-  \pxhy at bigcodefalse
+\if t\pxhy at bigcode
+  \ifpxhy at uptex
+    \pxhy at bigcodetrue
+  \else
+    \pxhy at warn{bigcode is invalid without upTeX}
+  \fi
+\else\if f\pxhy at bigcode
+\else
+  \ifpxhy at uptex
+    \pxhy at bigcodetrue
+  \fi
 \fi\fi
 % out2uni disables tounicode.
 \ifpxhy at zerox
@@ -931,14 +940,17 @@
 \endgroup
 
 %% attach a hook
-\g at addto@macro\ReadBookmarks{%
-  \if at filesw
-    \ifx\@outlinefile\@undefined\else
-      \immediate\write\@outlinefile{%
-        \@percentchar\pxhy at jacomment.}%
+\begingroup\expandafter\expandafter\expandafter\endgroup
+\expandafter\ifx\csname ReadBookmarks\endcsname\relax\else
+  \g at addto@macro\ReadBookmarks{%
+    \if at filesw
+      \ifx\@outlinefile\@undefined\else
+        \immediate\write\@outlinefile{%
+          \@percentchar\pxhy at jacomment.}%
+      \fi
     \fi
-  \fi
-}
+  }
+\fi
 
 \fi
 %--------------------------------------- All done



More information about the tex-live-commits mailing list