From 3769a3e704759d87832efcd18bb9d1cfc8067f5f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 30 Apr 2018 22:44:49 +0000 Subject: bibtexperllibs (30apr18) git-svn-id: svn://tug.org/texlive/trunk@47520 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser.pm | 4 ++-- Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Author.pm | 6 +++--- Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm | 4 ++-- .../texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Changes | 3 +++ .../texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/META.yml | 2 +- .../source/support/bibtexperllibs/BibTeX-Parser/Makefile.PL | 2 +- .../texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/README | 2 +- .../texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/dist.ini | 2 +- .../source/support/bibtexperllibs/BibTeX-Parser/t/bibs/english.bib | 2 +- Master/texmf-dist/source/support/bibtexperllibs/README | 4 +++- 10 files changed, 18 insertions(+), 13 deletions(-) (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser.pm b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser.pm index 27cb9145829..2eac696a049 100644 --- a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser.pm +++ b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser.pm @@ -1,6 +1,6 @@ package BibTeX::Parser; { - $BibTeX::Parser::VERSION = '1.01'; + $BibTeX::Parser::VERSION = '1.02'; } # ABSTRACT: A pure perl BibTeX parser use warnings; @@ -345,7 +345,7 @@ L =head1 VERSION -version 1.01 +version 1.02 =head1 AUTHOR diff --git a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Author.pm b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Author.pm index a0ffb455be4..7d5274d1d70 100644 --- a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Author.pm +++ b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Author.pm @@ -1,6 +1,6 @@ package BibTeX::Parser::Author; { - $BibTeX::Parser::Author::VERSION = '1.01'; + $BibTeX::Parser::Author::VERSION = '1.02'; } use warnings; @@ -263,7 +263,7 @@ sub to_string { my $self = shift; if ($self->jr) { - return $self->von . " " . $self->last . ", " . $self->jr . ", " . $self->first; + return ($self->von ? $self->von . " " : '') . " " . $self->last . ", " . $self->jr . ", " . $self->first; } else { return ($self->von ? $self->von . " " : '') . $self->last . ($self->first ? ", " . $self->first : ''); } @@ -393,7 +393,7 @@ the following token is not: C<{von}> =head1 VERSION -version 1.01 +version 1.02 =head1 AUTHOR diff --git a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm index 6d3b0ec81a8..2b8fe76220a 100644 --- a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm +++ b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm @@ -1,6 +1,6 @@ package BibTeX::Parser::Entry; { - $BibTeX::Parser::Entry::VERSION = '1.01'; + $BibTeX::Parser::Entry::VERSION = '1.02'; } use warnings; @@ -415,7 +415,7 @@ Can take values 'Uppercase' (the default), 'Lowercase' or 'Titlecase' =head1 VERSION -version 1.01 +version 1.02 =head1 AUTHOR diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Changes b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Changes index cdcb9b93984..addfd59900c 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Changes +++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Changes @@ -1,5 +1,8 @@ Revision history for BibTeX-Parser +1.02 2018-04-29 03:19:56 +0000 + Corrected the bug when Jr is not accompanied by von. + 1.01 2017-11-19 03:12:34 +0000 New options for to_string: - print_pre - whether to print text preceding the entry diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/META.yml b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/META.yml index 1196376ffbc..ea5508c50b6 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/META.yml +++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/META.yml @@ -20,4 +20,4 @@ requires: IO::String: 0 LaTeX::ToUnicode: 0.02 Test::More: 0 -version: 1.01 +version: 1.02 diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile.PL b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile.PL index 41a067a8b34..1deb311e4bd 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile.PL +++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile.PL @@ -29,7 +29,7 @@ my %WriteMakefileArgs = ( "TEST_REQUIRES" => { "Test::More" => "0.88" }, - "VERSION" => "1.01", + "VERSION" => "1.02", "test" => { "TESTS" => "t/*.t" } diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/README b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/README index dd5a193c2e6..bbaac1e9db5 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/README +++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/README @@ -1,5 +1,5 @@ This archive contains the distribution BibTeX-Parser, -version 1.01: +version 1.02: A pure perl BibTeX parser diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/dist.ini b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/dist.ini index 5aee4c846fb..b615101f91c 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/dist.ini +++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/dist.ini @@ -1,5 +1,5 @@ name = BibTeX-Parser -version = 1.01 +version = 1.02 author = Gerhard Gossen and Boris Veytsman license = Perl_5 copyright_holder = Gerhard Gossen and Boris Veytsman diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/bibs/english.bib b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/bibs/english.bib index 34c3e67a794..be62f921046 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/bibs/english.bib +++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/bibs/english.bib @@ -1,4 +1,4 @@ -$Id: english.bib,v 1.6 2017/12/10 02:43:44 boris Exp $ +$Id: english.bib,v 1.7 2018/04/29 19:39:51 boris Exp $ Please notify Adrian F Clark of any additions or corrections to this list. diff --git a/Master/texmf-dist/source/support/bibtexperllibs/README b/Master/texmf-dist/source/support/bibtexperllibs/README index feb8c4cd682..c84191b77f4 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/README +++ b/Master/texmf-dist/source/support/bibtexperllibs/README @@ -1,5 +1,5 @@ BibTeX Perl Libs - Version 1.4 + Version 1.5 Gerhard Gossen and Boris Veytsman This package provides BibTeX related Perl libraries by Gerhard Gossen, @@ -12,6 +12,8 @@ scripts/bibtexperllibs inside your TeX distribution. Changes: + version 1.5 Upgraded BibTeX::Parser to 1.02 (bugfixes) + version 1.4 Upgraded BibTeX::Parser to 1.01 version 1.3 Upgraded BibTeX::Parser to 1.00 -- cgit v1.2.3