diff options
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/bibcop/bibcop.pl | 8 | ||||
-rw-r--r-- | Master/texmf-dist/doc/bibtex/bibcop/bibcop.pdf | bin | 348056 -> 347804 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/bibcop.1 | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/bibcop.man1.pdf | bin | 13203 -> 13253 bytes | |||
-rwxr-xr-x | Master/texmf-dist/scripts/bibcop/bibcop.pl | 8 | ||||
-rw-r--r-- | Master/texmf-dist/source/bibtex/bibcop/bibcop.dtx | 28 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/bibcop/bibcop.sty | 27 |
7 files changed, 33 insertions, 40 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/bibcop/bibcop.pl b/Build/source/texk/texlive/linked_scripts/bibcop/bibcop.pl index f1e5121ffcd..89d101eccf3 100755 --- a/Build/source/texk/texlive/linked_scripts/bibcop/bibcop.pl +++ b/Build/source/texk/texlive/linked_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/doc/bibtex/bibcop/bibcop.pdf b/Master/texmf-dist/doc/bibtex/bibcop/bibcop.pdf Binary files differindex bf900181a53..71816101591 100644 --- a/Master/texmf-dist/doc/bibtex/bibcop/bibcop.pdf +++ b/Master/texmf-dist/doc/bibtex/bibcop/bibcop.pdf 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 Binary files differindex ee46ff4e0e0..3f8a8719f6d 100644 --- a/Master/texmf-dist/doc/man/man1/bibcop.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/bibcop.man1.pdf 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 |