From 0de5dee4fe9404b383f7989577471dd788fc5bb0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 21 Oct 2020 21:04:55 +0000 Subject: plautopatch (21oct20) git-svn-id: svn://tug.org/texlive/trunk@56723 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/plautopatch/plautopatch.sty | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Master/texmf-dist/tex/latex/plautopatch') 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 -- cgit v1.2.3