From c4dbe7c982d00abf62e9a8927ecdef11521773a8 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 18 Jan 2024 03:01:29 +0000 Subject: CTAN sync 202401180301 --- biblio/bibtex/utils/bibcop/bibcop.1 | 2 +- biblio/bibtex/utils/bibcop/bibcop.dtx | 28 +++++++++++----------------- biblio/bibtex/utils/bibcop/bibcop.pdf | Bin 348056 -> 347804 bytes biblio/bibtex/utils/bibcop/bibcop.pl | 8 +++++--- 4 files changed, 17 insertions(+), 21 deletions(-) (limited to 'biblio/bibtex') diff --git a/biblio/bibtex/utils/bibcop/bibcop.1 b/biblio/bibtex/utils/bibcop/bibcop.1 index b4752f9544..725f82cfce 100644 --- a/biblio/bibtex/utils/bibcop/bibcop.1 +++ b/biblio/bibtex/utils/bibcop/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/biblio/bibtex/utils/bibcop/bibcop.dtx b/biblio/bibtex/utils/bibcop/bibcop.dtx index b4bc9b9cf9..00a162fb81 100644 --- a/biblio/bibtex/utils/bibcop/bibcop.dtx +++ b/biblio/bibtex/utils/bibcop/bibcop.dtx @@ -50,7 +50,7 @@ %\NeedsTeXFormat{LaTeX2e} %\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] % %<*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/biblio/bibtex/utils/bibcop/bibcop.pdf b/biblio/bibtex/utils/bibcop/bibcop.pdf index bf900181a5..7181610159 100644 Binary files a/biblio/bibtex/utils/bibcop/bibcop.pdf and b/biblio/bibtex/utils/bibcop/bibcop.pdf differ diff --git a/biblio/bibtex/utils/bibcop/bibcop.pl b/biblio/bibtex/utils/bibcop/bibcop.pl index f1e5121ffc..89d101eccf 100755 --- a/biblio/bibtex/utils/bibcop/bibcop.pl +++ b/biblio/bibtex/utils/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) { -- cgit v1.2.3