summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-17 20:38:27 +0000
committerKarl Berry <karl@freefriends.org>2024-01-17 20:38:27 +0000
commit3148590936e4aa5c9f3927dc8dc5d6ccf87d822c (patch)
tree220dc79548845122f434247bf8423c1716d239f1 /Master/texmf-dist
parent31fe966e09508db1864ad11ca0a7069a29e513af (diff)
bibcop (17jan24)
git-svn-id: svn://tug.org/texlive/trunk@69467 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/bibtex/bibcop/bibcop.pdfbin348056 -> 347804 bytes
-rw-r--r--Master/texmf-dist/doc/man/man1/bibcop.12
-rw-r--r--Master/texmf-dist/doc/man/man1/bibcop.man1.pdfbin13203 -> 13253 bytes
-rwxr-xr-xMaster/texmf-dist/scripts/bibcop/bibcop.pl8
-rw-r--r--Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx28
-rw-r--r--Master/texmf-dist/tex/latex/bibcop/bibcop.sty27
6 files changed, 28 insertions, 37 deletions
diff --git a/Master/texmf-dist/doc/bibtex/bibcop/bibcop.pdf b/Master/texmf-dist/doc/bibtex/bibcop/bibcop.pdf
index bf900181a53..71816101591 100644
--- a/Master/texmf-dist/doc/bibtex/bibcop/bibcop.pdf
+++ b/Master/texmf-dist/doc/bibtex/bibcop/bibcop.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/man/man1/bibcop.1 b/Master/texmf-dist/doc/man/man1/bibcop.1
index b4752f9544b..725f82cfce9 100644
--- a/Master/texmf-dist/doc/man/man1/bibcop.1
+++ b/Master/texmf-dist/doc/man/man1/bibcop.1
@@ -1,4 +1,4 @@
-.TH bibcop 1 "2024-01-16"
+.TH bibcop 1 "2024-01-17"
.SH NAME
bibcop \- Style Checker and Fixer of BibTeX Files (.bib)
.SH SYNOPSIS
diff --git a/Master/texmf-dist/doc/man/man1/bibcop.man1.pdf b/Master/texmf-dist/doc/man/man1/bibcop.man1.pdf
index ee46ff4e0e0..3f8a8719f6d 100644
--- a/Master/texmf-dist/doc/man/man1/bibcop.man1.pdf
+++ b/Master/texmf-dist/doc/man/man1/bibcop.man1.pdf
Binary files differ
diff --git a/Master/texmf-dist/scripts/bibcop/bibcop.pl b/Master/texmf-dist/scripts/bibcop/bibcop.pl
index f1e5121ffcd..89d101eccf3 100755
--- a/Master/texmf-dist/scripts/bibcop/bibcop.pl
+++ b/Master/texmf-dist/scripts/bibcop/bibcop.pl
@@ -21,7 +21,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
-# 2024-01-16 0.0.18
+# 2024-01-17 0.0.19
package bibcop;
use warnings;
@@ -893,7 +893,9 @@ sub fail {
}
}
-if (not basename($0) eq 'bibcop.pl') {
+my $script = basename($0);
+$script =~ s/\.pl$//g;
+if (not $script eq 'bibcop') {
goto END;
}
@@ -917,7 +919,7 @@ if (@ARGV+0 eq 0 or exists $args{'--help'} or exists $args{'-?'}) {
" --latex Report errors in LaTeX format using \\PackageWarningNoLine command\n\n" .
"If any issues, report to GitHub: https://github.com/yegor256/bibcop");
} elsif (exists $args{'--version'} or exists $args{'-v'}) {
- info('0.0.18 2024-01-16');
+ info('0.0.19 2024-01-17');
} else {
my ($file) = grep { not($_ =~ /^-.*$/) } @ARGV;
if (not $file) {
diff --git a/Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx b/Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx
index b4bc9b9cf9e..00a162fb819 100644
--- a/Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx
+++ b/Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx
@@ -50,7 +50,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{bibcop}
%<*package>
-[2024-01-16 0.0.18 Style Checker of Bibliography Files]
+[2024-01-17 0.0.19 Style Checker of Bibliography Files]
%</package>
%<*driver>
\documentclass{ltxdoc}
@@ -460,25 +460,19 @@ booktitle = {{Proceedings of the International
\RequirePackage{shellesc}
\makeatletter
\newcommand\bibcop@exec[1]{
- \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%
+ \iexec[maybe]{\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}%
}
\makeatother
-
% \begin{macro}{\bibliography}
% Then, we re-define the |\bibliography| command:
% \begin{macrocode}
diff --git a/Master/texmf-dist/tex/latex/bibcop/bibcop.sty b/Master/texmf-dist/tex/latex/bibcop/bibcop.sty
index 2bddfc7c476..db8b9999914 100644
--- a/Master/texmf-dist/tex/latex/bibcop/bibcop.sty
+++ b/Master/texmf-dist/tex/latex/bibcop/bibcop.sty
@@ -31,7 +31,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bibcop}
-[2024-01-16 0.0.18 Style Checker of Bibliography Files]
+[2024-01-17 0.0.19 Style Checker of Bibliography Files]
@@ -91,21 +91,16 @@
\RequirePackage{shellesc}
\makeatletter
\newcommand\bibcop@exec[1]{
- \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%
+ \iexec[maybe]{\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}%
}
\makeatother