summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bibcop
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-12-13 21:08:43 +0000
committerKarl Berry <karl@freefriends.org>2022-12-13 21:08:43 +0000
commit76fbbeea8ed397248b62a749f2d8a22ea8aad062 (patch)
tree4b76501c0e09ea652abfbe80869e8d2d1f5c5f0c /Master/texmf-dist/tex/latex/bibcop
parent37acdfb25ae9a280366c6ee994127edc42badf9b (diff)
bibcop (13dec22)
git-svn-id: svn://tug.org/texlive/trunk@65265 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/bibcop')
-rw-r--r--Master/texmf-dist/tex/latex/bibcop/bibcop.sty11
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/bibcop/bibcop.sty b/Master/texmf-dist/tex/latex/bibcop/bibcop.sty
index ff48a3c02d9..e992cd05bfb 100644
--- a/Master/texmf-dist/tex/latex/bibcop/bibcop.sty
+++ b/Master/texmf-dist/tex/latex/bibcop/bibcop.sty
@@ -31,7 +31,8 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bibcop}
-[2022-12-12 0.0.2 Style Checker of Bibliography Files]
+[2022-12-13 0.0.3 Style Checker of Bibliography Files]
+
@@ -60,21 +61,25 @@
\message{bibcop: File with Perl script 'bibcop.pl' copied^^J}%
\makeatletter
-\ifdefined\bibliography\else\gdef\bibliography#1{}\fi
+\ifdefined\bibliography
\let\bibcop@oldbibliography\bibliography
\renewcommand\bibliography[1]{%
\iexec{perl "./bibcop.tmp.pl" --latex '#1.bib'}%
+ \message{bibcop: style checking finished^^J}%
\bibcop@oldbibliography{#1}%
}
+\fi
\makeatother
\makeatletter
-\ifdefined\addbibresource\else\gdef\addbibresource#1{}\fi
+\ifdefined\addbibresource
\let\bibcop@oldaddbibresource\addbibresource
\renewcommand\addbibresource[1]{%
\iexec{perl "./bibcop.tmp.pl" --latex '#1'}%
+ \message{bibcop: style checking finished^^J}%
\bibcop@oldaddbibresource{#1}%
}
+\fi
\makeatother