summaryrefslogtreecommitdiff
path: root/language/japanese
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-03-17 03:00:46 +0000
committerNorbert Preining <norbert@preining.info>2022-03-17 03:00:46 +0000
commit8208f204439f3a899e43187857e3f9c86d4ebb7c (patch)
tree70c940f6d7a58f7878aeef16a87a1af85f6f3f69 /language/japanese
parent725ce6a3e602c7516d471df841ea433b8c5bcd9d (diff)
CTAN sync 202203170300
Diffstat (limited to 'language/japanese')
-rw-r--r--language/japanese/pxjahyper/LICENSE2
-rw-r--r--language/japanese/pxjahyper/README-ja.md3
-rw-r--r--language/japanese/pxjahyper/README.md1
-rw-r--r--language/japanese/pxjahyper/pxjahyper-ajm.def4
-rw-r--r--language/japanese/pxjahyper/pxjahyper-enc.sty4
-rw-r--r--language/japanese/pxjahyper/pxjahyper-uni.def4
-rw-r--r--language/japanese/pxjahyper/pxjahyper.pdfbin127111 -> 129264 bytes
-rw-r--r--language/japanese/pxjahyper/pxjahyper.sty28
-rw-r--r--language/japanese/pxjahyper/pxjahyper.tex39
9 files changed, 53 insertions, 32 deletions
diff --git a/language/japanese/pxjahyper/LICENSE b/language/japanese/pxjahyper/LICENSE
index 58cd49d31d..06bc0c12ee 100644
--- a/language/japanese/pxjahyper/LICENSE
+++ b/language/japanese/pxjahyper/LICENSE
@@ -1,6 +1,6 @@
The MIT License
-Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+Copyright (c) 2012-2022 Takayuki YATO (aka. "ZR")
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/language/japanese/pxjahyper/README-ja.md b/language/japanese/pxjahyper/README-ja.md
index e6d8f90159..bc147ceb65 100644
--- a/language/japanese/pxjahyper/README-ja.md
+++ b/language/japanese/pxjahyper/README-ja.md
@@ -70,6 +70,9 @@ pxjahyper-enc パッケージ ー 文字コード設定
更新履歴
--------
+ * Version 0.9d 〈2022/03/15〉
+ - LaTeX カーネル 2021/11/15 版への対応。(thanks: @wtsnjp さん)
+
* Version 0.9c 〈2021/06/06〉
- pxjahyper-uni モジュールを実際に使用する。
diff --git a/language/japanese/pxjahyper/README.md b/language/japanese/pxjahyper/README.md
index 0ac2707534..83cef352b2 100644
--- a/language/japanese/pxjahyper/README.md
+++ b/language/japanese/pxjahyper/README.md
@@ -52,6 +52,7 @@ the PDF strings in the output DVI file.
Revision History
----------------
+ * Version 0.9d 〈2022/03/15〉
* Version 0.9c 〈2021/06/06〉
* Version 0.9b 〈2021/05/29〉
* Version 0.9a 〈2021/05/11〉
diff --git a/language/japanese/pxjahyper/pxjahyper-ajm.def b/language/japanese/pxjahyper/pxjahyper-ajm.def
index cb8cbd28af..f4f0f427e2 100644
--- a/language/japanese/pxjahyper/pxjahyper-ajm.def
+++ b/language/japanese/pxjahyper/pxjahyper-ajm.def
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjahyper-ajm.def'.
%%
-%% Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2012-2022 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -11,7 +11,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesFile{pxjahyper-ajm.def}[2021/06/06 v0.9c]
+\ProvidesFile{pxjahyper-ajm.def}[2022/03/15 v0.9d]
%% avoid multiple loading
\csname pxjahyperajmLoaded\endcsname
diff --git a/language/japanese/pxjahyper/pxjahyper-enc.sty b/language/japanese/pxjahyper/pxjahyper-enc.sty
index f51dc75e78..1e2ae71bb5 100644
--- a/language/japanese/pxjahyper/pxjahyper-enc.sty
+++ b/language/japanese/pxjahyper/pxjahyper-enc.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjahyper-enc.sty'.
%%
-%% Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2012-2022 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjahyper-enc}[2021/06/06 v0.9c]
+\ProvidesPackage{pxjahyper-enc}[2022/03/15 v0.9d]
\def\pxhe@pkgname{pxjahyper-enc}
\providecommand{\bxDebug}[1]{}
diff --git a/language/japanese/pxjahyper/pxjahyper-uni.def b/language/japanese/pxjahyper/pxjahyper-uni.def
index c05b0369f7..0b1019fbb9 100644
--- a/language/japanese/pxjahyper/pxjahyper-uni.def
+++ b/language/japanese/pxjahyper/pxjahyper-uni.def
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjahyper-uni.def'.
%%
-%% Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2012-2022 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesFile{pxjahyper-uni.def}[2021/06/06 v0.9c]
+\ProvidesFile{pxjahyper-uni.def}[2022/03/15 v0.9d]
\providecommand{\bxDebug}[1]{}
%--------------------------------------- environment check
diff --git a/language/japanese/pxjahyper/pxjahyper.pdf b/language/japanese/pxjahyper/pxjahyper.pdf
index 25651f8654..55c1153e34 100644
--- a/language/japanese/pxjahyper/pxjahyper.pdf
+++ b/language/japanese/pxjahyper/pxjahyper.pdf
Binary files differ
diff --git a/language/japanese/pxjahyper/pxjahyper.sty b/language/japanese/pxjahyper/pxjahyper.sty
index 486792b8d7..47a913f8ee 100644
--- a/language/japanese/pxjahyper/pxjahyper.sty
+++ b/language/japanese/pxjahyper/pxjahyper.sty
@@ -1,7 +1,7 @@
%%
%% This is file 'pxjahyper.sty'.
%%
-%% Copyright (c) 2012-2021 Takayuki YATO (aka. "ZR")
+%% Copyright (c) 2012-2022 Takayuki YATO (aka. "ZR")
%% GitHub: https://github.com/zr-tex8r
%% Twitter: @zr_tex8r
%%
@@ -10,7 +10,7 @@
%% package declaration
\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxjahyper}[2021/06/06 v0.9c]
+\ProvidesPackage{pxjahyper}[2022/03/15 v0.9d]
\def\pxhy@pkgname{pxjahyper}
\providecommand{\bxDebug}[1]{}
@@ -31,7 +31,7 @@
\newif\ifpxhy@uptex
\newif\ifpxhy@etex
\newif\ifpxhy@etoolbox
-\newif\ifpxhy@new@hook@system
+\chardef\pxhy@hook@system=0
\newif\ifpxhy@tounicode
\newif\ifpxhy@uniescape
\newif\ifpxhy@bigcode
@@ -208,7 +208,11 @@
\fi
%% Check for the new hook system.
-\@ifl@t@r\fmtversion{2020/10/01}{\pxhy@new@hook@systemtrue}{}
+\@ifl@t@r\fmtversion{2021/11/15}{%
+ \chardef\pxhy@hook@system=2
+}{\@ifl@t@r\fmtversion{2020/02/02}{%
+ \chardef\pxhy@hook@system=1
+}{}}
%% adjustment
% upTeX not in unicode is not seen as upTeX.
@@ -280,7 +284,7 @@ pxhy@ptex = \ifpxhy@ptex true\else false\fi^^J%
pxhy@uptex = \ifpxhy@uptex true\else false\fi^^J%
pxhy@etex = \ifpxhy@etex true\else false\fi^^J%
pxhy@etoolbox = \ifpxhy@etoolbox true\else false\fi^^J%
-pxhy@new@hook@system = \ifpxhy@new@hook@system true\else false\fi^^J%
+pxhy@hook@system = \the\pxhy@hook@system^^J%
ifpxhy@hy@unicode = \ifpxhy@hy@unicode true\else false\fi^^J%
pxhy@bigcode = \ifpxhy@bigcode true\else false\fi^^J%
pxhy@driver = \the\pxhy@driver^^J%
@@ -298,7 +302,7 @@ pxhy@textcmd = \ifpxhy@textcmd true\else false\fi^^J%
\let\pxhy@mk\indent % unexpandable
%% \pxhy@begin@dvi@hook{<text>}
-\ifpxhy@new@hook@system
+\ifnum\pxhy@hook@system>0
\def\pxhy@begin@dvi@hook#1{%
\AddToHook{shipout/firstpage}{#1}%
}
@@ -335,13 +339,17 @@ pxhy@textcmd = \ifpxhy@textcmd true\else false\fi^^J%
%% \pxhy@hook@after@package{<package-name>}{<code>}
\@onlypreamble\pxhy@hook@after@package
\def\pxhy@hook@after@package#1#2{%
- \ifpxhy@new@hook@system
+ \ifcase\pxhy@hook@system
+ \AtBeginDocument{%
+ \@ifpackageloaded{#1}{#2}{}%
+ }%
+ \or
\@ifpackageloaded{#1}{#2}{%
\AddToHook{package/after/#1}{#2}%
}%
- \else
- \AtBeginDocument{%
- \@ifpackageloaded{#1}{#2}{}%
+ \or
+ \@ifpackageloaded{#1}{#2}{%
+ \AddToHook{package/#1/after}{#2}%
}%
\fi
}
diff --git a/language/japanese/pxjahyper/pxjahyper.tex b/language/japanese/pxjahyper/pxjahyper.tex
index 2af226192e..ecdeaf166c 100644
--- a/language/japanese/pxjahyper/pxjahyper.tex
+++ b/language/japanese/pxjahyper/pxjahyper.tex
@@ -16,8 +16,8 @@
\bxtexlogoimport{*}
\usepackage{shortvrb}
\MakeShortVerb{\|}
-\newcommand{\PkgVersion}{0.9c}
-\newcommand{\PkgDate}{2021/06/06}
+\newcommand{\PkgVersion}{0.9d}
+\newcommand{\PkgDate}{2022/03/15}
\newcommand{\Pkg}[1]{\textsf{#1}}
\newcommand{\Meta}[1]{$\langle$\mbox{}#1\mbox{}$\rangle$}
\newcommand{\Note}{\par\noindent ※}
@@ -69,19 +69,28 @@
(ドライバ依存動作の無効化を明示的に指示、
現状ではほとんどの動作が無効になる)
が指定できる。
- \Note 0.5版より、|nodvidriver| の別名の |none| は非推奨の扱いとする。
+ \Note 0.5版より、|nodvidriver| の別名の |none| は
+ \Strong{非推奨}の扱いとする。
\item |auto|(既定)\Means
ドライバオプションを\Pkg{hyperref}のドライバ指定から自動的に判定する。
\item |tounicode|(既定)\Means
- dvipdfmx用の「tounicode special」を発行し、
- それを前提にした出力を行う。
+ 以下の2つの設定を行う。
+ \begin{enumerate}
+ \item ドライバがdvipdfmxである場合は「tounicode special」を発行する。
+ \Note この設定は |notounicode| オプションにより打ち消される。
+ \item 「tounicode special」を前提にした出力を行う。
+ \Note この設定は |out2uni|・|convbkmk| オプションと排他である。
+ \end{enumerate}
\item |notounicode|\Means
dvipdfmx用の「tounicode special」を発行しない。
\item |out2uni|\Means
out2uniフィルタを使うことを前提にした出力を行う。
\item |convbkmk|\Means
convbkmkフィルタを使うことを前提にした出力を行う。
- \Note ドライバがdvipsの場合は既定で有効になる。
+ \Note ドライバがdvipsの場合は既定で |convbkmk| が有効になる。
+ これにより元の既定値 |tounicode| は
+ (1は効果がなく2は上書きされるため)
+ 実質的に無効化される。
\item |otfutf|(既定)\Means
\Pkg{japanese-otf}パッケージの |\UTF| 命令をPDF文字列中で
使えるようにする。
@@ -91,9 +100,9 @@
\item |otfcid|(既定)\Means
\Pkg{japanese-otf}パッケージの |\CID| 命令をPDF文字列中で
“可能な限り”使えるようにする。
- \Note 詳細は\ref{ssec:otf-package}節を参照。
- \Note |otfcid| の利用には、エンジンの{\eTeX}拡張および
+ \Note エンジンの{\eTeX}拡張および
\Pkg{etoolbox}と\Pkg{bxjatoucs}パッケージのインストールが必要。
+ \Note 詳細は\ref{ssec:otf-package}節を参照。
\item |nootfcid|\Means
|otfcid| の否定。
\item |disablecmds|(既定)\Means
@@ -111,12 +120,12 @@
|otfmacros| の否定。
\Note 0.6版より既定を |otfmacros| に変更した。
\item |bigcode|(既定)\Means
- {\upTeX}でのToUnicode CMapとして既定のUTF8-UCSの代わりに\
- UTF8-UTF16を用いる。
- (当該のファイルが存在する必要がある。)
+ {\upTeX}でのToUnicode CMapとしてUTF8-UTF16を用いる。
+ %(当該のファイルが存在する必要がある。)
\item |nobigcode|\Means
|bigcode| の否定。
- \Note 0.3a版より既定を |bigcode| に変更した。
+ {\upTeX}でのToUnicode CMapとしてUTF8-UCS2を用いる。
+ %\Note 0.3a版より既定を |bigcode| に変更した。
\item |papersize|(既定)\Means
papersize specialの補正を有効にする。
\item |nopapersize|\Means
@@ -202,7 +211,7 @@ PDF文字列中で |\CID| が“可能な限り”使えるようにする。
\end{itemize}
\Note |otfcid| の利用には、エンジンの{\eTeX}拡張および
-\Pkg{etoolbox}と\Pkg{bxjatoucs}パッケージのインストールが必要。
+\Pkg{etoolbox}と\Pkg{bxjatoucs}パッケージが必要。
\Note |\CID| 命令の多言語版はサポートされない。
\paragraph{ajmacrosパッケージの命令}
@@ -219,7 +228,7 @@ PDF文字列中で |\CID| が“可能な限り”使えるようにする。
\item Unicode文字で表現可能であればそれを出力し、
なければ代替表現を出力する。
\item Unicode文字を出力する場合の仕様は |\CID| と同じ。
- 代替表現の場合は文字自体が出力されることもある。
+ 代替表現の場合は文字自体が出力されうる。
\end{itemize}
\Note |otfmacros| を有効にする場合は |otfcid| も有効にする必要がある。
@@ -243,7 +252,7 @@ PDF文字列中で |\CID| が“可能な限り”使えるようにする。
指定した符号値の文字を出力することを指定する。
\item |\pxDeclarePdfTextComposite{\制御綴}{|\Meta{引数}|}{|\Meta
{JIS符号値}|}{|\Meta{Unicode符号値}|}|\Means
- PDF文字列中の |\制御綴|(アクセント命令)+ \Meta{引数}の
+ PDF文字列中の「|\制御綴|(アクセント命令)+ \Meta{引数}」の
動作として、指定した符号値の文字を出力することを指定する。
\end{itemize}