summaryrefslogtreecommitdiff
path: root/language/japanese/plautopatch
diff options
context:
space:
mode:
Diffstat (limited to 'language/japanese/plautopatch')
-rw-r--r--language/japanese/plautopatch/README.md2
-rw-r--r--language/japanese/plautopatch/plautopatch-ja.pdfbin89871 -> 94973 bytes
-rw-r--r--language/japanese/plautopatch/plautopatch-ja.tex21
-rw-r--r--language/japanese/plautopatch/plautopatch.pdfbin37057 -> 39858 bytes
-rw-r--r--language/japanese/plautopatch/plautopatch.sty9
-rw-r--r--language/japanese/plautopatch/plautopatch.tex18
6 files changed, 38 insertions, 12 deletions
diff --git a/language/japanese/plautopatch/README.md b/language/japanese/plautopatch/README.md
index a65d7d4841..2ac89c48a2 100644
--- a/language/japanese/plautopatch/README.md
+++ b/language/japanese/plautopatch/README.md
@@ -94,6 +94,6 @@ the 3-clause BSD license (see [LICENSE](./LICENSE)).
## Release Date
-2021-02-13
+2021-05-15
Hironobu Yamashita
diff --git a/language/japanese/plautopatch/plautopatch-ja.pdf b/language/japanese/plautopatch/plautopatch-ja.pdf
index f1252282d2..cd79d8b1b3 100644
--- a/language/japanese/plautopatch/plautopatch-ja.pdf
+++ b/language/japanese/plautopatch/plautopatch-ja.pdf
Binary files differ
diff --git a/language/japanese/plautopatch/plautopatch-ja.tex b/language/japanese/plautopatch/plautopatch-ja.tex
index 1bd9fcb59e..020869c633 100644
--- a/language/japanese/plautopatch/plautopatch-ja.tex
+++ b/language/japanese/plautopatch/plautopatch-ja.tex
@@ -17,18 +17,18 @@
\maketitle
-日本のp\LaTeX/up\LaTeX{}フォーマットや専用パッケージが、
+日本の\pLaTeX/\upLaTeX{}フォーマットや専用パッケージが、
これらを知らない\LaTeX{}パッケージ(しばしば海外で作られた
汎用のもの)と衝突することがあります。
最悪の場合にはエラーが出たり、誤った出力が得られたり
することがあります。
この\textsf{plautopatch}の目的は、こうした非互換を意識せずに
-済むようにすることです。具体的には、p\LaTeX/up\LaTeX{}と
+済むようにすることです。具体的には、\pLaTeX/\upLaTeX{}と
衝突するパッケージが使われた場合に、その衝突を解消するパッチを
提供するパッケージを必要に応じて自動的に読み込みます。
こうすることで、ソースコードを簡潔にできるだけでなく、
-p\LaTeX/up\LaTeX{}で動作するソースと通常の\LaTeX{}ソースの
+\pLaTeX/\upLaTeX{}で動作するソースと通常の\LaTeX{}ソースの
見た目を近づけることができます。
このパッケージはGitHubで開発しています。
@@ -154,6 +154,20 @@ p\LaTeX/up\LaTeX{}で動作するソースと通常の\LaTeX{}ソースの
\end{verbatim}
のようにコンマで区切っていくつでも除外できます。
+\section*{パッケージ特有の注意}
+
+\begin{itemize}
+ \item \textsf{hyperref}パッケージを使用する場合、パッチを提供する
+ \textsf{pxjahyper}パッケージが\textsf{hyperref}の\emph{直後}に
+ 自動的に読み込まれます。
+ もし\textsf{pxjahyper}パッケージのオプションが必要な場合は、
+ \textsf{hyperref}より前に
+ \verb+\PassOptionsToPackage{...}{pxjahyper}+
+ と書くことでオプション衝突のエラーを避けてください(とはいっても、
+ \textsf{pxjahyper}はデフォルトの設定でほとんどの場合に
+ 完璧に動作するため、ほとんど必要ないでしょう)。
+\end{itemize}
+
\section*{変更履歴}
\begin{itemize}
@@ -176,6 +190,7 @@ p\LaTeX/up\LaTeX{}で動作するソースと通常の\LaTeX{}ソースの
\item 2020/10/21 v0.9l \verb+\plautopatchdisable+が機能しなかったバグを修正
\item 2020/11/26 v0.9m \textsf{pgf}最新版に追随
\item 2021/02/13 v0.9n \textsf{pxeverysel}を不要に(\LaTeXe~2021-05-01対応)
+ \item 2021/05/15 v0.9o \textsf{pxjahyper}の読込を遅延させない
\end{itemize}
\end{document}
diff --git a/language/japanese/plautopatch/plautopatch.pdf b/language/japanese/plautopatch/plautopatch.pdf
index 8eb4421340..aa83abe9ab 100644
--- a/language/japanese/plautopatch/plautopatch.pdf
+++ b/language/japanese/plautopatch/plautopatch.pdf
Binary files differ
diff --git a/language/japanese/plautopatch/plautopatch.sty b/language/japanese/plautopatch/plautopatch.sty
index 0ab3bfeacf..72d7327c0f 100644
--- a/language/japanese/plautopatch/plautopatch.sty
+++ b/language/japanese/plautopatch/plautopatch.sty
@@ -8,7 +8,7 @@
\NeedsTeXFormat{LaTeX2e}% not pLaTeX2e on purpose!
\ProvidesPackage{plautopatch}
- [2021/02/13 v0.9n Automated patches for pLaTeX/upLaTeX]
+ [2021/05/15 v0.9o Automated patches for pLaTeX/upLaTeX]
\ifx\pfmtname\@undefined
\PackageInfo{plautopatch}{%
@@ -244,12 +244,11 @@
\platpc@patch@after{pdfpages}{pxpdfpages}% gentombow
\platpc@patch@before{stfloats}{pxstfloats}% pxsttools -- (!!)
% --- in most cases, pxjahyper works without explicit options
-% --- however, in case a user specifies some, delay it
-% --- [TODO] if \AtBeginDocument{\usepackage{hyperref}} appears,
+% --- however, in case a user specifies some, option clash will happen
+% --- [Note] if \AtBeginDocument{\usepackage{hyperref}} appears,
% ---- writing to \jobname.out (= 'jacommentline' feature)
% ---- does not work because it's too late.
-\AtBeginDocument
- {\platpc@patch@after{hyperref}{pxjahyper}}% by Takayuki YATO (ZR)
+\platpc@patch@after{hyperref}{pxjahyper}% by Takayuki YATO (ZR)
% for TikZ/PGF
\platpc@patch@after{pgfrcs}{pxpgfrcs}% (maintained here!)
diff --git a/language/japanese/plautopatch/plautopatch.tex b/language/japanese/plautopatch/plautopatch.tex
index 93aa90f230..9f820d3b34 100644
--- a/language/japanese/plautopatch/plautopatch.tex
+++ b/language/japanese/plautopatch/plautopatch.tex
@@ -17,8 +17,8 @@
\maketitle
-Japanese \pLaTeX/up\LaTeX\ formats and packages often conflict
-with other \LaTeX\ packages which are unaware of p\LaTeX/up\LaTeX.
+Japanese \pLaTeX/\upLaTeX\ formats and packages often conflict
+with other \LaTeX\ packages which are unaware of \pLaTeX/\upLaTeX.
In the worst case, such packages throw a fatal error or
end up with a wrong output.
@@ -27,7 +27,7 @@ there should be no need to worry about such incompatibilities,
because specific patches are loaded automatically
whenever necessary.
This helps not only to simplify source files, but also
-to make the appearance of working p\LaTeX/up\LaTeX\ sources
+to make the appearance of working \pLaTeX/\upLaTeX\ sources
similar to those of ordinary \LaTeX\ ones.
The package is maintained on GitHub:
@@ -156,6 +156,17 @@ a comma-separated list of them:
\plautopatchdisable{<original package 1>,<original package 2>}
\end{verbatim}
+\section*{Package-specific notice}
+
+\begin{itemize}
+ \item If you use the \textsf{hyperref} package, the patch package
+ \textsf{pxjahyper} is loaded \emph{immediately} after \textsf{hyperref}.
+ If you need some explicit options of \textsf{pxjahyper} (though
+ it should be rare enough because it works almost perfectly without those),
+ you should write \verb+\PassOptionsToPackage{...}{pxjahyper}+
+ before \textsf{hyperref} to avoid an option clash.
+\end{itemize}
+
\section*{Change History}
\begin{itemize}
@@ -178,6 +189,7 @@ a comma-separated list of them:
\item 2020/10/21 v0.9l Bug fix for \verb+\plautopatchdisable+
\item 2020/11/26 v0.9m Adapt to latest \textsf{pgf}
\item 2021/02/13 v0.9n Do not require \textsf{pxeverysel} on \LaTeXe~2021-05-01
+ \item 2021/05/15 v0.9o Do not delay \textsf{pxjahyper} loading
\end{itemize}
\end{document}