diff options
author | Norbert Preining <norbert@preining.info> | 2024-01-18 03:01:29 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2024-01-18 03:01:29 +0000 |
commit | c4dbe7c982d00abf62e9a8927ecdef11521773a8 (patch) | |
tree | 58b814095058ab06b7b49e3ef819293f1e0f9922 /biblio/bibtex | |
parent | 4fd81a66c82a2ba8787c6ca78bfcc14820e4017c (diff) |
CTAN sync 202401180301
Diffstat (limited to 'biblio/bibtex')
-rw-r--r-- | biblio/bibtex/utils/bibcop/bibcop.1 | 2 | ||||
-rw-r--r-- | biblio/bibtex/utils/bibcop/bibcop.dtx | 28 | ||||
-rw-r--r-- | biblio/bibtex/utils/bibcop/bibcop.pdf | bin | 348056 -> 347804 bytes | |||
-rwxr-xr-x | biblio/bibtex/utils/bibcop/bibcop.pl | 8 |
4 files changed, 17 insertions, 21 deletions
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 @@ %<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/biblio/bibtex/utils/bibcop/bibcop.pdf b/biblio/bibtex/utils/bibcop/bibcop.pdf Binary files differindex bf900181a5..7181610159 100644 --- a/biblio/bibtex/utils/bibcop/bibcop.pdf +++ b/biblio/bibtex/utils/bibcop/bibcop.pdf 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) { |