summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/bibtex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-11 21:25:48 +0000
committerKarl Berry <karl@freefriends.org>2024-01-11 21:25:48 +0000
commitf2a3f2cb0ec7ffe416f27f73866607d693195582 (patch)
tree1465d38564122b9278be4375a03cc7c11cb89c8f /Master/texmf-dist/source/bibtex
parent3b40d83631d67cf1f552d773de722741488ed40b (diff)
bibcop (11jan24)
git-svn-id: svn://tug.org/texlive/trunk@69378 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/bibtex')
-rw-r--r--Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx31
-rw-r--r--Master/texmf-dist/source/bibtex/bibcop/bibcop.ins4
2 files changed, 21 insertions, 14 deletions
diff --git a/Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx b/Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx
index cdd5dddc4c5..0e078c298ae 100644
--- a/Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx
+++ b/Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx
@@ -1,7 +1,7 @@
% \iffalse meta-comment
% (The MIT License)
%
-% Copyright (c) 2022-2023 Yegor Bugayenko
+% Copyright (c) 2022-2024 Yegor Bugayenko
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the 'Software'), to deal
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{bibcop}
%<*package>
-[2023-09-03 0.0.15 Style Checker of Bibliography Files]
+[2024-01-11 0.0.16 Style Checker of Bibliography Files]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -454,20 +454,27 @@ booktitle = {{Proceedings of the International
% \end{macro}
% \begin{macro}{\bibcop@exec}
+% \changes{0.0.16}{2024/01/11}{When \texttt{-shell-escape} is not set, there is no validation performed.}
% Then, we define a supplementary command to execute the Perl script:
% \begin{macrocode}
+\RequirePackage{shellesc}
\makeatletter
\newcommand\bibcop@exec[1]{
- \iexec{\bibcop@script\space
- \ifdefined\bibcop@verbose--verbose\fi\space
- \ifdefined\bibcop@notags--no:tags\fi\space
- \ifdefined\bibcop@noinproc--no:org\fi\space
- \ifdefined\bibcop@noinproc--no:inproc\fi\space
- \ifdefined\bibcop@nodoi--no:doi\fi\space
- \ifdefined\bibcop@nocaps--no:caps\fi\space
- \ifdefined\bibcop@nowraps--no:wraps\fi\space
- --latex '#1'}%
- \message{bibcop: style checking finished for #1^^J}%
+ \ifnum\ShellEscapeStatus=1
+ \iexec{\bibcop@script\space
+ \ifdefined\bibcop@verbose--verbose\fi\space
+ \ifdefined\bibcop@notags--no:tags\fi\space
+ \ifdefined\bibcop@noinproc--no:org\fi\space
+ \ifdefined\bibcop@noinproc--no:inproc\fi\space
+ \ifdefined\bibcop@nodoi--no:doi\fi\space
+ \ifdefined\bibcop@nocaps--no:caps\fi\space
+ \ifdefined\bibcop@nowraps--no:wraps\fi\space
+ --latex '#1'}%
+ \message{bibcop: style checking finished for #1^^J}%
+ \else%
+ \message{bibcop: since -shell-escape is not set, no
+ style checking performed for #1^^J}%
+ \fi%
}
\makeatother
diff --git a/Master/texmf-dist/source/bibtex/bibcop/bibcop.ins b/Master/texmf-dist/source/bibtex/bibcop/bibcop.ins
index d0ea50f43c0..0072e39b087 100644
--- a/Master/texmf-dist/source/bibtex/bibcop/bibcop.ins
+++ b/Master/texmf-dist/source/bibtex/bibcop/bibcop.ins
@@ -1,6 +1,6 @@
%% (The MIT License)
%%
-%% Copyright (c) 2022-2023 Yegor Bugayenko
+%% Copyright (c) 2022-2024 Yegor Bugayenko
%%
%% Permission is hereby granted, free of charge, to any person obtaining a copy
%% of this software and associated documentation files (the 'Software'), to deal
@@ -26,7 +26,7 @@
\preamble
(The MIT License)
-Copyright (c) 2022-2023 Yegor Bugayenko
+Copyright (c) 2022-2024 Yegor Bugayenko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the 'Software'), to deal