summaryrefslogtreecommitdiff
path: root/language/japanese/plautopatch/plautopatch.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-10-22 03:01:48 +0000
committerNorbert Preining <norbert@preining.info>2020-10-22 03:01:48 +0000
commit7448609d1256af02966b8f84fe8464234276ce7a (patch)
tree878dfcfc9f2f014d593d1bdb5dee382ee4a9ee3a /language/japanese/plautopatch/plautopatch.sty
parentd800950bfaacab9c6c4bf4d44206d60016b2f04d (diff)
CTAN sync 202010220301
Diffstat (limited to 'language/japanese/plautopatch/plautopatch.sty')
-rw-r--r--language/japanese/plautopatch/plautopatch.sty8
1 files changed, 7 insertions, 1 deletions
diff --git a/language/japanese/plautopatch/plautopatch.sty b/language/japanese/plautopatch/plautopatch.sty
index 5fd92ce617..c4eedb446d 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}
- [2020/10/14 v0.9k Automated patches for pLaTeX/upLaTeX]
+ [2020/10/21 v0.9l Automated patches for pLaTeX/upLaTeX]
\ifx\pfmtname\@undefined
\PackageInfo{plautopatch}{%
@@ -22,6 +22,8 @@
\def\platpc@err{\PackageError\platpc@pkgname}
\def\platpc@warn{\PackageWarningNoLine\platpc@pkgname}
\def\platpc@info{\PackageInfo\platpc@pkgname}
+\let\platpc@debug\@gobble
+%\def\platpc@debug#1{\typeout{\platpc@pkgname: [DEBUG] #1}}% for debug
%% Since LaTeX2e 2020-10-01, most of features in filehook.sty
%% is available in ltfilehook.dtx.
@@ -60,6 +62,9 @@
\def\platpc@ifnotdisabled#1{%
\expandafter\ifx\csname platpc@disable@#1\endcsname\relax
\expandafter\@firstofone
+ \else
+ \platpc@debug{Patch for #1 is disabled, not applying}%
+ \expandafter\@gobble
\fi
}
@@ -174,6 +179,7 @@
\edef\@tempa{\zap@space#1 \@empty}%
\@for\@tempa:=\@tempa\do{%
\expandafter\let\csname platpc@disable@\@tempa\endcsname\@empty
+ \platpc@debug{Disabled patch for #1}%
}%
}
\@onlypreamble\plautopatchdisable