diff options
author | Norbert Preining <norbert@preining.info> | 2023-07-01 03:01:25 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-07-01 03:01:25 +0000 |
commit | 3a29216caca37803e25b84a50fd5f7f91ebc04d3 (patch) | |
tree | 45c329c33b2bc8601810e0983b3590448a3279ec /biblio | |
parent | 711112a97f2a98854236304a216213632d61eeb7 (diff) |
CTAN sync 202307010301
Diffstat (limited to 'biblio')
-rw-r--r-- | biblio/bibtex/utils/bibcop/bibcop.1 | 2 | ||||
-rw-r--r-- | biblio/bibtex/utils/bibcop/bibcop.dtx | 2 | ||||
-rw-r--r-- | biblio/bibtex/utils/bibcop/bibcop.pdf | bin | 347548 -> 347548 bytes | |||
-rwxr-xr-x | biblio/bibtex/utils/bibcop/bibcop.pl | 15 | ||||
-rw-r--r-- | biblio/ctan-bibdata/ctan.bib | 38 | ||||
-rw-r--r-- | biblio/ctan-bibdata/ctan.pdf | bin | 3685798 -> 3685264 bytes |
6 files changed, 32 insertions, 25 deletions
diff --git a/biblio/bibtex/utils/bibcop/bibcop.1 b/biblio/bibtex/utils/bibcop/bibcop.1 index a925c67d1b..63c4e63688 100644 --- a/biblio/bibtex/utils/bibcop/bibcop.1 +++ b/biblio/bibtex/utils/bibcop/bibcop.1 @@ -1,4 +1,4 @@ -.TH bibcop 1 "2023-06-04" +.TH bibcop 1 "2023-06-30" .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 b152226fe7..11619f4b45 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> -[2023-06-04 0.0.13 Style Checker of Bibliography Files] +[2023-06-30 0.0.14 Style Checker of Bibliography Files] %</package> %<*driver> \documentclass{ltxdoc} diff --git a/biblio/bibtex/utils/bibcop/bibcop.pdf b/biblio/bibtex/utils/bibcop/bibcop.pdf Binary files differindex 091f5251a2..6228db525d 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 8deffac263..276d435dab 100755 --- a/biblio/bibtex/utils/bibcop/bibcop.pl +++ b/biblio/bibtex/utils/bibcop/bibcop.pl @@ -752,11 +752,18 @@ sub listed_tags { return '(' . join(', ', @sorted) . ')'; } +# Make sure the text can safely be rendered in TeX. +sub escape_tex { + my ($tex) = @_; + $tex =~ s/[^a-zA-Z0-9-.,+)(:;@ '"]/?/g; + return $tex; +} + # Print ERROR message to the console and die. sub error { my ($txt) = @_; if (exists $args{'--latex'}) { - print "\\PackageError{bibcop}{$txt}{}\n"; + print "\\PackageError{bibcop}{" . escape_tex($txt). "}{}\n"; } else { print STDERR $txt . "\n"; } @@ -768,7 +775,7 @@ sub debug { my ($txt) = @_; if (exists $args{'--verbose'}) { if (exists $args{'--latex'}) { - print "\\message{bibcop: $txt^^J}\n"; + print "\\message{bibcop: " . escape_tex($txt) . "^^J}\n"; } else { print $txt . "\n"; } @@ -788,7 +795,7 @@ sub info { sub warning { my ($txt) = @_; if (exists $args{'--latex'}) { - print "\\PackageWarningNoLine{bibcop}{$txt}\n"; + print "\\PackageWarningNoLine{bibcop}{" . escape_tex($txt) . "}\n"; } else { print $txt . "\n"; } @@ -822,7 +829,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.13'); + info('0.0.14'); } else { my ($file) = grep { not($_ =~ /^--.*$/) } @ARGV; if (not $file) { diff --git a/biblio/ctan-bibdata/ctan.bib b/biblio/ctan-bibdata/ctan.bib index deb9ef2a28..ca6562c996 100644 --- a/biblio/ctan-bibdata/ctan.bib +++ b/biblio/ctan-bibdata/ctan.bib @@ -1,7 +1,7 @@ %% bib file of all CTAN packages %% (C) Herbert Voß %% -%% created at 30-06-2023, 02:00:54 +%% created at 01-07-2023, 02:00:39 %% %% This file is provided under the terms of the LPPL v1.3 or @@ -6764,8 +6764,8 @@ title = {The \texttt{bibcop} package}, subtitle = {Style checker for .bib files}, author = {Yegor Bugayenko}, - date = {2023-06-04}, - version = {0.0.13}, + date = {2023-06-30}, + version = {0.0.14}, license = {mit}, mirror = {https://mirror.ctan.org/biblio/bibtex/utils/bibcop}, url = {https://ctan.org/pkg/bibcop}, @@ -8931,8 +8931,8 @@ title = {The \texttt{BLOpenType} package}, subtitle = {A basic LuaTeX OpenType handler}, author = {Luis Rivera}, - date = {2023-01-03}, - version = {0.0.0}, + date = {2023-06-30}, + version = {0.0.2}, license = {lppl1.3c,mit}, mirror = {https://mirror.ctan.org/macros/luatex/generic/blopentype}, url = {https://ctan.org/pkg/blopentype}, @@ -11812,8 +11812,8 @@ title = {The \texttt{chemfig} package}, subtitle = {Draw molecules with easy syntax}, author = {Christian Tellechea}, - date = {2023-03-22}, - version = {1.6d}, + date = {2023-06-30}, + version = {1.6e}, license = {lppl1.3c}, mirror = {https://mirror.ctan.org/macros/generic/chemfig}, url = {https://ctan.org/pkg/chemfig}, @@ -23888,7 +23888,7 @@ title = {The \texttt{expl3} package}, subtitle = {Wrapper package for experimental \LaTeX{}3}, author = {{The \LaTeX{} Project Team}}, - date = {2023-06-16}, + date = {2023-06-30}, version = {}, license = {lppl1.3c}, mirror = {https://mirror.ctan.org/macros/latex/contrib/l3kernel}, @@ -36567,7 +36567,7 @@ title = {The \texttt{l3docstrip} package}, subtitle = {Strip documentation in \LaTeX{}3 source}, author = {{The \LaTeX{} Project Team}}, - date = {2023-06-16}, + date = {2023-06-30}, version = {}, license = {lppl1.3c}, mirror = {https://mirror.ctan.org/macros/latex/contrib/l3kernel}, @@ -36589,7 +36589,7 @@ title = {The \texttt{l3kernel} package}, subtitle = {LaTeX3 programming conventions}, author = {{The \LaTeX{} Project Team}}, - date = {2023-06-16}, + date = {2023-06-30}, version = {}, license = {lppl1.3c}, mirror = {https://mirror.ctan.org/macros/latex/contrib/l3kernel}, @@ -36622,7 +36622,7 @@ title = {The \texttt{l3regex} package}, subtitle = {Regular expression facilities for \LaTeX{}}, author = {{The \LaTeX{} Project Team}}, - date = {2023-06-16}, + date = {2023-06-30}, version = {}, license = {lppl1.3c}, mirror = {https://mirror.ctan.org/macros/latex/contrib/l3kernel/l3regex.dtx}, @@ -47164,8 +47164,8 @@ title = {The \texttt{naive-ebnf} package}, subtitle = {EBNF in plain text}, author = {Yegor Bugayenko}, - date = {2023-05-27}, - version = {0.0.6}, + date = {2023-06-30}, + version = {0.0.7}, license = {mit}, mirror = {https://mirror.ctan.org/macros/latex/contrib/naive-ebnf}, url = {https://ctan.org/pkg/naive-ebnf}, @@ -48179,8 +48179,8 @@ title = {The \texttt{nicematrix} package}, subtitle = {Improve the typesetting of mathematical matrices with PGF}, author = {François Pantigny}, - date = {2023-06-04}, - version = {6.20}, + date = {2023-06-30}, + version = {6.20a}, license = {lppl1.3}, mirror = {https://mirror.ctan.org/macros/latex/contrib/nicematrix}, url = {https://ctan.org/pkg/nicematrix}, @@ -62253,8 +62253,8 @@ title = {The \texttt{simpleicons} package}, subtitle = {Simple Icons for \LaTeX{}}, author = {Inesh Bose}, - date = {2023-06-23}, - version = {9.2.0}, + date = {2023-06-30}, + version = {9.3.0}, license = {cc-by-1}, mirror = {https://mirror.ctan.org/fonts/simpleicons}, url = {https://ctan.org/pkg/simpleicons}, @@ -76798,8 +76798,8 @@ title = {The \texttt{xindex} package}, subtitle = {Unicode compatible index generation}, author = {Herbert Voß}, - date = {2023-05-17}, - version = {0.47}, + date = {2023-06-30}, + version = {0.48}, license = {lppl1.3}, mirror = {https://mirror.ctan.org/indexing/xindex}, url = {https://ctan.org/pkg/xindex}, diff --git a/biblio/ctan-bibdata/ctan.pdf b/biblio/ctan-bibdata/ctan.pdf Binary files differindex ee4603e820..5323073aa6 100644 --- a/biblio/ctan-bibdata/ctan.pdf +++ b/biblio/ctan-bibdata/ctan.pdf |