summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-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