summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-21 21:04:55 +0000
committerKarl Berry <karl@freefriends.org>2020-10-21 21:04:55 +0000
commit0de5dee4fe9404b383f7989577471dd788fc5bb0 (patch)
tree5e4d14e9ba249d46ef67e5b88e690a47028d1ffd /Master/texmf-dist/tex
parent4d76b92bfc68425c3456c967e996e1b8433d0f4c (diff)
plautopatch (21oct20)
git-svn-id: svn://tug.org/texlive/trunk@56723 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty8
1 files changed, 7 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty b/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
index 5fd92ce6170..c4eedb446d2 100644
--- a/Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty
+++ b/Master/texmf-dist/tex/latex/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