summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-03-25 22:06:44 +0000
committerKarl Berry <karl@freefriends.org>2016-03-25 22:06:44 +0000
commitff79e08c4e182a0ca600f033c8baa842056f92f9 (patch)
treea5cf18fac0e1ce9a0193c9b5c08070bf18e366e1 /Master
parentf9e5222a931d1b2671fa84b5c93a4605c00c2373 (diff)
bibtexperllibs (25mar16)
git-svn-id: svn://tug.org/texlive/trunk@40139 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParser.3pm26
-rw-r--r--Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserAuthor.3pm38
-rw-r--r--Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserEntry.3pm37
-rw-r--r--Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicode.3pm8
-rw-r--r--Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicodeTables.3pm8
-rw-r--r--Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser.pm20
-rw-r--r--Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Author.pm21
-rw-r--r--Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm37
-rw-r--r--Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Changes3
-rw-r--r--Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/META.yml2
-rw-r--r--Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile.PL2
-rw-r--r--Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/README4
-rw-r--r--Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/dist.ini2
-rw-r--r--Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/13_output.t11
-rw-r--r--Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/bibs/english.bib2
-rw-r--r--Master/texmf-dist/source/support/bibtexperllibs/README11
16 files changed, 127 insertions, 105 deletions
diff --git a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParser.3pm b/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParser.3pm
index fa79185547d..fb4922b4805 100644
--- a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParser.3pm
+++ b/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParser.3pm
@@ -124,16 +124,13 @@
.\" ========================================================================
.\"
.IX Title "BibTeX::Parser 3pm"
-.TH BibTeX::Parser 3pm "2015-10-24" "perl v5.10.1" "User Contributed Perl Documentation"
+.TH BibTeX::Parser 3pm "2016-03-24" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
BibTeX::Parser \- A pure perl BibTeX parser
-.SH "VERSION"
-.IX Header "VERSION"
-version 0.65
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
Parses BibTeX files.
@@ -168,11 +165,6 @@ Parses BibTeX files.
\& }
\& }
.Ve
-.SH "NAME"
-BibTeX::Parser \- A pure perl BibTeX parser
-.SH "VERSION"
-.IX Header "VERSION"
-version 0.65
.SH "FUNCTIONS"
.IX Header "FUNCTIONS"
.SS "new"
@@ -187,18 +179,26 @@ Parameters:
.SS "next"
.IX Subsection "next"
Returns the next parsed entry or undef.
-.SS "\s-1SEE\s0 \s-1ALSO\s0"
-.IX Subsection "SEE ALSO"
+.SH "NOTES"
+.IX Header "NOTES"
+The fields \f(CW\*(C`author\*(C'\fR and \f(CW\*(C`editor\*(C'\fR are canonized, see
+BibTeX::Parser::Author
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
.IP "\(bu" 4
BibTeX::Parser::Entry
.IP "\(bu" 4
BibTeX::Parser::Author
+.SH "VERSION"
+.IX Header "VERSION"
+version 0.69
.SH "AUTHOR"
.IX Header "AUTHOR"
-Gerhard Gossen <gerhard.gossen@googlemail.com>
+Gerhard Gossen <gerhard.gossen@googlemail.com> and
+Boris Veytsman <boris@varphi.com>
.SH "COPYRIGHT AND LICENSE"
.IX Header "COPYRIGHT AND LICENSE"
-This software is copyright (c) 2013 by Gerhard Gossen.
+This software is copyright (c) 2013\-2016 by Gerhard Gossen and Boris Veytsman
.PP
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserAuthor.3pm b/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserAuthor.3pm
index 0f1509c5489..75f48fa183d 100644
--- a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserAuthor.3pm
+++ b/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserAuthor.3pm
@@ -124,16 +124,13 @@
.\" ========================================================================
.\"
.IX Title "BibTeX::Parser::Author 3pm"
-.TH BibTeX::Parser::Author 3pm "2015-10-24" "perl v5.10.1" "User Contributed Perl Documentation"
+.TH BibTeX::Parser::Author 3pm "2016-03-24" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
-BibTeX::Parser::Author
-.SH "VERSION"
-.IX Header "VERSION"
-version 0.65
+BibTeX::Author \- Contains a single author for a BibTeX document.
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
This class ist a wrapper for a single BibTeX author. It is usually created
@@ -153,11 +150,6 @@ by a BibTeX::Parser.
\&
\& my ($first, $von, $last, $jr) = BibTeX::Author\->split($fullname);
.Ve
-.SH "NAME"
-BibTeX::Author \- Contains a single author for a BibTeX document.
-.SH "VERSION"
-.IX Header "VERSION"
-version 0.65
.SH "FUNCTIONS"
.IX Header "FUNCTIONS"
.SS "new"
@@ -182,12 +174,34 @@ with four strings, some of them possibly empty.
.SS "to_string"
.IX Subsection "to_string"
Return string representation of the name.
+.SH "NOTES"
+.IX Header "NOTES"
+BibTeX allows three representations of a person's name:
+.IP "1." 4
+First von Last
+.IP "2." 4
+von Last, First
+.IP "3." 4
+von Last, Jr, First
+.PP
+The module always converts the first form to the second of third one
+to allow simple string comparisons.
+.PP
+The algorithm to determine the von part is the following: von part
+consists of tokens where the first letter at brace level 0 is in lower case.
+Anything in a \*(L"special characters\*(R" is on brace level 0. Thus the following
+tokens are considered von parts: \f(CW\*(C`von\*(C'\fR, \f(CW\*(C`\eNOOP{von}Von\*(C'\fR, and
+the following token is not: \f(CW\*(C`{von}\*(C'\fR
+.SH "VERSION"
+.IX Header "VERSION"
+version 0.69
.SH "AUTHOR"
.IX Header "AUTHOR"
-Gerhard Gossen <gerhard.gossen@googlemail.com>
+Gerhard Gossen <gerhard.gossen@googlemail.com> and
+Boris Veytsman <boris@varphi.com>
.SH "COPYRIGHT AND LICENSE"
.IX Header "COPYRIGHT AND LICENSE"
-This software is copyright (c) 2013 by Gerhard Gossen.
+This software is copyright (c) 2013\-\-2016 by Gerhard Gossen and Boris Veytsman.
.PP
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserEntry.3pm b/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserEntry.3pm
index c145295b33a..e2d9405b1cf 100644
--- a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserEntry.3pm
+++ b/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserEntry.3pm
@@ -124,16 +124,13 @@
.\" ========================================================================
.\"
.IX Title "BibTeX::Parser::Entry 3pm"
-.TH BibTeX::Parser::Entry 3pm "2015-10-24" "perl v5.10.1" "User Contributed Perl Documentation"
+.TH BibTeX::Parser::Entry 3pm "2016-03-24" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
-BibTeX::Parser::Entry
-.SH "VERSION"
-.IX Header "VERSION"
-version 0.65
+BibTeX::Parser::Entry \- Contains a single entry of a BibTeX document.
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
This class ist a wrapper for a single BibTeX entry. It is usually created
@@ -152,13 +149,10 @@ by a BibTeX::Parser.
\& my @editors = $entry\->editor;
\&
\& ...
+\&
+\& print $entry\->to_string;
\& }
.Ve
-.SH "NAME"
-BibTeX::Entry \- Contains a single entry of a BibTeX document.
-.SH "VERSION"
-.IX Header "VERSION"
-version 0.65
.SH "FUNCTIONS"
.IX Header "FUNCTIONS"
.SS "new"
@@ -207,21 +201,32 @@ objects. The parameters can either be BibTeX::Author objects
or strings.
.PP
Note: You can also change the authors with \f(CW$entry\fR\->field('editor', \f(CW$editors_string\fR)
-.SS "\fIfieldlist()\fP"
-.IX Subsection "fieldlist()"
+.SS "fieldlist ()"
+.IX Subsection "fieldlist ()"
Returns a list of all the fields used in this entry.
.SS "has($fieldname)"
.IX Subsection "has($fieldname)"
Returns a true value if this entry has a value for \f(CW$fieldname\fR.
-.SS "raw_bibtex"
-.IX Subsection "raw_bibtex"
+.SS "raw_bibtex ()"
+.IX Subsection "raw_bibtex ()"
Return raw BibTeX entry (if available).
+.SS "to_string ([options])"
+.IX Subsection "to_string ([options])"
+Returns a text of the BibTeX entry in BibTeX format. Options is
+a hash. Currently only the option \f(CW\*(C`canonize_names\*(C'\fR
+is supported. If true (the default), authors' and editors'
+names are translated into canonical bibtex form. The command
+\&\f(CW\*(C`$entry\->to_string(canonize_names=>0)\*(C'\fR overrides this behavior.
+.SH "VERSION"
+.IX Header "VERSION"
+version 0.69
.SH "AUTHOR"
.IX Header "AUTHOR"
-Gerhard Gossen <gerhard.gossen@googlemail.com>
+Gerhard Gossen <gerhard.gossen@googlemail.com> and
+Boris Veytsman <boris@varphi.com>
.SH "COPYRIGHT AND LICENSE"
.IX Header "COPYRIGHT AND LICENSE"
-This software is copyright (c) 2013 by Gerhard Gossen.
+This software is copyright (c) 2013\-2016 by Gerhard Gossen and Boris Veytsman
.PP
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicode.3pm b/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicode.3pm
index 8c53a9fb0ec..32f5e8a75bf 100644
--- a/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicode.3pm
+++ b/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicode.3pm
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "LaTeX::ToUnicode 3pm"
-.TH LaTeX::ToUnicode 3pm "2015-10-24" "perl v5.10.1" "User Contributed Perl Documentation"
+.TH LaTeX::ToUnicode 3pm "2015-12-28" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -133,7 +133,7 @@
LaTeX::ToUnicode \- Convert LaTeX commands to Unicode
.SH "VERSION"
.IX Header "VERSION"
-version 0.03
+version 0.04
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 1
@@ -171,10 +171,10 @@ If true, the commands introduced by the package `german' (e.g. \f(CW\*(C`"a\*(C'
note the missing backslash) are also handled.
.SH "AUTHOR"
.IX Header "AUTHOR"
-Gerhard Gossen <gerhard.gossen@googlemail.com>
+Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>
.SH "COPYRIGHT AND LICENSE"
.IX Header "COPYRIGHT AND LICENSE"
-This software is copyright (c) 2010 by Gerhard Gossen.
+This software is copyright (c) 2010\-2015 by Gerhard Gossen and Boris Veytsman
.PP
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicodeTables.3pm b/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicodeTables.3pm
index 5ffd04ef9b8..1092bb89be4 100644
--- a/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicodeTables.3pm
+++ b/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicodeTables.3pm
@@ -124,7 +124,7 @@
.\" ========================================================================
.\"
.IX Title "LaTeX::ToUnicode::Tables 3pm"
-.TH LaTeX::ToUnicode::Tables 3pm "2015-10-24" "perl v5.10.1" "User Contributed Perl Documentation"
+.TH LaTeX::ToUnicode::Tables 3pm "2015-12-28" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
@@ -133,7 +133,7 @@
LaTeX::ToUnicode::Tables \- Character tables for LaTeX::ToUnicode
.SH "VERSION"
.IX Header "VERSION"
-version 0.03
+version 0.04
.SH "CONSTANTS"
.IX Header "CONSTANTS"
.ie n .SS "%COMMANDS"
@@ -170,10 +170,10 @@ The keys of this hash are the literal escape sequences.
Command names of formatting commands like \f(CW\*(C`\ett\*(C'\fR
.SH "AUTHOR"
.IX Header "AUTHOR"
-Gerhard Gossen <gerhard.gossen@googlemail.com>
+Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>
.SH "COPYRIGHT AND LICENSE"
.IX Header "COPYRIGHT AND LICENSE"
-This software is copyright (c) 2010 by Gerhard Gossen.
+This software is copyright (c) 2010\-2015 by Gerhard Gossen and Boris Veytsman
.PP
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser.pm b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser.pm
index 607e661e112..5f0354f403b 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 = '0.68';
+ $BibTeX::Parser::VERSION = '0.69';
}
# ABSTRACT: A pure perl BibTeX parser
use warnings;
@@ -265,9 +265,6 @@ __END__
BibTeX::Parser - A pure perl BibTeX parser
-=head1 VERSION
-
-version 0.66
=head1 SYNOPSIS
@@ -302,15 +299,7 @@ Parses BibTeX files.
}
}
-=for stopwords jr von
-
-=head1 NAME
-
-BibTeX::Parser - A pure perl BibTeX parser
-
-=head1 VERSION
-version 0.65
=head1 FUNCTIONS
@@ -346,6 +335,11 @@ L<BibTeX::Parser::Author>
=back
+=head1 VERSION
+
+version 0.69
+
+
=head1 AUTHOR
Gerhard Gossen <gerhard.gossen@googlemail.com> and
@@ -353,7 +347,7 @@ Boris Veytsman <boris@varphi.com>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2013-2015 by Gerhard Gossen and Boris Veytsman
+This software is copyright (c) 2013-2016 by Gerhard Gossen and Boris Veytsman
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Author.pm b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Author.pm
index fbd532211b4..c19bd885776 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 = '0.68';
+ $BibTeX::Parser::Author::VERSION = '0.69';
}
use warnings;
@@ -309,11 +309,7 @@ __END__
=head1 NAME
-BibTeX::Parser::Author
-
-=head1 VERSION
-
-version 0.65
+BibTeX::Author - Contains a single author for a BibTeX document.
=head1 SYNOPSIS
@@ -333,13 +329,7 @@ by a BibTeX::Parser.
my ($first, $von, $last, $jr) = BibTeX::Author->split($fullname);
-=head1 NAME
-BibTeX::Author - Contains a single author for a BibTeX document.
-
-=head1 VERSION
-
-version 0.66
=head1 FUNCTIONS
@@ -401,6 +391,11 @@ Anything in a "special characters" is on brace level 0. Thus the following
tokens are considered von parts: C<von>, C<\NOOP{von}Von>, and
the following token is not: C<{von}>
+=head1 VERSION
+
+version 0.69
+
+
=head1 AUTHOR
Gerhard Gossen <gerhard.gossen@googlemail.com> and
@@ -408,7 +403,7 @@ Boris Veytsman <boris@varphi.com>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2013--2015 by Gerhard Gossen and Boris Veytsman.
+This software is copyright (c) 2013--2016 by Gerhard Gossen and Boris Veytsman.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm
index 6986f0a6608..9e6ab110c0c 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 = '0.68';
+ $BibTeX::Parser::Entry::VERSION = '0.69';
}
use warnings;
@@ -218,6 +218,10 @@ sub raw_bibtex {
sub to_string {
my $self = shift;
+ my %options=@_;
+ if (!exists($options{canonize_names})) {
+ $options{canonize_names}=1;
+ }
my @fields = grep {!/^_/} keys %$self;
@fields = sort {
$self->{_fieldnums}->{$a} <=>
@@ -225,11 +229,11 @@ sub to_string {
my $result = '@'.$self->type."{".$self->key.",\n";
foreach my $field (@fields) {
my $value = $self->field($field);
- if ($field eq 'author') {
+ if ($field eq 'author' && $options{canonize_names}) {
my @names = ($self->author);
$value = join(' and ', @names);
}
- if ($field eq 'editor') {
+ if ($field eq 'editor' && $options{canonize_names}) {
my @names = ($self->editors);
$value = join(' and ', @names);
}
@@ -246,11 +250,7 @@ __END__
=head1 NAME
-BibTeX::Parser::Entry
-
-=head1 VERSION
-
-version 0.66
+BibTeX::Parser::Entry - Contains a single entry of a BibTeX document.
=head1 SYNOPSIS
@@ -275,13 +275,7 @@ by a BibTeX::Parser.
-=head1 NAME
-
-BibTeX::Parser::Entry - Contains a single entry of a BibTeX document.
-
-=head1 VERSION
-version 0.66
=head1 FUNCTIONS
@@ -353,9 +347,18 @@ Returns a true value if this entry has a value for $fieldname.
Return raw BibTeX entry (if available).
-=head2 to_string ()
+=head2 to_string ([options])
+
+Returns a text of the BibTeX entry in BibTeX format. Options is
+a hash. Currently only the option C<canonize_names>
+is supported. If true (the default), authors' and editors'
+names are translated into canonical bibtex form. The command
+C<$entry-E<gt>to_string(canonize_names=E<gt>0)> overrides this behavior.
+
+=head1 VERSION
+
+version 0.69
-Returns a text of the BibTeX entry in BibTeX format
=head1 AUTHOR
@@ -364,7 +367,7 @@ Boris Veytsman <boris@varphi.com>
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2013-2015 by Gerhard Gossen and Boris Veytsman
+This software is copyright (c) 2013-2016 by Gerhard Gossen and Boris Veytsman
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Changes b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Changes
index 3785e372e7e..e39743738f4 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
+0.69 2016-03-24 15:13:50-04:00
+ Added option canonize_names to Entry::to_string
+
0.68 2016-03-10 13:45:31-05:00
Now we preserve the order of entries
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 6ccee5fe89c..4ad914183f5 100644
--- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/META.yml
+++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/META.yml
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: BibTeX-Parser
-version: 0.68
+version: 0.69
abstract: A pure perl BibTeX parser
author:
- Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>
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 da91d807db7..e135d79029f 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" => "0.68",
+ "VERSION" => "0.69",
"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 185cd151198..2f76b0bc279 100644
--- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/README
+++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/README
@@ -1,9 +1,9 @@
This archive contains the distribution BibTeX-Parser,
-version 0.68:
+version 0.69:
A pure perl BibTeX parser
-This software is copyright (c) 2013--2015 by Gerhard Gossen and Boris Veytsman
+This software is copyright (c) 2013--2016 by Gerhard Gossen and Boris Veytsman
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
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 ca341ef139b..386d1f20257 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 = 0.68
+version = 0.69
author = Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>
license = Perl_5
copyright_holder = Gerhard Gossen and Boris Veytsman
diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/13_output.t b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/13_output.t
index e298aa5a59e..ba0ea673cad 100644
--- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/13_output.t
+++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/t/13_output.t
@@ -15,13 +15,20 @@ my $parser = new BibTeX::Parser $fh;
while (my $entry = $parser->next) {
if($entry->key eq 'key01') {
- my $result='@ARTICLE{key01,
+ my $result1='@ARTICLE{key01,
year = {1950},
author = {Duck, Donald and Else, Someone},
title = {Title text},
month = {January~1},
}';
- is($entry->to_string,$result);
+ my $result2='@ARTICLE{key01,
+ year = {1950},
+ author = {Donald Duck and Someone Else},
+ title = {Title text},
+ month = {January~1},
+}';
+ is($entry->to_string,$result1);
+ is($entry->to_string(canonize_names=>0),$result2);
}
}
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 c7cd3409222..021b0d58f9e 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.3 2016/03/10 19:00:02 boris Exp $
+$Id: english.bib,v 1.4 2016/03/24 22:47:03 boris Exp $
Please notify Adrian F Clark <alien@uk.ac.essex.ese> 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 65d114cced2..97327b97139 100644
--- a/Master/texmf-dist/source/support/bibtexperllibs/README
+++ b/Master/texmf-dist/source/support/bibtexperllibs/README
@@ -1,18 +1,19 @@
BibTeX Perl Libs
- Version 1.0
+ Version 1.1
Gerhard Gossen and Boris Veytsman
This package provides BibTeX related Perl libraries by Gerhard Gossen,
-maintained and repacked by Boris Veytsman, boris@varphi.com, for
-TeXLive and other TDS-compliant distributions. The libraries are
-written in pure Perl, so shoud work out of the box on any
-architecture.
+maintained and repackaged by Boris Veytsman for TeXLive and other
+TDS-compliant distributions. The libraries are written in pure Perl,
+so shoud work out of the box on any architecture.
To use them in your scripts, add to the @INC variable the directory
scripts/bibtexperllibs inside your TeX distribution.
Changes:
+ version 1.1 Upgraded BibTeX::Parser to v0.69
+
version 1.0 Upgraded BibTeX::Parser to v0.68 and LaTeX::ToUnicode to 0.04
version 0.2 New upstream version for BibTeX::Parser (0.66)