texlive[56662] Master/texmf-dist: pxjahyper (14oct20)
commits+karl at tug.org
commits+karl at tug.org
Wed Oct 14 23:45:03 CEST 2020
Revision: 56662
http://tug.org/svn/texlive?view=revision&revision=56662
Author: karl
Date: 2020-10-14 23:45:03 +0200 (Wed, 14 Oct 2020)
Log Message:
-----------
pxjahyper (14oct20)
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.tex
trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def
trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty
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 2020-10-14 21:44:44 UTC (rev 56661)
+++ trunk/Master/texmf-dist/doc/platex/pxjahyper/README-ja.md 2020-10-14 21:45:03 UTC (rev 56662)
@@ -49,12 +49,11 @@
### パッケージオプション
-※オプション無しでの読込が望ましい。一応グローバルのドライバオプション
-に反応するが、これについても「ドライバ指定が dvipdfmx である場合にのみ
-読み込む」のが望ましい。
+※オプション無しでの読込が望ましいが、一応グローバルのドライバオプション
+に反応するようにしている。
- * ドライバオプション:`dvipdfmx`/`dvips`/`nodvidriver` があり、`dvips`
- はエラーになり、`nodvidriver` はパッケージの機能を無効化する。
+ * ドライバオプション:`dvipdfmx`/`dvips`/`nodvidriver` があり、
+ `dvipdfmx` 以外を指定した場合はパッケージの機能を無効化する。
### 機能
@@ -71,6 +70,9 @@
更新履歴
--------
+ * Version 0.6a 〈2020/10/10〉
+ - pxjahyper-enc:`dvips` 指定時はエラーでなく警告を出す。
+
* Version 0.6 〈2020/10/05〉
- pxjahyper-enc パッケージを追加した。
- `otfmacros` オプションを既定で有効にする。
Modified: trunk/Master/texmf-dist/doc/platex/pxjahyper/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/platex/pxjahyper/README.md 2020-10-14 21:44:44 UTC (rev 56661)
+++ trunk/Master/texmf-dist/doc/platex/pxjahyper/README.md 2020-10-14 21:45:03 UTC (rev 56662)
@@ -52,6 +52,7 @@
Revision History
----------------
+ * Version 0.6a 〈2020/10/10〉
* Version 0.6 〈2020/10/05〉
* Version 0.5b 〈2020/10/04〉
* Version 0.5a 〈2020/09/27〉
Modified: trunk/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex
===================================================================
--- trunk/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex 2020-10-14 21:44:44 UTC (rev 56661)
+++ trunk/Master/texmf-dist/doc/platex/pxjahyper/pxjahyper.tex 2020-10-14 21:45:03 UTC (rev 56662)
@@ -6,8 +6,8 @@
\MakeShortVerb{\|}
\usepackage{bxtexlogo}
\bxtexlogoimport{*}
-\newcommand{\PkgVersion}{0.6}
-\newcommand{\PkgDate}{2020/10/05}
+\newcommand{\PkgVersion}{0.6a}
+\newcommand{\PkgDate}{2020/10/10}
\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-ajm.def
===================================================================
--- trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def 2020-10-14 21:44:44 UTC (rev 56661)
+++ trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-ajm.def 2020-10-14 21:45:03 UTC (rev 56662)
@@ -11,7 +11,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesFile{pxjahyper-ajm.def}[2020/10/04 v0.5b]
+\ProvidesFile{pxjahyper-ajm.def}[2020/10/10 v0.6]
%% avoid multiple loading
\csname pxjahyperajmLoaded\endcsname
Modified: trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty
===================================================================
--- trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty 2020-10-14 21:44:44 UTC (rev 56661)
+++ trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper-enc.sty 2020-10-14 21:45:03 UTC (rev 56662)
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjahyper-enc}[2020/10/05 v0.6-pre]
+\ProvidesPackage{pxjahyper-enc}[2020/10/10 v0.6a]
\def\pxhe at pkgname{pxjahyper-enc}
\providecommand{\bxDebug}[1]{}
@@ -61,10 +61,9 @@
%% check
\ifx d\pxhe at driver\else
- \ifx 0\pxhe at driver\else
- \PackageError\pxhe at pkgname
- {Bad driver option}
- {Package loading is aborted right now.}
+ \ifx s\pxhe at driver
+ \PackageWarningNoLine\pxhe at pkgname
+ {Unsupported driver (dvips)}
\fi
\let\pxhe at begin@dvi at hook\@gobble
\expandafter\endinput\fi\relax
Modified: trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty
===================================================================
--- trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty 2020-10-14 21:44:44 UTC (rev 56661)
+++ trunk/Master/texmf-dist/tex/platex/pxjahyper/pxjahyper.sty 2020-10-14 21:45:03 UTC (rev 56662)
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjahyper}[2020/10/05 v0.6-pre]
+\ProvidesPackage{pxjahyper}[2020/10/10 v0.6a]
%% error messages
\def\pxhy at pkgname{pxjahyper}
@@ -250,13 +250,6 @@
\def\pxhy at end{\pxhy at end@}
\let\pxhy at mk\indent % unexpandable
-%% \pxhy at out@special{<text>}
-\def\pxhy at out@special#1{%
- \edef\pxhy at tmpa{%
- \noexpand\pxhy at begin@dvi at enc@hook{\special{#1}}%
- }\pxhy at tmpa
-}
-
%% \pxhy at begin@dvi at hook{<text>}
%% \pxhy at begin@dvi at enc@hook{<text>}
\ifpxhy at new@hook at system
@@ -264,19 +257,8 @@
\AddToHook{shipout/firstpage}{#1}%
}
\DeclareHookRule{shipout/firstpage}{.}{>}{hyperref}
- \def\pxhy at begin@dvi at enc@hook#1{% only once
- \AddToHook{shipout/firstpage}[./enc]{#1}%
- \DeclareHookRule{shipout/firstpage}{./enc}{<}{hyperref}%
- }
\else
\RequirePackage{atbegshi}[2011/10/05]% v1.16
-\def\pxhy at begin@dvi at enc@hook#1{%
- \begingroup
- \toks\z@{#1}%
- \toks\tw@\expandafter{\AtBegShi at HookFirst}%
- \xdef\AtBegShi at HookFirst{\the\toks@\the\toks\tw@}%
- \endgroup
-}
\def\pxhy at begin@dvi at hook#1{%
\AtBeginShipoutFirst{#1}%
}
@@ -331,20 +313,8 @@
\ifnum\pxhy at driver=\pxhy at driver@dvipdfmx %<*dvipdfmx>
%% dvipdfmx
- \IfFileExists{pxjahyper-enc.sty}{% FIXME: TRANSIENT CODE
\RequirePackage{pxjahyper-enc}[]%
\ifpxhy at bigcode\else \suppressbigcode \fi
- }{%else
- \if e\pxhy at jcode % euc
- \pxhy at out@special{pdf:tounicode EUC-UCS2}
- \else\if s\pxhy at jcode % sjis
- \pxhy at out@special{pdf:tounicode 90ms-RKSJ-UCS2}
- \else\ifpxhy at bigcode % ucs, bigcode
- \pxhy at out@special{pdf:tounicode UTF8-UTF16}
- \else
- \pxhy at out@special{pdf:tounicode UTF8-UCS2}
- \fi\fi\fi
- }%
\fi %</dvipdfmx>
\fi
More information about the tex-live-commits
mailing list.