diff options
author | Karl Berry <karl@freefriends.org> | 2020-12-14 22:14:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-12-14 22:14:21 +0000 |
commit | fc1bb54c399abd1f991be097495ca8fbbf892dc2 (patch) | |
tree | dc15810a259377944a62806d527643bf890f50d4 /Master | |
parent | 7f3eb14f1de02216c62fe2ac3c47aa8883894f4b (diff) |
bibtexperllibs (14dec20)
git-svn-id: svn://tug.org/texlive/trunk@57137 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
25 files changed, 2484 insertions, 1592 deletions
diff --git a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParser.3pm b/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParser.3pm deleted file mode 100644 index d6fe7d17b46..00000000000 --- a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParser.3pm +++ /dev/null @@ -1,213 +0,0 @@ -.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) -.\" -.\" Standard preamble: -.\" ======================================================================== -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Vb \" Begin verbatim text -.ft CW -.nf -.ne \\$1 -.. -.de Ve \" End verbatim text -.ft R -.fi -.. -.\" Set up some character translations and predefined strings. \*(-- will -.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left -.\" double quote, and \*(R" will give a right double quote. \*(C+ will -.\" give a nicer C++. Capital omega is used to do unbreakable dashes and -.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, -.\" nothing in troff, for use with C<>. -.tr \(*W- -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.ie n \{\ -. ds -- \(*W- -. ds PI pi -. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -. ds L" "" -. ds R" "" -. ds C` "" -. ds C' "" -'br\} -.el\{\ -. ds -- \|\(em\| -. ds PI \(*p -. ds L" `` -. ds R" '' -. ds C` -. ds C' -'br\} -.\" -.\" Escape single quotes in literal strings from groff's Unicode transform. -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" -.\" If the F register is turned on, we'll generate index entries on stderr for -.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index -.\" entries marked with X<> in POD. Of course, you'll have to process the -.\" output yourself in some meaningful fashion. -.\" -.\" Avoid warning from groff about undefined register 'F'. -.de IX -.. -.nr rF 0 -.if \n(.g .if rF .nr rF 1 -.if (\n(rF:(\n(.g==0)) \{ -. if \nF \{ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" -.. -. if !\nF==2 \{ -. nr % 0 -. nr F 2 -. \} -. \} -.\} -.rr rF -.\" -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). -.\" Fear. Run. Save yourself. No user-serviceable parts. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C -.\" ======================================================================== -.\" -.IX Title "BibTeX::Parser 3" -.TH BibTeX::Parser 3 "2017-12-09" "perl v5.18.2" "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 "SYNOPSIS" -.IX Header "SYNOPSIS" -Parses BibTeX files. -.PP -.Vb 2 -\& use BibTeX::Parser; -\& use IO::File; -\& -\& my $fh = IO::File\->new("filename"); -\& -\& # Create parser object ... -\& my $parser = BibTeX::Parser\->new($fh); -\& -\& # ... and iterate over entries -\& while (my $entry = $parser\->next ) { -\& if ($entry\->parse_ok) { -\& my $type = $entry\->type; -\& my $title = $entry\->field("title"); -\& -\& my @authors = $entry\->author; -\& # or: -\& my @editors = $entry\->editor; -\& -\& foreach my $author (@authors) { -\& print $author\->first . " " -\& . $author\->von . " " -\& . $author\->last . ", " -\& . $author\->jr; -\& } -\& } else { -\& warn "Error parsing file: " . $entry\->error; -\& } -\& } -.Ve -.SH "FUNCTIONS" -.IX Header "FUNCTIONS" -.SS "new" -.IX Subsection "new" -Creates new parser object. -.PP -Parameters: -.PP -.Vb 1 -\& * fh: A filehandle -.Ve -.SS "next" -.IX Subsection "next" -Returns the next parsed entry or undef. -.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 1.01 -.SH "AUTHOR" -.IX Header "AUTHOR" -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\-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 deleted file mode 100644 index 33d0126d325..00000000000 --- a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserAuthor.3pm +++ /dev/null @@ -1,216 +0,0 @@ -.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) -.\" -.\" Standard preamble: -.\" ======================================================================== -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Vb \" Begin verbatim text -.ft CW -.nf -.ne \\$1 -.. -.de Ve \" End verbatim text -.ft R -.fi -.. -.\" Set up some character translations and predefined strings. \*(-- will -.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left -.\" double quote, and \*(R" will give a right double quote. \*(C+ will -.\" give a nicer C++. Capital omega is used to do unbreakable dashes and -.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, -.\" nothing in troff, for use with C<>. -.tr \(*W- -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.ie n \{\ -. ds -- \(*W- -. ds PI pi -. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -. ds L" "" -. ds R" "" -. ds C` "" -. ds C' "" -'br\} -.el\{\ -. ds -- \|\(em\| -. ds PI \(*p -. ds L" `` -. ds R" '' -. ds C` -. ds C' -'br\} -.\" -.\" Escape single quotes in literal strings from groff's Unicode transform. -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" -.\" If the F register is turned on, we'll generate index entries on stderr for -.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index -.\" entries marked with X<> in POD. Of course, you'll have to process the -.\" output yourself in some meaningful fashion. -.\" -.\" Avoid warning from groff about undefined register 'F'. -.de IX -.. -.nr rF 0 -.if \n(.g .if rF .nr rF 1 -.if (\n(rF:(\n(.g==0)) \{ -. if \nF \{ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" -.. -. if !\nF==2 \{ -. nr % 0 -. nr F 2 -. \} -. \} -.\} -.rr rF -.\" -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). -.\" Fear. Run. Save yourself. No user-serviceable parts. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C -.\" ======================================================================== -.\" -.IX Title "BibTeX::Parser::Author 3" -.TH BibTeX::Parser::Author 3 "2017-12-09" "perl v5.18.2" "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::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 -by a BibTeX::Parser. -.PP -.Vb 1 -\& use BibTeX::Parser::Author; -\& -\& my $entry = BibTeX::Parser::Author\->new($full_name); -\& -\& my $firstname = $author\->first; -\& my $von = $author\->von; -\& my $last = $author\->last; -\& my $jr = $author\->jr; -\& -\& # or ... -\& -\& my ($first, $von, $last, $jr) = BibTeX::Author\->split($fullname); -.Ve -.SH "FUNCTIONS" -.IX Header "FUNCTIONS" -.SS "new" -.IX Subsection "new" -Create new author object. Expects full name as parameter. -.SS "first" -.IX Subsection "first" -Set or get first name(s). -.SS "von" -.IX Subsection "von" -Set or get 'von' part of name. -.SS "last" -.IX Subsection "last" -Set or get last name(s). -.SS "jr" -.IX Subsection "jr" -Set or get 'jr' part of name. -.SS "split" -.IX Subsection "split" -Split name into (firstname, von part, last name, jr part). Returns array -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 1.01 -.SH "AUTHOR" -.IX Header "AUTHOR" -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\-\-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 deleted file mode 100644 index c91647d5544..00000000000 --- a/Master/texmf-dist/doc/support/bibtexperllibs/BibTeXParserEntry.3pm +++ /dev/null @@ -1,263 +0,0 @@ -.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28) -.\" -.\" Standard preamble: -.\" ======================================================================== -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Vb \" Begin verbatim text -.ft CW -.nf -.ne \\$1 -.. -.de Ve \" End verbatim text -.ft R -.fi -.. -.\" Set up some character translations and predefined strings. \*(-- will -.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left -.\" double quote, and \*(R" will give a right double quote. \*(C+ will -.\" give a nicer C++. Capital omega is used to do unbreakable dashes and -.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, -.\" nothing in troff, for use with C<>. -.tr \(*W- -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.ie n \{\ -. ds -- \(*W- -. ds PI pi -. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -. ds L" "" -. ds R" "" -. ds C` "" -. ds C' "" -'br\} -.el\{\ -. ds -- \|\(em\| -. ds PI \(*p -. ds L" `` -. ds R" '' -. ds C` -. ds C' -'br\} -.\" -.\" Escape single quotes in literal strings from groff's Unicode transform. -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" -.\" If the F register is turned on, we'll generate index entries on stderr for -.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index -.\" entries marked with X<> in POD. Of course, you'll have to process the -.\" output yourself in some meaningful fashion. -.\" -.\" Avoid warning from groff about undefined register 'F'. -.de IX -.. -.nr rF 0 -.if \n(.g .if rF .nr rF 1 -.if (\n(rF:(\n(.g==0)) \{ -. if \nF \{ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" -.. -. if !\nF==2 \{ -. nr % 0 -. nr F 2 -. \} -. \} -.\} -.rr rF -.\" -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). -.\" Fear. Run. Save yourself. No user-serviceable parts. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C -.\" ======================================================================== -.\" -.IX Title "BibTeX::Parser::Entry 3" -.TH BibTeX::Parser::Entry 3 "2017-12-09" "perl v5.18.2" "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 \- 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 -by a BibTeX::Parser. -.PP -.Vb 1 -\& use BibTeX::Parser::Entry; -\& -\& my $entry = BibTeX::Parser::Entry\->new($type, $key, $parse_ok, \e%fields); -\& -\& if ($entry\->parse_ok) { -\& my $type = $entry\->type; -\& my $key = $enty\->key; -\& print $entry\->field("title"); -\& my @authors = $entry\->author; -\& my @editors = $entry\->editor; -\& -\& ... -\& -\& print $entry\->to_string; -\& } -.Ve -.SH "FUNCTIONS" -.IX Header "FUNCTIONS" -.SS "new" -.IX Subsection "new" -Create new entry. -.SS "parse_ok" -.IX Subsection "parse_ok" -If the entry was correctly parsed, this method returns a true value, false otherwise. -.SS "error" -.IX Subsection "error" -Return the error message, if the entry could not be parsed or undef otherwise. -.SS "type" -.IX Subsection "type" -Get or set the type of the entry, eg. '\s-1ARTICLE\s0' or '\s-1BOOK\s0'. Return value is -always uppercase. -.SS "key" -.IX Subsection "key" -Get or set the reference key of the entry. -.ie n .SS "field($name [, $value])" -.el .SS "field($name [, \f(CW$value\fP])" -.IX Subsection "field($name [, $value])" -Get or set the contents of a field. The first parameter is the name of the -field, the second (optional) value is the new value. -.SS "cleaned_field($name)" -.IX Subsection "cleaned_field($name)" -Retrieve the contents of a field in a format that is cleaned of TeX markup. -.SS "cleaned_author" -.IX Subsection "cleaned_author" -Get an array of BibTeX::Parser::Author objects for the authors of this -entry. Each name has been cleaned of accents and braces. -.SS "cleaned_editor" -.IX Subsection "cleaned_editor" -Get an array of BibTeX::Parser::Author objects for the editors of this -entry. Each name has been cleaned of accents and braces. -.SS "author([@authors])" -.IX Subsection "author([@authors])" -Get or set the authors. Returns an array of BibTeX::Author -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('author', \f(CW$authors_string\fR) -.SS "editor([@editors])" -.IX Subsection "editor([@editors])" -Get or set the editors. Returns an array of BibTeX::Author -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 "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 "pre ()" -.IX Subsection "pre ()" -Return the text in BibTeX file before the entry -.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 are -a hash. -.ie n .IP """canonize_names""" 4 -.el .IP "\f(CWcanonize_names\fR" 4 -.IX Item "canonize_names" -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. -.ie n .IP """field_capitalization""" 4 -.el .IP "\f(CWfield_capitalization\fR" 4 -.IX Item "field_capitalization" -Capitalization of the field names. -Can take values 'Uppercase', 'Lowercase' (the default) or 'Titlecase' -.ie n .IP """print_pre""" 4 -.el .IP "\f(CWprint_pre\fR" 4 -.IX Item "print_pre" -False by default. If true, the text in the Bib file before the -entry is printed. Note that at present we assume the text -before the entry \s-1NEVER\s0 has the @ symbol inside -.ie n .IP """type_capitalization""" 4 -.el .IP "\f(CWtype_capitalization\fR" 4 -.IX Item "type_capitalization" -Capitalization of the type names. -Can take values 'Uppercase' (the default), 'Lowercase' or 'Titlecase' -.SH "VERSION" -.IX Header "VERSION" -version 1.01 -.SH "AUTHOR" -.IX Header "AUTHOR" -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\-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 deleted file mode 100644 index 6cb4e69bed8..00000000000 --- a/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicode.3pm +++ /dev/null @@ -1,189 +0,0 @@ -.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) -.\" -.\" Standard preamble: -.\" ======================================================================== -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Vb \" Begin verbatim text -.ft CW -.nf -.ne \\$1 -.. -.de Ve \" End verbatim text -.ft R -.fi -.. -.\" Set up some character translations and predefined strings. \*(-- will -.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left -.\" double quote, and \*(R" will give a right double quote. \*(C+ will -.\" give a nicer C++. Capital omega is used to do unbreakable dashes and -.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, -.\" nothing in troff, for use with C<>. -.tr \(*W- -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.ie n \{\ -. ds -- \(*W- -. ds PI pi -. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -. ds L" "" -. ds R" "" -. ds C` "" -. ds C' "" -'br\} -.el\{\ -. ds -- \|\(em\| -. ds PI \(*p -. ds L" `` -. ds R" '' -. ds C` -. ds C' -'br\} -.\" -.\" Escape single quotes in literal strings from groff's Unicode transform. -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" -.\" If the F register is turned on, we'll generate index entries on stderr for -.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index -.\" entries marked with X<> in POD. Of course, you'll have to process the -.\" output yourself in some meaningful fashion. -.\" -.\" Avoid warning from groff about undefined register 'F'. -.de IX -.. -.nr rF 0 -.if \n(.g .if rF .nr rF 1 -.if (\n(rF:(\n(.g==0)) \{ -. if \nF \{ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" -.. -. if !\nF==2 \{ -. nr % 0 -. nr F 2 -. \} -. \} -.\} -.rr rF -.\" -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). -.\" Fear. Run. Save yourself. No user-serviceable parts. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C -.\" ======================================================================== -.\" -.IX Title "LaTeX::ToUnicode 3pm" -.TH LaTeX::ToUnicode 3pm "2016-11-22" "perl v5.20.2" "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" -LaTeX::ToUnicode \- Convert LaTeX commands to Unicode -.SH "VERSION" -.IX Header "VERSION" -version 0.05 -.SH "SYNOPSIS" -.IX Header "SYNOPSIS" -.Vb 1 -\& use LaTeX::ToUnicode qw( convert ); -\& -\& convert( \*(Aq{\e"a}\*(Aq ) eq \*(Aqa\*:\*(Aq; # true -\& convert( \*(Aq"a\*(Aq, german => 1 ) eq \*(Aqa\*:\*(Aq; # true, \`german\*(Aq package syntax -\& convert( \*(Aq"a\*(Aq, ) eq \*(Aq"a\*(Aq; # not enabled by default -.Ve -.SH "DESCRIPTION" -.IX Header "DESCRIPTION" -This module provides a method to convert LaTeX-style markups for accents etc. -into their Unicode equivalents. It translates commands for special characters -or accents into their Unicode equivalents and removes formatting commands. -.PP -I use this module to convert values from BibTeX files into plain text, if your -use case is different, \s-1YMMV.\s0 -.PP -In contrast to TeX::Encode, this module does not create \s-1HTML\s0 of any kind. -.SH "FUNCTIONS" -.IX Header "FUNCTIONS" -.ie n .SS "convert( $string, %options )" -.el .SS "convert( \f(CW$string\fP, \f(CW%options\fP )" -.IX Subsection "convert( $string, %options )" -Convert the text in \f(CW$string\fR that contains LaTeX into a plain(er) Unicode -string. All escape sequences for special characters (e.g. \ei, \e"a, ...) are -converted, formatting commands (e.g. {\eit ...}) are removed. -.PP -\&\f(CW%options\fR allows you to enable additional translations. This values are -recognized: -.ie n .IP """german""" 4 -.el .IP "\f(CWgerman\fR" 4 -.IX Item "german" -If true, the commands introduced by the package `german' (e.g. \f(CW\*(C`"a\*(C'\fR eq \f(CW\*(C`a\*:\*(C'\fR, -note the missing backslash) are also handled. -.SH "AUTHOR" -.IX Header "AUTHOR" -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\-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 deleted file mode 100644 index 32cab7a7629..00000000000 --- a/Master/texmf-dist/doc/support/bibtexperllibs/LaTeXToUnicodeTables.3pm +++ /dev/null @@ -1,188 +0,0 @@ -.\" Automatically generated by Pod::Man 2.28 (Pod::Simple 3.28) -.\" -.\" Standard preamble: -.\" ======================================================================== -.de Sp \" Vertical space (when we can't use .PP) -.if t .sp .5v -.if n .sp -.. -.de Vb \" Begin verbatim text -.ft CW -.nf -.ne \\$1 -.. -.de Ve \" End verbatim text -.ft R -.fi -.. -.\" Set up some character translations and predefined strings. \*(-- will -.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left -.\" double quote, and \*(R" will give a right double quote. \*(C+ will -.\" give a nicer C++. Capital omega is used to do unbreakable dashes and -.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, -.\" nothing in troff, for use with C<>. -.tr \(*W- -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.ie n \{\ -. ds -- \(*W- -. ds PI pi -. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -. ds L" "" -. ds R" "" -. ds C` "" -. ds C' "" -'br\} -.el\{\ -. ds -- \|\(em\| -. ds PI \(*p -. ds L" `` -. ds R" '' -. ds C` -. ds C' -'br\} -.\" -.\" Escape single quotes in literal strings from groff's Unicode transform. -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" -.\" If the F register is turned on, we'll generate index entries on stderr for -.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index -.\" entries marked with X<> in POD. Of course, you'll have to process the -.\" output yourself in some meaningful fashion. -.\" -.\" Avoid warning from groff about undefined register 'F'. -.de IX -.. -.nr rF 0 -.if \n(.g .if rF .nr rF 1 -.if (\n(rF:(\n(.g==0)) \{ -. if \nF \{ -. de IX -. tm Index:\\$1\t\\n%\t"\\$2" -.. -. if !\nF==2 \{ -. nr % 0 -. nr F 2 -. \} -. \} -.\} -.rr rF -.\" -.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). -.\" Fear. Run. Save yourself. No user-serviceable parts. -. \" fudge factors for nroff and troff -.if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP -.\} -.if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& -.\} -. \" simple accents for nroff and troff -.if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds / -.\} -.if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -.\} -. \" troff and (daisy-wheel) nroff accents -.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' -.ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] -.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' -.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' -.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#] -.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] -.ds ae a\h'-(\w'a'u*4/10)'e -.ds Ae A\h'-(\w'A'u*4/10)'E -. \" corrections for vroff -.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' -.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) -.if \n(.H>23 .if \n(.V>19 \ -\{\ -. ds : e -. ds 8 ss -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -.\} -.rm #[ #] #H #V #F C -.\" ======================================================================== -.\" -.IX Title "LaTeX::ToUnicode::Tables 3pm" -.TH LaTeX::ToUnicode::Tables 3pm "2016-11-22" "perl v5.20.2" "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" -LaTeX::ToUnicode::Tables \- Character tables for LaTeX::ToUnicode -.SH "VERSION" -.IX Header "VERSION" -version 0.05 -.SH "CONSTANTS" -.IX Header "CONSTANTS" -.ie n .SS "%COMMANDS" -.el .SS "\f(CW%COMMANDS\fP" -.IX Subsection "%COMMANDS" -Names of argument-less commands like \f(CW\*(C`\eLaTeX\*(C'\fR as keys. -Values are the replacements. -.ie n .SS "@SPECIALS" -.el .SS "\f(CW@SPECIALS\fP" -.IX Subsection "@SPECIALS" -TeX's metacharacters that need to be escaped in TeX documents -.ie n .SS "%SYMBOLS" -.el .SS "\f(CW%SYMBOLS\fP" -.IX Subsection "%SYMBOLS" -Predefined escape commands for extended characters. -.ie n .SS "%ACCENTS" -.el .SS "\f(CW%ACCENTS\fP" -.IX Subsection "%ACCENTS" -Two-level hash of accented characters like \f(CW\*(C`\e\*(Aq{a}\*(C'\fR. The keys of this hash -are the accent symbols, e.g \f(CW\*(C`\`\*(C'\fR, \f(CW\*(C`"\*(C'\fR or \f(CW\*(C`\*(Aq\*(C'\fR. The corresponding values are -references to hashes, where the keys are the base letters and the values are -the decoded characters. As an example, \f(CW\*(C`$ACCENTS{\*(Aq\`\*(Aq}\->{a} eq \*(Aqa\*`\*(Aq\*(C'\fR. -.ie n .SS "%GERMAN" -.el .SS "\f(CW%GERMAN\fP" -.IX Subsection "%GERMAN" -Escape sequences as defined by the package `german'/`ngerman', e.g. -\&\f(CW\*(C`"a\*(C'\fR (a with umlaut), \f(CW\*(C`"s\*(C'\fR (german sharp s) or \f(CW"\`"\fR (german left quote). -Note the missing backslash. -.PP -The keys of this hash are the literal escape sequences. -.ie n .SS "@MARKUPS" -.el .SS "\f(CW@MARKUPS\fP" -.IX Subsection "@MARKUPS" -Command names of formatting commands like \f(CW\*(C`\ett\*(C'\fR -.SH "AUTHOR" -.IX Header "AUTHOR" -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\-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/Entry.pm b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm index 2b8fe76220a..7f5c721e345 100644 --- a/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm +++ b/Master/texmf-dist/scripts/bibtexperllibs/BibTeX/Parser/Entry.pm @@ -248,6 +248,7 @@ sub to_string { $type = ucfirst lc $type; } } + print STDERR $self->key, "\n"; $result .= '@'.$type."{".$self->key.",\n"; foreach my $field (@fields) { my $value = $self->field($field); diff --git a/Master/texmf-dist/scripts/bibtexperllibs/LaTeX/ToUnicode.pm b/Master/texmf-dist/scripts/bibtexperllibs/LaTeX/ToUnicode.pm index cf62cf5a29d..50ae29399a8 100644 --- a/Master/texmf-dist/scripts/bibtexperllibs/LaTeX/ToUnicode.pm +++ b/Master/texmf-dist/scripts/bibtexperllibs/LaTeX/ToUnicode.pm @@ -2,9 +2,9 @@ use strict; use warnings; package LaTeX::ToUnicode; BEGIN { - $LaTeX::ToUnicode::VERSION = '0.05'; + $LaTeX::ToUnicode::VERSION = '0.11'; } -#ABSTRACT: Convert LaTeX commands to Unicode +#ABSTRACT: Convert LaTeX commands to Unicode (simplistically) require Exporter; @@ -22,29 +22,12 @@ sub convert { $string = _convert_german( $string ) if $options{german}; $string = _convert_symbols( $string ); $string = _convert_specials( $string ); + $string = _convert_ligatures( $string ); $string = _convert_markups( $string ); $string =~ s/{(\w*)}/$1/g; $string; } -sub _convert_accents { - my $string = shift; - $string =~ s/(\{\\(.)\{(\\?\w{1,2})\}\})/$LaTeX::ToUnicode::Tables::ACCENTS{$2}{$3} || $1/eg; # {\"{a}} - $string =~ s/(\{\\(.)(\\?\w{1,2})\})/$LaTeX::ToUnicode::Tables::ACCENTS{$2}{$3} || $1/eg; # {\"a} - $string =~ s/(\\(.)(\\?\w{1,2}))/$LaTeX::ToUnicode::Tables::ACCENTS{$2}{$3} || $1/eg; # \"a - $string =~ s/(\\(.)\{(\\?\w{1,2})\})/$LaTeX::ToUnicode::Tables::ACCENTS{$2}{$3} || $1/eg; # \"{a} - $string; -} - -sub _convert_specials { - my $string = shift; - my $specials = join( '|', @LaTeX::ToUnicode::Tables::SPECIALS ); - my $pattern = qr/\\($specials)/o; - $string =~ s/$pattern/$1/g; - $string =~ s/\\\$/\$/g; - $string; -} - sub _convert_commands { my $string = shift; @@ -56,6 +39,15 @@ sub _convert_commands { $string; } +sub _convert_accents { + my $string = shift; + $string =~ s/(\{\\(.)\{(\\?\w{1,2})\}\})/$LaTeX::ToUnicode::Tables::ACCENTS{$2}{$3} || $1/eg; # {\"{a}} + $string =~ s/(\{\\(.)(\\?\w{1,2})\})/$LaTeX::ToUnicode::Tables::ACCENTS{$2}{$3} || $1/eg; # {\"a} + $string =~ s/(\\(.)(\\?\w{1,2}))/$LaTeX::ToUnicode::Tables::ACCENTS{$2}{$3} || $1/eg; # \"a + $string =~ s/(\\(.)\{(\\?\w{1,2})\})/$LaTeX::ToUnicode::Tables::ACCENTS{$2}{$3} || $1/eg; # \"{a} + $string; +} + sub _convert_german { my $string = shift; @@ -75,18 +67,55 @@ sub _convert_symbols { $string; } -sub _convert_markups { +# Replace \<specialchar> with <specialchar>. +sub _convert_specials { + my $string = shift; + my $specials = join( '|', @LaTeX::ToUnicode::Tables::SPECIALS ); + my $pattern = qr/\\($specials)/o; + $string =~ s/$pattern/$1/g; + $string =~ s/\\\$/\$/g; + $string; +} + +sub _convert_ligatures { my $string = shift; + # have to convert these in order specified. + my @ligs = @LaTeX::ToUnicode::Tables::LIGATURES; + for (my $i = 0; $i < @ligs; $i+=2) { + my $in = $ligs[$i]; + my $out = $ligs[$i+1]; + $string =~ s/\Q$in\E/$out/g; + } + $string; +} + +# +sub _convert_markups { + my $string = shift; + my $orig_string = $string; + my $markups = join( '|', @LaTeX::ToUnicode::Tables::MARKUPS ); - $string =~ s/(\{[^{}]+)\\(?:$markups)\s+([^{}]+\})/$1$2/g; # { ... \command ... } - my $pattern = qr/\{\\(?:$markups)\s+([^{}]*)\}/o; - $string =~ s/$pattern/$1/g; + + # Remove \textMARKUP{...}, leaving just the {...} + $string =~ s/\\text($markups)\b\s*//g; + + # Remove braces and \command in: {... \command ...} + $string =~ s/(\{[^{}]+)\\(?:$markups)\s+([^{}]+\})/$1$2/g; + # + # Remove braces and \command in: {\command ...} + $string =~ s/\{\\(?:$markups)\s+([^{}]*)\}/$1/g; + # + # Remove: {\command + # Although this will leave unmatched } chars behind, there's no + # alternative without full parsing, since the bib entry will often + # look like: {\em {The TeX{}book}}. Also might, in principle, be + # at the end of a line. + $string =~ s/\{\\(?:$markups)\b\s*//g; + + # Ultimately we remove all braces in ltx2crossrefxml SanitizeText fns, + # so the unmatched braces don't matter ... that code should be moved here. - $string =~ s/``/“/g; - $string =~ s/`/”/g; - $string =~ s/''/‘/g; - $string =~ s/'/’/g; $string; } @@ -103,7 +132,7 @@ LaTeX::ToUnicode - Convert LaTeX commands to Unicode =head1 VERSION -version 0.05 +version 0.11 =head1 SYNOPSIS @@ -111,49 +140,60 @@ version 0.05 convert( '{\"a}' ) eq 'ä'; # true convert( '"a', german => 1 ) eq 'ä'; # true, `german' package syntax - convert( '"a', ) eq '"a'; # not enabled by default + convert( '"a', ) eq '"a'; # not enabled by default + + # more generally: + my $latexstr; + my $unistr = convert($latexstr); =head1 DESCRIPTION This module provides a method to convert LaTeX-style markups for accents etc. into their Unicode equivalents. It translates commands for special characters or accents into their Unicode equivalents and removes formatting commands. +It is not at all bulletproof or complete. -I use this module to convert values from BibTeX files into plain text, if your +This module converts values from BibTeX files into plain text. If your use case is different, YMMV. -In contrast to L<TeX::Encode>, this module does not create HTML of any kind. +In contrast to L<TeX::Encode>, this module does not create HTML of any +kind, including for HTML/XML metacharacters such as E<lt>, E<gt>, C<&>, +which can appear literally in the output. Entities are other handling +for these has to happen at another level, if need be. =head1 FUNCTIONS -=head2 convert( $string, %options ) +=head2 convert( $latex_string, %options ) -Convert the text in C<$string> that contains LaTeX into a plain(er) Unicode -string. All escape sequences for special characters (e.g. \i, \"a, ...) are -converted, formatting commands (e.g. {\it ...}) are removed. +Convert the text in C<$string> that contains LaTeX into a plain(er) +Unicode string. All escape sequences for accented and special characters +(e.g., \i, \"a, ...) are converted. Basic formatting commands (e.g. {\it +...}) are removed. -C<%options> allows you to enable additional translations. This values are +C<%options> allows you to enable additional translations. These keys are recognized: =over =item C<german> -If true, the commands introduced by the package `german' (e.g. C<"a> eq C<ä>, -note the missing backslash) are also handled. +If this option is set, the commands introduced by the package `german' +(e.g. C<"a> eq C<ä>, note the missing backslash) are also +handled. =back =head1 AUTHOR -Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com> +Gerhard Gossen <gerhard.gossen@googlemail.com> and +Boris Veytsman <boris@varphi.com> +L<https://github.com/borisveytsman/bibtexperllibs> =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2010-2015 by Gerhard Gossen and Boris Veytsman +This software is copyright (c) 2010-2020 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. =cut - diff --git a/Master/texmf-dist/scripts/bibtexperllibs/LaTeX/ToUnicode/Tables.pm b/Master/texmf-dist/scripts/bibtexperllibs/LaTeX/ToUnicode/Tables.pm index 446c46e2158..a9aef548344 100644 --- a/Master/texmf-dist/scripts/bibtexperllibs/LaTeX/ToUnicode/Tables.pm +++ b/Master/texmf-dist/scripts/bibtexperllibs/LaTeX/ToUnicode/Tables.pm @@ -1,6 +1,6 @@ package LaTeX::ToUnicode::Tables; BEGIN { - $LaTeX::ToUnicode::Tables::VERSION = '0.05'; + $LaTeX::ToUnicode::Tables::VERSION = '0.11'; } use strict; use warnings; @@ -9,442 +9,477 @@ use warnings; use utf8; -our %COMMANDS = ( - 'LaTeX' => 'LaTeX', - 'TeX' => 'TEX', - '-' => '', # hypenation - '/' => '', # italic correction - 'log' => 'log', +# Technically not all of these are ligatures, but close enough. +# Order is important, so has to be a list, not a hash. +our @LIGATURES = ( + "---" => "\x{2014}", # em dash + "--" => "\x{2013}", # en dash + "!`" => "\x{00A1}", # inverted exclam + "?`" => "\x{00A1}", # inverted question + "``" => "\x{201c}", # left double + "''" => "\x{201d}", # right double + "`" => "\x{2018}", # left single + "'" => "\x{2019}", # right single ); +# test text: em---dash, en---dash, exc!`am, quest?`ion, ``ld, rd'', `ls, rs'. + +# additions supported in T1 encoding, but we won't (from tex-text.map): +# U+002C U+002C <> U+201E ; ,, -> DOUBLE LOW-9 QUOTATION MARK +# U+003C U+003C <> U+00AB ; << -> LEFT POINTING GUILLEMET +# U+003E U+003E <> U+00BB ; >> -> RIGHT POINTING GUILLEMET our @SPECIALS = ( qw( $ % & _ { } ), '#' ); +our %COMMANDS = ( + 'LaTeX' => 'LaTeX', + 'TeX' => 'TeX', + ' ' => ' ', # control space + '-' => '', # hyphenation + '/' => '', # italic correction + 'dag' => "\x{2020}", + 'ddag' => "\x{2021}", + 'bullet' => "\x{2022}", + 'dots' => "\x{2026}", + 'ldots' => "\x{2026}", + 'epsilon' => "\x{03F5}", + 'varepsilon' => "\x{03B5}", + 'Omega' => "\x{03A9}", + 'omega' => "\x{03C9}", + 'hookrightarrow' => "\x{2194}", + 'log' => 'log', +); + -our %SYMBOLS = ( # Table 3.2 in Lamport - 'aa' => 'å', - 'AA' => 'Å', - 'ae' => 'æ', - 'AE' => 'Æ', - 'dh' => 'ð', - 'DH' => 'Ð', - 'dj' => 'đ', - 'DJ' => 'Ð', - 'i' => chr(0x131), # small dotless i - 'l' => 'ł', - 'L' => 'Ł', - 'ng' => 'ŋ', - 'NG' => 'Ŋ', - 'oe' => 'œ', - 'OE' => 'Œ', - 'o' => 'ø', - 'O' => 'Ø', - 'ss' => 'ß', - 'SS' => 'SS', - 'th' => 'þ', - 'TH' => 'Þ', - 'TM' => chr(0x2122), +our %SYMBOLS = ( # Table 3.2 in Lamport, plus more + 'AA' => "\x{00C5}", # A with ring + 'aa' => "\x{00E5}", + 'AE' => "\x{00C6}", # AE + 'ae' => "\x{00E6}", + 'DH' => "\x{00D0}", # ETH + 'dh' => "\x{00F0}", + 'DJ' => "\x{0110}", # D with stroke + 'dj' => "\x{0111}", + 'i' => "\x{0131}", # small dotless i + 'L' => "\x{0141}", # L with stroke + 'l' => "\x{0142}", + 'NG' => "\x{014A}", # ENG + 'ng' => "\x{014B}", + 'OE' => "\x{0152}", # OE + 'oe' => "\x{0153}", + 'O' => "\x{00D8}", # O with stroke + 'o' => "\x{00F8}", + 'SS' => 'SS', # lately also U+1E9E, but SS seems good enough + 'ss' => "\x{00DF}", + 'TH' => "\x{00DE}", # THORN + 'th' => "\x{00FE}", + 'TM' => "\x{2122}", # trade mark sign ); our %ACCENTS = ( - "\"" => { - A => "\304", - E => "\313", - H => "\x{1e26}", - I => "\317", - O => "\326", - U => "\334", - W => "\x{1e84}", - X => "\x{1e8c}", - Y => "\x{178}", - "\\I" => "\317", - "\\i" => "\357", - a => "\344", - e => "\353", - h => "\x{1e27}", - i => "\357", - o => "\366", - t => "\x{1e97}", - u => "\374", - w => "\x{1e85}", - x => "\x{1e8d}", - y => "\377" + "\"" => { # with diaresis + A => "\x{00C4}", + E => "\x{00CB}", + H => "\x{1E26}", + I => "\x{00CF}", + O => "\x{00D6}", + U => "\x{00DC}", + W => "\x{1E84}", + X => "\x{1E8c}", + Y => "\x{0178}", + "\\I" => "\x{00CF}", + "\\i" => "\x{00EF}", + a => "\x{00E4}", + e => "\x{00EB}", + h => "\x{1E27}", + i => "\x{00EF}", + o => "\x{00F6}", + t => "\x{1E97}", + u => "\x{00FC}", + w => "\x{1E85}", + x => "\x{1E8d}", + y => "\x{00FF}", }, - "'" => { - A => "\301", - AE => "\x{1fc}", - C => "\x{106}", - E => "\311", - G => "\x{1f4}", - I => "\315", - K => "\x{1e30}", - L => "\x{139}", - M => "\x{1e3e}", - N => "\x{143}", - O => "\323", - P => "\x{1e54}", - R => "\x{154}", - S => "\x{15a}", - U => "\332", - W => "\x{1e82}", - Y => "\335", - Z => "\x{179}", - "\\I" => "\315", - "\\i" => "\355", - a => "\341", - ae => "\x{1fd}", - c => "\x{107}", - e => "\351", - g => "\x{1f5}", - i => "\355", - k => "\x{1e31}", - l => "\x{13a}", - m => "\x{1e3f}", - n => "\x{144}", - o => "\363", - p => "\x{1e55}", - r => "\x{155}", - s => "\x{15b}", - u => "\372", - w => "\x{1e83}", - y => "\375", - z => "\x{17a}" + "'" => { # with acute + A => "\x{00C1}", + AE => "\x{01FC}", + C => "\x{0106}", + E => "\x{00C9}", + G => "\x{01F4}", + I => "\x{00CD}", + K => "\x{1E30}", + L => "\x{0139}", + M => "\x{1E3E}", + N => "\x{0143}", + O => "\x{00D3}", + P => "\x{1E54}", + R => "\x{0154}", + S => "\x{015A}", + U => "\x{00DA}", + W => "\x{1E82}", + Y => "\x{00DD}", + Z => "\x{0179}", + "\\I" => "\x{00CD}", + "\\i" => "\x{00ED}", + a => "\x{00E1}", + ae => "\x{01FD}", + c => "\x{0107}", + e => "\x{00E9}", + g => "\x{01F5}", + i => "\x{00ED}", + k => "\x{1E31}", + l => "\x{013A}", + m => "\x{1E3f}", + n => "\x{0144}", + o => "\x{00F3}", + p => "\x{1E55}", + r => "\x{0155}", + s => "\x{015B}", + u => "\x{00FA}", + w => "\x{1E83}", + y => "\x{00FD}", + z => "\x{017A}", }, - "." => { - A => "\x{226}", - B => "\x{1e02}", - C => "\x{10a}", - D => "\x{1e0a}", - E => "\x{116}", - F => "\x{1e1e}", - G => "\x{120}", - H => "\x{1e22}", - I => "\x{130}", - M => "\x{1e40}", - N => "\x{1e44}", - O => "\x{22e}", - P => "\x{1e56}", - R => "\x{1e58}", - S => "\x{1e60}", - T => "\x{1e6a}", - W => "\x{1e86}", - X => "\x{1e8a}", - Y => "\x{1e8e}", - Z => "\x{17b}", - "\\I" => "\x{130}", - a => "\x{227}", - b => "\x{1e03}", - c => "\x{10b}", - d => "\x{1e0b}", - e => "\x{117}", + "." => { # with dot above + A => "\x{0226}", + B => "\x{1E02}", + C => "\x{010A}", + D => "\x{1E0A}", + E => "\x{0116}", + F => "\x{1E1E}", + G => "\x{0120}", + H => "\x{1E22}", + I => "\x{0130}", + M => "\x{1E40}", + N => "\x{1E44}", + O => "\x{022E}", + P => "\x{1E56}", + R => "\x{1E58}", + S => "\x{1E60}", + T => "\x{1E6a}", + W => "\x{1E86}", + X => "\x{1E8A}", + Y => "\x{1E8E}", + Z => "\x{017B}", + "\\I" => "\x{0130}", + a => "\x{0227}", + b => "\x{1E03}", + c => "\x{010B}", + d => "\x{1E0B}", + e => "\x{0117}", f => "\x{1e1f}", - g => "\x{121}", - h => "\x{1e23}", - m => "\x{1e41}", - n => "\x{1e45}", - o => "\x{22f}", - p => "\x{1e57}", - r => "\x{1e59}", - s => "\x{1e61}", - t => "\x{1e6b}", - w => "\x{1e87}", - x => "\x{1e8b}", - y => "\x{1e8f}", - z => "\x{17c}" + g => "\x{0121}", + h => "\x{1E23}", + m => "\x{1E41}", + n => "\x{1E45}", + o => "\x{022F}", + p => "\x{1E57}", + r => "\x{1E59}", + s => "\x{1E61}", + t => "\x{1E6b}", + w => "\x{1E87}", + x => "\x{1E8b}", + y => "\x{1E8f}", + z => "\x{017C}", + }, + '=' => { # with macron + A => "\x{0100}", + AE => "\x{01E2}", + E => "\x{0112}", + G => "\x{1E20}", + I => "\x{012A}", + O => "\x{014C}", + U => "\x{016A}", + Y => "\x{0232}", + "\\I" => "\x{012A}", + "\\i" => "\x{012B}", + a => "\x{0101}", + ae => "\x{01E3}", + e => "\x{0113}", + g => "\x{1E21}", + i => "\x{012B}", + o => "\x{014D}", + u => "\x{016B}", + y => "\x{0233}", }, - '=' => { - A => "\x{100}", - AE => "\x{1e2}", - E => "\x{112}", - G => "\x{1e20}", - I => "\x{12a}", - O => "\x{14c}", - U => "\x{16a}", - Y => "\x{232}", - "\\I" => "\x{12a}", - "\\i" => "\x{12b}", - a => "\x{101}", - ae => "\x{1e3}", - e => "\x{113}", - g => "\x{1e21}", - i => "\x{12b}", - o => "\x{14d}", - u => "\x{16b}", - y => "\x{233}" + "H" => { # with double acute + O => "\x{0150}", + U => "\x{0170}", + o => "\x{0151}", + u => "\x{0171}", }, - H => { - O => "\x{150}", - U => "\x{170}", - o => "\x{151}", - u => "\x{171}" + "^" => { # with circumflex + A => "\x{00C2}", + C => "\x{0108}", + E => "\x{00CA}", + G => "\x{011C}", + H => "\x{0124}", + I => "\x{00CE}", + J => "\x{0134}", + O => "\x{00D4}", + S => "\x{015C}", + U => "\x{00DB}", + W => "\x{0174}", + Y => "\x{0176}", + Z => "\x{1E90}", + "\\I" => "\x{00CE}", + "\\J" => "\x{0134}", + "\\i" => "\x{00EE}", + "\\j" => "\x{0135}", + a => "\x{00E2}", + c => "\x{0109}", + e => "\x{00EA}", + g => "\x{011D}", + h => "\x{0125}", + i => "\x{00EE}", + j => "\x{0135}", + o => "\x{00F4}", + s => "\x{015D}", + u => "\x{00FB}", + w => "\x{0175}", + y => "\x{0177}", + z => "\x{1E91}", }, - "^" => { - A => "\302", - C => "\x{108}", - E => "\312", - G => "\x{11c}", - H => "\x{124}", - I => "\316", - J => "\x{134}", - O => "\324", - S => "\x{15c}", - U => "\333", - W => "\x{174}", - Y => "\x{176}", - Z => "\x{1e90}", - "\\I" => "\316", - "\\i" => "\356", - a => "\342", - c => "\x{109}", - e => "\352", - g => "\x{11d}", - h => "\x{125}", - i => "\356", - j => "\x{135}", - o => "\364", - s => "\x{15d}", - u => "\373", - w => "\x{175}", - y => "\x{177}", - z => "\x{1e91}" + "`" => { # with grave + A => "\x{00C0}", + E => "\x{00C8}", + I => "\x{00CC}", + N => "\x{01F8}", + O => "\x{00D2}", + U => "\x{00D9}", + W => "\x{1E80}", + Y => "\x{1Ef2}", + "\\I" => "\x{00CC}", + "\\i" => "\x{00EC}", + a => "\x{00E0}", + e => "\x{00E8}", + i => "\x{00EC}", + n => "\x{01F9}", + o => "\x{00F2}", + u => "\x{00F9}", + w => "\x{1E81}", + y => "\x{1EF3}", }, - "`" => { - A => "\300", - E => "\310", - I => "\314", - N => "\x{1f8}", - O => "\322", - U => "\331", - W => "\x{1e80}", - Y => "\x{1ef2}", - "\\I" => "\314", - "\\i" => "\354", - a => "\340", - e => "\350", - i => "\354", - n => "\x{1f9}", - o => "\362", - u => "\371", - w => "\x{1e81}", - y => "\x{1ef3}" + "c" => { # with cedilla + C => "\x{00C7}", + D => "\x{1E10}", + E => "\x{0228}", + G => "\x{0122}", + H => "\x{1E28}", + K => "\x{0136}", + L => "\x{013B}", + N => "\x{0145}", + R => "\x{0156}", + S => "\x{015E}", + T => "\x{0162}", + c => "\x{00E7}", + d => "\x{1E11}", + e => "\x{0229}", + g => "\x{0123}", + h => "\x{1E29}", + k => "\x{0137}", + l => "\x{013C}", + n => "\x{0146}", + r => "\x{0157}", + s => "\x{015F}", + t => "\x{0163}", }, - c => { - C => "\307", - D => "\x{1e10}", - E => "\x{228}", - G => "\x{122}", - H => "\x{1e28}", - K => "\x{136}", - L => "\x{13b}", - N => "\x{145}", - R => "\x{156}", - S => "\x{15e}", - T => "\x{162}", - c => "\347", - d => "\x{1e11}", - e => "\x{229}", - g => "\x{123}", - h => "\x{1e29}", - k => "\x{137}", - l => "\x{13c}", - n => "\x{146}", - r => "\x{157}", - s => "\x{15f}", - t => "\x{163}" + "d" => { # with dot below + A => "\x{1EA0}", + B => "\x{1E04}", + D => "\x{1E0C}", + E => "\x{1EB8}", + H => "\x{1E24}", + I => "\x{1ECA}", + K => "\x{1E32}", + L => "\x{1E36}", + M => "\x{1E42}", + N => "\x{1E46}", + O => "\x{1ECC}", + R => "\x{1E5A}", + S => "\x{1E62}", + T => "\x{1E6C}", + U => "\x{1EE4}", + V => "\x{1E7E}", + W => "\x{1E88}", + Y => "\x{1Ef4}", + Z => "\x{1E92}", + "\\I" => "\x{1ECA}", + "\\i" => "\x{1ECB}", + a => "\x{1EA1}", + b => "\x{1E05}", + d => "\x{1E0D}", + e => "\x{1EB9}", + h => "\x{1E25}", + i => "\x{1ECB}", + k => "\x{1E33}", + l => "\x{1E37}", + m => "\x{1E43}", + n => "\x{1E47}", + o => "\x{1ECD}", + r => "\x{1E5b}", + s => "\x{1E63}", + t => "\x{1E6D}", + u => "\x{1EE5}", + v => "\x{1E7F}", + w => "\x{1E89}", + y => "\x{1EF5}", + z => "\x{1E93}", }, - d => { - A => "\x{1ea0}", - B => "\x{1e04}", - D => "\x{1e0c}", - E => "\x{1eb8}", - H => "\x{1e24}", - I => "\x{1eca}", - K => "\x{1e32}", - L => "\x{1e36}", - M => "\x{1e42}", - N => "\x{1e46}", - O => "\x{1ecc}", - R => "\x{1e5a}", - S => "\x{1e62}", - T => "\x{1e6c}", - U => "\x{1ee4}", - V => "\x{1e7e}", - W => "\x{1e88}", - Y => "\x{1ef4}", - Z => "\x{1e92}", - "\\I" => "\x{1eca}", - "\\i" => "\x{1ecb}", - a => "\x{1ea1}", - b => "\x{1e05}", - d => "\x{1e0d}", - e => "\x{1eb9}", - h => "\x{1e25}", - i => "\x{1ecb}", - k => "\x{1e33}", - l => "\x{1e37}", - m => "\x{1e43}", - n => "\x{1e47}", - o => "\x{1ecd}", - r => "\x{1e5b}", - s => "\x{1e63}", - t => "\x{1e6d}", - u => "\x{1ee5}", - v => "\x{1e7f}", - w => "\x{1e89}", - y => "\x{1ef5}", - z => "\x{1e93}" + "h" => { # with hook above + A => "\x{1EA2}", + E => "\x{1EBA}", + I => "\x{1EC8}", + O => "\x{1ECe}", + U => "\x{1EE6}", + Y => "\x{1EF6}", + "\\I" => "\x{1EC8}", + "\\i" => "\x{1EC9}", + a => "\x{1EA3}", + e => "\x{1EBB}", + i => "\x{1EC9}", + o => "\x{1ECF}", + u => "\x{1EE7}", + y => "\x{1EF7}", }, - h => { - A => "\x{1ea2}", - E => "\x{1eba}", - I => "\x{1ec8}", - O => "\x{1ece}", - U => "\x{1ee6}", - Y => "\x{1ef6}", - "\\I" => "\x{1ec8}", - "\\i" => "\x{1ec9}", - a => "\x{1ea3}", - e => "\x{1ebb}", - i => "\x{1ec9}", - o => "\x{1ecf}", - u => "\x{1ee7}", - y => "\x{1ef7}" + "k" => { # with ogonek + A => "\x{0104}", + E => "\x{0118}", + I => "\x{012E}", + O => "\x{01EA}", + U => "\x{0172}", + "\\I" => "\x{012E}", + "\\i" => "\x{012F}", + a => "\x{0105}", + e => "\x{0119}", + i => "\x{012F}", + o => "\x{01EB}", + u => "\x{0173}", }, - k => { - A => "\x{104}", - E => "\x{118}", - I => "\x{12e}", - O => "\x{1ea}", - U => "\x{172}", - "\\I" => "\x{12e}", - "\\i" => "\x{12f}", - a => "\x{105}", - e => "\x{119}", - i => "\x{12f}", - o => "\x{1eb}", - u => "\x{173}" + "r" => { # with ring above + A => "\x{00C5}", + U => "\x{016E}", + a => "\x{00E5}", + u => "\x{016F}", + w => "\x{1E98}", + y => "\x{1E99}", }, - r => { - A => "\305", - U => "\x{16e}", - a => "\345", - u => "\x{16f}", - w => "\x{1e98}", - y => "\x{1e99}" + "u" => { # with breve + A => "\x{0102}", + E => "\x{0114}", + G => "\x{011E}", + I => "\x{012C}", + O => "\x{014E}", + U => "\x{016C}", + "\\I" => "\x{012C}", + "\\i" => "\x{012D}", + a => "\x{0103}", + e => "\x{0115}", + g => "\x{011F}", + i => "\x{012D}", + o => "\x{014F}", + u => "\x{016D}", }, - u => { - A => "\x{102}", - E => "\x{114}", - G => "\x{11e}", - I => "\x{12c}", - O => "\x{14e}", - U => "\x{16c}", - "\\I" => "\x{12c}", - "\\i" => "\x{12d}", - a => "\x{103}", - e => "\x{115}", - g => "\x{11f}", - i => "\x{12d}", - o => "\x{14f}", - u => "\x{16d}" + "v" => { # with caron + A => "\x{01CD}", + C => "\x{010C}", + D => "\x{010E}", + DZ => "\x{01C4}", + E => "\x{011A}", + G => "\x{01E6}", + H => "\x{021E}", + I => "\x{01CF}", + K => "\x{01E8}", + L => "\x{013D}", + N => "\x{0147}", + O => "\x{01D1}", + R => "\x{0158}", + S => "\x{0160}", + T => "\x{0164}", + U => "\x{01D3}", + Z => "\x{017D}", + "\\I" => "\x{01CF}", + "\\i" => "\x{01D0}", + "\\j" => "\x{01F0}", + a => "\x{01CE}", + c => "\x{010D}", + d => "\x{010F}", + dz => "\x{01C6}", + e => "\x{011B}", + g => "\x{01E7}", + h => "\x{021F}", + i => "\x{01D0}", + j => "\x{01F0}", + k => "\x{01E9}", + l => "\x{013E}", + n => "\x{0148}", + o => "\x{01D2}", + r => "\x{0159}", + s => "\x{0161}", + t => "\x{0165}", + u => "\x{01D4}", + z => "\x{017E}", }, - v => { - A => "\x{1cd}", - C => "\x{10c}", - D => "\x{10e}", - DZ => "\x{1c4}", - E => "\x{11a}", - G => "\x{1e6}", - H => "\x{21e}", - I => "\x{1cf}", - K => "\x{1e8}", - L => "\x{13d}", - N => "\x{147}", - O => "\x{1d1}", - R => "\x{158}", - S => "\x{160}", - T => "\x{164}", - U => "\x{1d3}", - Z => "\x{17d}", - "\\I" => "\x{1cf}", - "\\i" => "\x{1d0}", - a => "\x{1ce}", - c => "\x{10d}", - d => "\x{10f}", - dz => "\x{1c6}", - e => "\x{11b}", - g => "\x{1e7}", - h => "\x{21f}", - i => "\x{1d0}", - j => "\x{1f0}", - k => "\x{1e9}", - l => "\x{13e}", - n => "\x{148}", - o => "\x{1d2}", - r => "\x{159}", - s => "\x{161}", - t => "\x{165}", - u => "\x{1d4}", - z => "\x{17e}" + "~" => { # with tilde + A => "\x{00C3}", + E => "\x{1EBC}", + I => "\x{0128}", + N => "\x{00D1}", + O => "\x{00D5}", + U => "\x{0168}", + V => "\x{1E7C}", + Y => "\x{1EF8}", + "\\I" => "\x{0128}", + "\\i" => "\x{0129}", + a => "\x{00E3}", + e => "\x{1EBD}", + i => "\x{0129}", + n => "\x{00F1}", + o => "\x{00F5}", + u => "\x{0169}", + v => "\x{1E7D}", + y => "\x{1EF9}", }, - "~" => { - A => "\303", - E => "\x{1ebc}", - I => "\x{128}", - N => "\321", - O => "\325", - U => "\x{168}", - V => "\x{1e7c}", - Y => "\x{1ef8}", - "\\I" => "\x{128}", - "\\i" => "\x{129}", - a => "\343", - e => "\x{1ebd}", - i => "\x{129}", - n => "\361", - o => "\365", - u => "\x{169}", - v => "\x{1e7d}", - y => "\x{1ef9}" - } ); our %GERMAN = ( # for package `german'/`ngerman' - '"a' => 'ä', - '"A' => 'Ä', - '"e' => 'ë', - '"E' => 'Ë', - '"i' => 'ï', - '"I' => 'Ï', - '"o' => 'ö', - '"O' => 'Ö', - '"u' => 'ü', - '"U' => 'Ü', - '"s' => 'ß', - '"S' => 'SS', - '"z' => 'ß', - '"Z' => 'SZ', - '"ck' => 'ck', # old spelling: ck -> k-k - '"ff' => 'ff', # old spelling: ff -> ff-f - '"`' => '„', - "\"'" => '“', - '"<' => '«', - '">' => '»', - '"-' => "\x{AD}", # soft hyphen - '""' => "\x{200B}", # zero width space - '"~' => "\x{2011}", # non-breaking hyphen - '"=' => '-', - '\glq' => '‚', # left german single quote - '\grq' => '‘', # right german single quote - '\flqq' => '«', - '\frqq' => '»', - '\dq' => '"', + '"a' => 'ä', + '"A' => 'Ä', + '"e' => 'ë', + '"E' => 'Ë', + '"i' => 'ï', + '"I' => 'Ï', + '"o' => 'ö', + '"O' => 'Ö', + '"u' => 'ü', + '"U' => 'Ü', + '"s' => 'ß', + '"S' => 'SS', + '"z' => 'ß', + '"Z' => 'SZ', + '"ck' => 'ck', # old spelling: ck -> k-k + '"ff' => 'ff', # old spelling: ff -> ff-f + '"`' => '„', + "\"'" => '“', + '"<' => '«', + '">' => '»', + '"-' => "\x{AD}", # soft hyphen + '""' => "\x{200B}", # zero width space + '"~' => "\x{2011}", # non-breaking hyphen + '"=' => '-', + '\glq' => '‚', # left german single quote + '\grq' => '‘', # right german single quote + '\flqq' => '«', + '\frqq' => '»', + '\dq' => '"', ); -our @MARKUPS = ( qw( em tt small sl bf sc rm it cal ) ); +# for {\MARKUP ...} and \textMARKUP{...} +our @MARKUPS = ( qw( bf cal em it rm sc sl small tt ) ); + 1; @@ -459,18 +494,27 @@ LaTeX::ToUnicode::Tables - Character tables for LaTeX::ToUnicode =head1 VERSION -version 0.05 +version 0.11 =head1 CONSTANTS -=head2 %COMMANDS +=head2 @LIGATURES -Names of argument-less commands like C<\LaTeX> as keys. -Values are the replacements. +Standard TeX character sequences (not \commands) which need to be +replaced: C<---> with U+2014 (em dash), etc. Includes: em dash, en +dash, inverted exclamation, inverted question, left double quote, right +double quote, left single quote, right single quote. =head2 @SPECIALS -TeX's metacharacters that need to be escaped in TeX documents +Most of TeX's metacharacters, i.e., those for which C<\I<char>> typesets +I<char>: C<$ % & _ { } #>. TeX has other special characters which are not +included here, for instance: C<\ ^ ~>. + +=head2 %COMMANDS + +Names of argument-less commands like C<\LaTeX> as keys. +Values are the replacements. =head2 %SYMBOLS @@ -485,19 +529,22 @@ the decoded characters. As an example, C<< $ACCENTS{'`'}->{a} eq 'à' >>. =head2 %GERMAN -Escape sequences as defined by the package `german'/`ngerman', e.g. -C<"a> (a with umlaut), C<"s> (german sharp s) or C<"`"> (german left quote). -Note the missing backslash. +Character sequences (not necessarily commands) as defined by the package +`german'/`ngerman', e.g. C<"a> (a with umlaut), C<"s> (german sharp s) +or C<"`"> (german left quote). Note the missing backslash. -The keys of this hash are the literal escape sequences. +The keys of this hash are the literal character sequences. =head2 @MARKUPS -Command names of formatting commands like C<\tt> +Command names of formatting commands like C<\tt>, namely: +C<bf cal em it rm sc sl small tt>. =head1 AUTHOR -Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com> +Gerhard Gossen <gerhard.gossen@googlemail.com> and +Boris Veytsman <boris@varphi.com> +L<https://github.com/borisveytsman/bibtexperllibs> =head1 COPYRIGHT AND LICENSE @@ -507,4 +554,3 @@ This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. =cut - diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/MYMETA.json b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/MYMETA.json new file mode 100644 index 00000000000..8034a7d5578 --- /dev/null +++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/MYMETA.json @@ -0,0 +1,43 @@ +{ + "abstract" : "A pure perl BibTeX parser", + "author" : [ + "Gerhard Gossen <gerhard.gossen@googlemail.com>", + "Boris Veytsman <borisv@lk.net>" + ], + "dynamic_config" : 0, + "generated_by" : "Dist::Zilla version 4.300037, CPAN::Meta::Converter version 2.120921, CPAN::Meta::Converter version 2.133380", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "BibTeX-Parser", + "prereqs" : { + "build" : { + "requires" : {} + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : "6.30" + } + }, + "runtime" : { + "requires" : { + "File::Spec" : "0", + "IO::File" : "0", + "IO::String" : "0", + "LaTeX::ToUnicode" : "0.02", + "Test::More" : "0" + } + }, + "test" : { + "requires" : { + "Test::More" : "0.88" + } + } + }, + "release_status" : "stable", + "version" : "1.02" +} diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/MYMETA.yml b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/MYMETA.yml new file mode 100644 index 00000000000..d74d83d0264 --- /dev/null +++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/MYMETA.yml @@ -0,0 +1,23 @@ +--- +abstract: 'A pure perl BibTeX parser' +author: + - 'Gerhard Gossen <gerhard.gossen@googlemail.com>' + - 'Boris Veytsman <borisv@lk.net>' +build_requires: + Test::More: 0.88 +configure_requires: + ExtUtils::MakeMaker: 6.30 +dynamic_config: 0 +generated_by: 'Dist::Zilla version 4.300037, CPAN::Meta::Converter version 2.120921, CPAN::Meta::Converter version 2.133380' +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: BibTeX-Parser +requires: + File::Spec: 0 + IO::File: 0 + IO::String: 0 + LaTeX::ToUnicode: 0.02 + Test::More: 0 +version: 1.02 diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile new file mode 100644 index 00000000000..16039375553 --- /dev/null +++ b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile @@ -0,0 +1,892 @@ +# This Makefile is for the BibTeX::Parser extension to perl. +# +# It was generated automatically by MakeMaker version +# 6.66 (Revision: 66600) from the contents of +# Makefile.PL. Don't edit this file, edit Makefile.PL instead. +# +# ANY CHANGES MADE HERE WILL BE LOST! +# +# MakeMaker ARGV: () +# + +# MakeMaker Parameters: + +# ABSTRACT => q[A pure perl BibTeX parser] +# AUTHOR => [q[Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>]] +# BUILD_REQUIRES => { } +# CONFIGURE_REQUIRES => { ExtUtils::MakeMaker=>q[6.30] } +# DISTNAME => q[BibTeX-Parser] +# EXE_FILES => [] +# LICENSE => q[perl] +# NAME => q[BibTeX::Parser] +# PREREQ_PM => { IO::File=>q[0], Test::More=>q[0.88], IO::String=>q[0], LaTeX::ToUnicode=>q[0.02], File::Spec=>q[0] } +# TEST_REQUIRES => { Test::More=>q[0.88] } +# VERSION => q[1.02] +# test => { TESTS=>q[t/*.t] } + +# --- MakeMaker post_initialize section: + + +# --- MakeMaker const_config section: + +# These definitions are from config.sh (via /System/Library/Perl/5.18/darwin-thread-multi-2level/Config.pm). +# They may have been overridden via Makefile.PL or on the command line. +AR = ar +CC = cc +CCCDLFLAGS = +CCDLFLAGS = +DLEXT = bundle +DLSRC = dl_dlopen.xs +EXE_EXT = +FULL_AR = /usr/bin/ar +LD = cc -mmacosx-version-min=10.12.6 +LDDLFLAGS = -arch x86_64 -arch i386 -bundle -undefined dynamic_lookup -fstack-protector +LDFLAGS = -arch x86_64 -arch i386 -fstack-protector +LIBC = +LIB_EXT = .a +OBJ_EXT = .o +OSNAME = darwin +OSVERS = 16.0 +RANLIB = /usr/bin/ar s +SITELIBEXP = /Library/Perl/5.18 +SITEARCHEXP = /Library/Perl/5.18/darwin-thread-multi-2level +SO = dylib +VENDORARCHEXP = /Network/Library/Perl/5.18/darwin-thread-multi-2level +VENDORLIBEXP = /Network/Library/Perl/5.18 + + +# --- MakeMaker constants section: +AR_STATIC_ARGS = cr +DIRFILESEP = / +DFSEP = $(DIRFILESEP) +NAME = BibTeX::Parser +NAME_SYM = BibTeX_Parser +VERSION = 1.02 +VERSION_MACRO = VERSION +VERSION_SYM = 1_02 +DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\" +XS_VERSION = 1.02 +XS_VERSION_MACRO = XS_VERSION +XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\" +INST_ARCHLIB = blib/arch +INST_SCRIPT = blib/script +INST_BIN = blib/bin +INST_LIB = blib/lib +INST_MAN1DIR = blib/man1 +INST_MAN3DIR = blib/man3 +MAN1EXT = 1 +MAN3EXT = 3pm +INSTALLDIRS = site +DESTDIR = +PREFIX = $(SITEPREFIX) +PERLPREFIX = / +SITEPREFIX = /usr/local +VENDORPREFIX = /usr/local +INSTALLPRIVLIB = /Library/Perl/Updates/5.18.2 +DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB) +INSTALLSITELIB = /Library/Perl/5.18 +DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB) +INSTALLVENDORLIB = /Network/Library/Perl/5.18 +DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB) +INSTALLARCHLIB = /Library/Perl/Updates/5.18.2/darwin-thread-multi-2level +DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB) +INSTALLSITEARCH = /Library/Perl/5.18/darwin-thread-multi-2level +DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH) +INSTALLVENDORARCH = /Network/Library/Perl/5.18/darwin-thread-multi-2level +DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH) +INSTALLBIN = /usr/bin +DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN) +INSTALLSITEBIN = /usr/local/bin +DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN) +INSTALLVENDORBIN = /usr/local/bin +DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN) +INSTALLSCRIPT = /usr/bin +DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT) +INSTALLSITESCRIPT = /usr/local/bin +DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT) +INSTALLVENDORSCRIPT = /usr/local/bin +DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT) +INSTALLMAN1DIR = /usr/share/man/man1 +DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR) +INSTALLSITEMAN1DIR = /usr/local/share/man/man1 +DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR) +INSTALLVENDORMAN1DIR = /usr/local/share/man/man1 +DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR) +INSTALLMAN3DIR = /usr/share/man/man3 +DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR) +INSTALLSITEMAN3DIR = /usr/local/share/man/man3 +DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR) +INSTALLVENDORMAN3DIR = /usr/local/share/man/man3 +DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR) +PERL_LIB = /System/Library/Perl/5.18 +PERL_ARCHLIB = /System/Library/Perl/5.18/darwin-thread-multi-2level +LIBPERL_A = libperl.a +FIRST_MAKEFILE = Makefile +MAKEFILE_OLD = Makefile.old +MAKE_APERL_FILE = Makefile.aperl +PERLMAINCC = $(CC) +PERL_INC = /System/Library/Perl/5.18/darwin-thread-multi-2level/CORE +PERL = /usr/bin/perl +FULLPERL = /usr/bin/perl +ABSPERL = $(PERL) +PERLRUN = $(PERL) +FULLPERLRUN = $(FULLPERL) +ABSPERLRUN = $(ABSPERL) +PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" +FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" +ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" +PERL_CORE = 0 +PERM_DIR = 755 +PERM_RW = 644 +PERM_RWX = 755 + +MAKEMAKER = /System/Library/Perl/5.18/ExtUtils/MakeMaker.pm +MM_VERSION = 6.66 +MM_REVISION = 66600 + +# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle). +# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle) +# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar) +# DLBASE = Basename part of dynamic library. May be just equal BASEEXT. +MAKE = make +FULLEXT = BibTeX/Parser +BASEEXT = Parser +PARENT_NAME = BibTeX +DLBASE = $(BASEEXT) +VERSION_FROM = +OBJECT = +LDFROM = $(OBJECT) +LINKTYPE = dynamic +BOOTDEP = + +# Handy lists of source code files: +XS_FILES = +C_FILES = +O_FILES = +H_FILES = +MAN1PODS = +MAN3PODS = lib/BibTeX/Parser.pm \ + lib/BibTeX/Parser/Author.pm \ + lib/BibTeX/Parser/Entry.pm + +# Where is the Config information that we are using/depend on +CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h + +# Where to build things +INST_LIBDIR = $(INST_LIB)/BibTeX +INST_ARCHLIBDIR = $(INST_ARCHLIB)/BibTeX + +INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT) +INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT) + +INST_STATIC = +INST_DYNAMIC = +INST_BOOT = + +# Extra linker info +EXPORT_LIST = +PERL_ARCHIVE = +PERL_ARCHIVE_AFTER = + + +TO_INST_PM = lib/BibTeX/Parser.pm \ + lib/BibTeX/Parser/Author.pm \ + lib/BibTeX/Parser/Entry.pm + +PM_TO_BLIB = lib/BibTeX/Parser/Entry.pm \ + blib/lib/BibTeX/Parser/Entry.pm \ + lib/BibTeX/Parser.pm \ + blib/lib/BibTeX/Parser.pm \ + lib/BibTeX/Parser/Author.pm \ + blib/lib/BibTeX/Parser/Author.pm + + +# --- MakeMaker platform_constants section: +MM_Unix_VERSION = 6.66 +PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc + + +# --- MakeMaker tool_autosplit section: +# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto +AUTOSPLITFILE = $(ABSPERLRUN) -e 'use AutoSplit; autosplit($$$$ARGV[0], $$$$ARGV[1], 0, 1, 1)' -- + + + +# --- MakeMaker tool_xsubpp section: + + +# --- MakeMaker tools_other section: +SHELL = /bin/sh +CHMOD = chmod +CP = cp +MV = mv +NOOP = $(TRUE) +NOECHO = @ +RM_F = rm -f +RM_RF = rm -rf +TEST_F = test -f +TOUCH = touch +UMASK_NULL = umask 0 +DEV_NULL = > /dev/null 2>&1 +MKPATH = $(ABSPERLRUN) -MExtUtils::Command -e 'mkpath' -- +EQUALIZE_TIMESTAMP = $(ABSPERLRUN) -MExtUtils::Command -e 'eqtime' -- +FALSE = false +TRUE = true +ECHO = echo +ECHO_N = echo -n +UNINST = 0 +VERBINST = 0 +MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install([ from_to => {@ARGV}, verbose => '\''$(VERBINST)'\'', uninstall_shadows => '\''$(UNINST)'\'', dir_mode => '\''$(PERM_DIR)'\'' ]);' -- +DOC_INSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'perllocal_install' -- +UNINSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'uninstall' -- +WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'warn_if_old_packlist' -- +MACROSTART = +MACROEND = +USEMAKEFILE = -f +FIXIN = $(ABSPERLRUN) -MExtUtils::MY -e 'MY->fixin(shift)' -- + + +# --- MakeMaker makemakerdflt section: +makemakerdflt : all + $(NOECHO) $(NOOP) + + +# --- MakeMaker dist section: +TAR = COPY_EXTENDED_ATTRIBUTES_DISABLE=1 COPYFILE_DISABLE=1 tar +TARFLAGS = cvf +ZIP = zip +ZIPFLAGS = -r +COMPRESS = gzip --best +SUFFIX = .gz +SHAR = shar +PREOP = $(NOECHO) $(NOOP) +POSTOP = $(NOECHO) $(NOOP) +TO_UNIX = $(NOECHO) $(NOOP) +CI = ci -u +RCS_LABEL = rcs -Nv$(VERSION_SYM): -q +DIST_CP = best +DIST_DEFAULT = tardist +DISTNAME = BibTeX-Parser +DISTVNAME = BibTeX-Parser-1.02 + + +# --- MakeMaker macro section: + + +# --- MakeMaker depend section: + + +# --- MakeMaker cflags section: + + +# --- MakeMaker const_loadlibs section: + + +# --- MakeMaker const_cccmd section: + + +# --- MakeMaker post_constants section: + + +# --- MakeMaker pasthru section: + +PASTHRU = LIBPERL_A="$(LIBPERL_A)"\ + LINKTYPE="$(LINKTYPE)"\ + PREFIX="$(PREFIX)" + + +# --- MakeMaker special_targets section: +.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT) + +.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir + + + +# --- MakeMaker c_o section: + + +# --- MakeMaker xs_c section: + + +# --- MakeMaker xs_o section: + + +# --- MakeMaker top_targets section: +all :: pure_all manifypods + $(NOECHO) $(NOOP) + + +pure_all :: config pm_to_blib subdirs linkext + $(NOECHO) $(NOOP) + +subdirs :: $(MYEXTLIB) + $(NOECHO) $(NOOP) + +config :: $(FIRST_MAKEFILE) blibdirs + $(NOECHO) $(NOOP) + +help : + perldoc ExtUtils::MakeMaker + + +# --- MakeMaker blibdirs section: +blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists + $(NOECHO) $(NOOP) + +# Backwards compat with 6.18 through 6.25 +blibdirs.ts : blibdirs + $(NOECHO) $(NOOP) + +$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_LIBDIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_LIBDIR) + $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists + +$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_ARCHLIB) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHLIB) + $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists + +$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_AUTODIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_AUTODIR) + $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists + +$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHAUTODIR) + $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists + +$(INST_BIN)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_BIN) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_BIN) + $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists + +$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_SCRIPT) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_SCRIPT) + $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists + +$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_MAN1DIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN1DIR) + $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists + +$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_MAN3DIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN3DIR) + $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists + + + +# --- MakeMaker linkext section: + +linkext :: $(LINKTYPE) + $(NOECHO) $(NOOP) + + +# --- MakeMaker dlsyms section: + + +# --- MakeMaker dynamic section: + +dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT) + $(NOECHO) $(NOOP) + + +# --- MakeMaker dynamic_bs section: + +BOOTSTRAP = + + +# --- MakeMaker dynamic_lib section: + + +# --- MakeMaker static section: + +## $(INST_PM) has been moved to the all: target. +## It remains here for awhile to allow for old usage: "make static" +static :: $(FIRST_MAKEFILE) $(INST_STATIC) + $(NOECHO) $(NOOP) + + +# --- MakeMaker static_lib section: + + +# --- MakeMaker manifypods section: + +POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--" +POD2MAN = $(POD2MAN_EXE) + + +manifypods : pure_all \ + lib/BibTeX/Parser/Entry.pm \ + lib/BibTeX/Parser.pm \ + lib/BibTeX/Parser/Author.pm + $(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW) \ + lib/BibTeX/Parser/Entry.pm $(INST_MAN3DIR)/BibTeX::Parser::Entry.$(MAN3EXT) \ + lib/BibTeX/Parser.pm $(INST_MAN3DIR)/BibTeX::Parser.$(MAN3EXT) \ + lib/BibTeX/Parser/Author.pm $(INST_MAN3DIR)/BibTeX::Parser::Author.$(MAN3EXT) + + + + +# --- MakeMaker processPL section: + + +# --- MakeMaker installbin section: + + +# --- MakeMaker subdirs section: + +# none + +# --- MakeMaker clean_subdirs section: +clean_subdirs : + $(NOECHO) $(NOOP) + + +# --- MakeMaker clean section: + +# Delete temporary files but do not touch installed files. We don't delete +# the Makefile here so a later make realclean still has a makefile to use. + +clean :: clean_subdirs + - $(RM_F) \ + core.[0-9][0-9][0-9][0-9] $(BASEEXT).exp \ + mon.out $(BOOTSTRAP) \ + *$(OBJ_EXT) pm_to_blib.ts \ + MYMETA.json lib$(BASEEXT).def \ + core.[0-9] blibdirs.ts \ + perlmain.c $(BASEEXT).def \ + so_locations core \ + perl perl.exe \ + core.[0-9][0-9][0-9][0-9][0-9] core.*perl.*.? \ + $(INST_ARCHAUTODIR)/extralibs.ld $(INST_ARCHAUTODIR)/extralibs.all \ + tmon.out $(MAKE_APERL_FILE) \ + $(BASEEXT).x *$(LIB_EXT) \ + core.[0-9][0-9] core.[0-9][0-9][0-9] \ + MYMETA.yml $(BASEEXT).bso \ + pm_to_blib *perl.core \ + perl$(EXE_EXT) + - $(RM_RF) \ + blib + - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL) + + +# --- MakeMaker realclean_subdirs section: +realclean_subdirs : + $(NOECHO) $(NOOP) + + +# --- MakeMaker realclean section: +# Delete temporary files (via clean) and also delete dist files +realclean purge :: clean realclean_subdirs + - $(RM_F) \ + $(FIRST_MAKEFILE) $(MAKEFILE_OLD) + - $(RM_RF) \ + $(DISTVNAME) + + +# --- MakeMaker metafile section: +metafile : create_distdir + $(NOECHO) $(ECHO) Generating META.yml + $(NOECHO) $(ECHO) '---' > META_new.yml + $(NOECHO) $(ECHO) 'abstract: '\''A pure perl BibTeX parser'\''' >> META_new.yml + $(NOECHO) $(ECHO) 'author:' >> META_new.yml + $(NOECHO) $(ECHO) ' - '\''Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>'\''' >> META_new.yml + $(NOECHO) $(ECHO) 'build_requires:' >> META_new.yml + $(NOECHO) $(ECHO) ' Test::More: 0.88' >> META_new.yml + $(NOECHO) $(ECHO) 'configure_requires:' >> META_new.yml + $(NOECHO) $(ECHO) ' ExtUtils::MakeMaker: 6.30' >> META_new.yml + $(NOECHO) $(ECHO) 'dynamic_config: 1' >> META_new.yml + $(NOECHO) $(ECHO) 'generated_by: '\''ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380'\''' >> META_new.yml + $(NOECHO) $(ECHO) 'license: perl' >> META_new.yml + $(NOECHO) $(ECHO) 'meta-spec:' >> META_new.yml + $(NOECHO) $(ECHO) ' url: http://module-build.sourceforge.net/META-spec-v1.4.html' >> META_new.yml + $(NOECHO) $(ECHO) ' version: 1.4' >> META_new.yml + $(NOECHO) $(ECHO) 'name: BibTeX-Parser' >> META_new.yml + $(NOECHO) $(ECHO) 'no_index:' >> META_new.yml + $(NOECHO) $(ECHO) ' directory:' >> META_new.yml + $(NOECHO) $(ECHO) ' - t' >> META_new.yml + $(NOECHO) $(ECHO) ' - inc' >> META_new.yml + $(NOECHO) $(ECHO) 'requires:' >> META_new.yml + $(NOECHO) $(ECHO) ' File::Spec: 0' >> META_new.yml + $(NOECHO) $(ECHO) ' IO::File: 0' >> META_new.yml + $(NOECHO) $(ECHO) ' IO::String: 0' >> META_new.yml + $(NOECHO) $(ECHO) ' LaTeX::ToUnicode: 0.02' >> META_new.yml + $(NOECHO) $(ECHO) ' Test::More: 0' >> META_new.yml + $(NOECHO) $(ECHO) 'version: 1.02' >> META_new.yml + -$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml + $(NOECHO) $(ECHO) Generating META.json + $(NOECHO) $(ECHO) '{' > META_new.json + $(NOECHO) $(ECHO) ' "abstract" : "A pure perl BibTeX parser",' >> META_new.json + $(NOECHO) $(ECHO) ' "author" : [' >> META_new.json + $(NOECHO) $(ECHO) ' "Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>"' >> META_new.json + $(NOECHO) $(ECHO) ' ],' >> META_new.json + $(NOECHO) $(ECHO) ' "dynamic_config" : 1,' >> META_new.json + $(NOECHO) $(ECHO) ' "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.133380",' >> META_new.json + $(NOECHO) $(ECHO) ' "license" : [' >> META_new.json + $(NOECHO) $(ECHO) ' "perl_5"' >> META_new.json + $(NOECHO) $(ECHO) ' ],' >> META_new.json + $(NOECHO) $(ECHO) ' "meta-spec" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",' >> META_new.json + $(NOECHO) $(ECHO) ' "version" : "2"' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "name" : "BibTeX-Parser",' >> META_new.json + $(NOECHO) $(ECHO) ' "no_index" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "directory" : [' >> META_new.json + $(NOECHO) $(ECHO) ' "t",' >> META_new.json + $(NOECHO) $(ECHO) ' "inc"' >> META_new.json + $(NOECHO) $(ECHO) ' ]' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "prereqs" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "build" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "requires" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "Test::More" : "0.88"' >> META_new.json + $(NOECHO) $(ECHO) ' }' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "configure" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "requires" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "ExtUtils::MakeMaker" : "6.30"' >> META_new.json + $(NOECHO) $(ECHO) ' }' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "runtime" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "requires" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "File::Spec" : "0",' >> META_new.json + $(NOECHO) $(ECHO) ' "IO::File" : "0",' >> META_new.json + $(NOECHO) $(ECHO) ' "IO::String" : "0",' >> META_new.json + $(NOECHO) $(ECHO) ' "LaTeX::ToUnicode" : "0.02",' >> META_new.json + $(NOECHO) $(ECHO) ' "Test::More" : "0"' >> META_new.json + $(NOECHO) $(ECHO) ' }' >> META_new.json + $(NOECHO) $(ECHO) ' }' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "release_status" : "stable",' >> META_new.json + $(NOECHO) $(ECHO) ' "version" : "1.02"' >> META_new.json + $(NOECHO) $(ECHO) '}' >> META_new.json + -$(NOECHO) $(MV) META_new.json $(DISTVNAME)/META.json + + +# --- MakeMaker signature section: +signature : + cpansign -s + + +# --- MakeMaker dist_basics section: +distclean :: realclean distcheck + $(NOECHO) $(NOOP) + +distcheck : + $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck + +skipcheck : + $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck + +manifest : + $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest + +veryclean : realclean + $(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old + + + +# --- MakeMaker dist_core section: + +dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE) + $(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \ + -e ' if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' -- + +tardist : $(DISTVNAME).tar$(SUFFIX) + $(NOECHO) $(NOOP) + +uutardist : $(DISTVNAME).tar$(SUFFIX) + uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu + +$(DISTVNAME).tar$(SUFFIX) : distdir + $(PREOP) + $(TO_UNIX) + $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME) + $(RM_RF) $(DISTVNAME) + $(COMPRESS) $(DISTVNAME).tar + $(POSTOP) + +zipdist : $(DISTVNAME).zip + $(NOECHO) $(NOOP) + +$(DISTVNAME).zip : distdir + $(PREOP) + $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME) + $(RM_RF) $(DISTVNAME) + $(POSTOP) + +shdist : distdir + $(PREOP) + $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar + $(RM_RF) $(DISTVNAME) + $(POSTOP) + + +# --- MakeMaker distdir section: +create_distdir : + $(RM_RF) $(DISTVNAME) + $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \ + -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');" + +distdir : create_distdir distmeta + $(NOECHO) $(NOOP) + + + +# --- MakeMaker dist_test section: +disttest : distdir + cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL + cd $(DISTVNAME) && $(MAKE) $(PASTHRU) + cd $(DISTVNAME) && $(MAKE) test $(PASTHRU) + + + +# --- MakeMaker dist_ci section: + +ci : + $(PERLRUN) "-MExtUtils::Manifest=maniread" \ + -e "@all = keys %{ maniread() };" \ + -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \ + -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});" + + +# --- MakeMaker distmeta section: +distmeta : create_distdir metafile + $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'exit unless -e q{META.yml};' \ + -e 'eval { maniadd({q{META.yml} => q{Module YAML meta-data (added by MakeMaker)}}) }' \ + -e ' or print "Could not add META.yml to MANIFEST: $$$${'\''@'\''}\n"' -- + $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'exit unless -f q{META.json};' \ + -e 'eval { maniadd({q{META.json} => q{Module JSON meta-data (added by MakeMaker)}}) }' \ + -e ' or print "Could not add META.json to MANIFEST: $$$${'\''@'\''}\n"' -- + + + +# --- MakeMaker distsignature section: +distsignature : create_distdir + $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) } ' \ + -e ' or print "Could not add SIGNATURE to MANIFEST: $$$${'\''@'\''}\n"' -- + $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE + cd $(DISTVNAME) && cpansign -s + + + +# --- MakeMaker install section: + +install :: pure_install doc_install + $(NOECHO) $(NOOP) + +install_perl :: pure_perl_install doc_perl_install + $(NOECHO) $(NOOP) + +install_site :: pure_site_install doc_site_install + $(NOECHO) $(NOOP) + +install_vendor :: pure_vendor_install doc_vendor_install + $(NOECHO) $(NOOP) + +pure_install :: pure_$(INSTALLDIRS)_install + $(NOECHO) $(NOOP) + +doc_install :: doc_$(INSTALLDIRS)_install + $(NOECHO) $(NOOP) + +pure__install : pure_site_install + $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site + +doc__install : doc_site_install + $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site + +pure_perl_install :: all + $(NOECHO) $(MOD_INSTALL) \ + read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \ + write $(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \ + $(INST_LIB) $(DESTINSTALLPRIVLIB) \ + $(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \ + $(INST_BIN) $(DESTINSTALLBIN) \ + $(INST_SCRIPT) $(DESTINSTALLSCRIPT) \ + $(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \ + $(INST_MAN3DIR) $(DESTINSTALLMAN3DIR) + $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ + $(SITEARCHEXP)/auto/$(FULLEXT) + + +pure_site_install :: all + $(NOECHO) $(MOD_INSTALL) \ + read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \ + write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \ + $(INST_LIB) $(DESTINSTALLSITELIB) \ + $(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \ + $(INST_BIN) $(DESTINSTALLSITEBIN) \ + $(INST_SCRIPT) $(DESTINSTALLSITESCRIPT) \ + $(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \ + $(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR) + $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ + $(PERL_ARCHLIB)/auto/$(FULLEXT) + +pure_vendor_install :: all + $(NOECHO) $(MOD_INSTALL) \ + read $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist \ + write $(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist \ + $(INST_LIB) $(DESTINSTALLVENDORLIB) \ + $(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \ + $(INST_BIN) $(DESTINSTALLVENDORBIN) \ + $(INST_SCRIPT) $(DESTINSTALLVENDORSCRIPT) \ + $(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \ + $(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR) + +doc_perl_install :: all + $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod + -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) + -$(NOECHO) $(DOC_INSTALL) \ + "Module" "$(NAME)" \ + "installed into" "$(INSTALLPRIVLIB)" \ + LINKTYPE "$(LINKTYPE)" \ + VERSION "$(VERSION)" \ + EXE_FILES "$(EXE_FILES)" \ + >> $(DESTINSTALLARCHLIB)/perllocal.pod + +doc_site_install :: all + $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod + -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) + -$(NOECHO) $(DOC_INSTALL) \ + "Module" "$(NAME)" \ + "installed into" "$(INSTALLSITELIB)" \ + LINKTYPE "$(LINKTYPE)" \ + VERSION "$(VERSION)" \ + EXE_FILES "$(EXE_FILES)" \ + >> $(DESTINSTALLARCHLIB)/perllocal.pod + +doc_vendor_install :: all + $(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod + -$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB) + -$(NOECHO) $(DOC_INSTALL) \ + "Module" "$(NAME)" \ + "installed into" "$(INSTALLVENDORLIB)" \ + LINKTYPE "$(LINKTYPE)" \ + VERSION "$(VERSION)" \ + EXE_FILES "$(EXE_FILES)" \ + >> $(DESTINSTALLARCHLIB)/perllocal.pod + + +uninstall :: uninstall_from_$(INSTALLDIRS)dirs + $(NOECHO) $(NOOP) + +uninstall_from_perldirs :: + $(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist + +uninstall_from_sitedirs :: + $(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist + +uninstall_from_vendordirs :: + $(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist + + +# --- MakeMaker force section: +# Phony target to force checking subdirectories. +FORCE : + $(NOECHO) $(NOOP) + + +# --- MakeMaker perldepend section: + + +# --- MakeMaker makefile section: +# We take a very conservative approach here, but it's worth it. +# We move Makefile to Makefile.old here to avoid gnu make looping. +$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP) + $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?" + $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..." + -$(NOECHO) $(RM_F) $(MAKEFILE_OLD) + -$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) + - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL) + $(PERLRUN) Makefile.PL + $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <==" + $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command. <==" + $(FALSE) + + + +# --- MakeMaker staticmake section: + +# --- MakeMaker makeaperl section --- +MAP_TARGET = perl +FULLPERL = /usr/bin/perl + +$(MAP_TARGET) :: static $(MAKE_APERL_FILE) + $(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@ + +$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib + $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET) + $(NOECHO) $(PERLRUNINST) \ + Makefile.PL DIR= \ + MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ + MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= + + +# --- MakeMaker test section: + +TEST_VERBOSE=0 +TEST_TYPE=test_$(LINKTYPE) +TEST_FILE = test.pl +TEST_FILES = t/*.t +TESTDB_SW = -d + +testdb :: testdb_$(LINKTYPE) + +test :: $(TEST_TYPE) subdirs-test + +subdirs-test :: + $(NOECHO) $(NOOP) + + +test_dynamic :: pure_all + PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES) + +testdb_dynamic :: pure_all + PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) + +test_ : test_dynamic + +test_static :: test_dynamic +testdb_static :: testdb_dynamic + + +# --- MakeMaker ppd section: +# Creates a PPD (Perl Package Description) for a binary distribution. +ppd : + $(NOECHO) $(ECHO) '<SOFTPKG NAME="$(DISTNAME)" VERSION="$(VERSION)">' > $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <ABSTRACT>A pure perl BibTeX parser</ABSTRACT>' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <AUTHOR>Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com></AUTHOR>' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <IMPLEMENTATION>' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <REQUIRE NAME="File::Spec" />' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <REQUIRE NAME="IO::File" />' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <REQUIRE NAME="IO::String" />' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <REQUIRE NAME="LaTeX::ToUnicode" VERSION="0.02" />' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <REQUIRE NAME="Test::More" />' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <ARCHITECTURE NAME="darwin-thread-multi-2level-5.18" />' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' <CODEBASE HREF="" />' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) ' </IMPLEMENTATION>' >> $(DISTNAME).ppd + $(NOECHO) $(ECHO) '</SOFTPKG>' >> $(DISTNAME).ppd + + +# --- MakeMaker pm_to_blib section: + +pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM) + $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', q[$(PM_FILTER)], '\''$(PERM_DIR)'\'')' -- \ + lib/BibTeX/Parser/Entry.pm blib/lib/BibTeX/Parser/Entry.pm \ + lib/BibTeX/Parser.pm blib/lib/BibTeX/Parser.pm \ + lib/BibTeX/Parser/Author.pm blib/lib/BibTeX/Parser/Author.pm + $(NOECHO) $(TOUCH) pm_to_blib + + +# --- MakeMaker selfdocument section: + + +# --- MakeMaker postamble section: + + +# End. diff --git a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile.TDS b/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile.TDS deleted file mode 100644 index 7072d1f20d0..00000000000 --- a/Master/texmf-dist/source/support/bibtexperllibs/BibTeX-Parser/Makefile.TDS +++ /dev/null @@ -1,25 +0,0 @@ -# -# This is Makefile for TDS-compliant TeX distributions -# Written by Boris Veytsman, boris@varphi.com -# -# This file is in public domain -# -PREFIX = /usr/local - -LIBDIR = $(PREFIX)/scripts/bibtexperllibs - -DOCDIR = $(PREFIX)/doc/bibtex/bibtexperllibs - -all: - - - -install: - mkdir -p $(LIBDIR) - cp -r lib/* $(LIBDIR) - mkdir -p $(DOCDIR) - cp -r man/man3/* $(DOCDIR) - -clean: - -distclean: clean 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 be62f921046..f0f097409f0 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.7 2018/04/29 19:39:51 boris Exp $ +$Id: @(#) english.bib 1.0 23-OCT-1989 17:10:00 Aston archive$ 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/LaTeX-ToUnicode/Changes b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Changes index 14a27597c69..4c753373538 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Changes +++ b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Changes @@ -1,5 +1,7 @@ Changes for LaTeX::ToUnicode +0.11 2020-12-12 Updates and cleaing + 0.05 2016-11-23 02:28:35+00:00 Compatibility with perl 5.25 (Alexandr Ciornii) diff --git a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/META.yml b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/META.yml index 0808eaa33c7..725fef07da2 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/META.yml +++ b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/META.yml @@ -16,4 +16,4 @@ requires: perl: 5.8.0 resources: repository: http://github.com/gerhardgossen/latex-tounicode -version: 0.03 +version: 0.11 diff --git a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/MYMETA.json b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/MYMETA.json new file mode 100644 index 00000000000..15c23a32e8d --- /dev/null +++ b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/MYMETA.json @@ -0,0 +1,37 @@ +{ + "abstract" : "Convert LaTeX commands to Unicode", + "author" : [ + "Gerhard Gossen <gerhard.gossen@googlemail.com>" + ], + "dynamic_config" : 0, + "generated_by" : "Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.101670, CPAN::Meta::Converter version 2.150010", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : 2 + }, + "name" : "LaTeX-ToUnicode", + "prereqs" : { + "build" : { + "requires" : {} + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : "6.31" + } + }, + "runtime" : { + "requires" : {} + } + }, + "release_status" : "stable", + "resources" : { + "repository" : { + "url" : "http://github.com/gerhardgossen/latex-tounicode" + } + }, + "version" : "0.11", + "x_serialization_backend" : "JSON::PP version 4.04" +} diff --git a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/MYMETA.yml b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/MYMETA.yml new file mode 100644 index 00000000000..818dc9bc1e2 --- /dev/null +++ b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/MYMETA.yml @@ -0,0 +1,19 @@ +--- +abstract: 'Convert LaTeX commands to Unicode' +author: + - 'Gerhard Gossen <gerhard.gossen@googlemail.com>' +build_requires: {} +configure_requires: + ExtUtils::MakeMaker: '6.31' +dynamic_config: 0 +generated_by: 'Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.101670, CPAN::Meta::Converter version 2.150010' +license: perl +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: LaTeX-ToUnicode +requires: {} +resources: + repository: http://github.com/gerhardgossen/latex-tounicode +version: '0.11' +x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff --git a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile new file mode 100644 index 00000000000..b8279d35d56 --- /dev/null +++ b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile @@ -0,0 +1,899 @@ +# This Makefile is for the LaTeX::ToUnicode extension to perl. +# +# It was generated automatically by MakeMaker version +# 7.44 (Revision: 74400) from the contents of +# Makefile.PL. Don't edit this file, edit Makefile.PL instead. +# +# ANY CHANGES MADE HERE WILL BE LOST! +# +# MakeMaker ARGV: () +# + +# MakeMaker Parameters: + +# ABSTRACT => q[Convert LaTeX commands to Unicode] +# AUTHOR => [q[Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>]] +# BUILD_REQUIRES => { } +# CONFIGURE_REQUIRES => { ExtUtils::MakeMaker=>q[6.31] } +# DISTNAME => q[LaTeX-ToUnicode] +# EXE_FILES => [] +# LICENSE => q[perl] +# NAME => q[LaTeX::ToUnicode] +# PREREQ_PM => { } +# TEST_REQUIRES => { } +# VERSION => q[0.11] +# test => { TESTS=>q[t/*.t] } + +# --- MakeMaker post_initialize section: + + +# --- MakeMaker const_config section: + +# These definitions are from config.sh (via /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level/Config.pm). +# They may have been overridden via Makefile.PL or on the command line. +AR = ar +CC = cc +CCCDLFLAGS = +CCDLFLAGS = +DLEXT = bundle +DLSRC = dl_dlopen.xs +EXE_EXT = +FULL_AR = /usr/bin/ar +LD = cc +LDDLFLAGS = -mmacosx-version-min=10.15 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector-strong +LDFLAGS = -mmacosx-version-min=10.15 -fstack-protector-strong -L/usr/local/lib +LIBC = +LIB_EXT = .a +OBJ_EXT = .o +OSNAME = darwin +OSVERS = 19.5.0 +RANLIB = ranlib +SITELIBEXP = /usr/local/Cellar/perl/5.32.0/lib/perl5/site_perl/5.32.0 +SITEARCHEXP = /usr/local/Cellar/perl/5.32.0/lib/perl5/site_perl/5.32.0/darwin-thread-multi-2level +SO = dylib +VENDORARCHEXP = +VENDORLIBEXP = + + +# --- MakeMaker constants section: +AR_STATIC_ARGS = cr +DIRFILESEP = / +DFSEP = $(DIRFILESEP) +NAME = LaTeX::ToUnicode +NAME_SYM = LaTeX_ToUnicode +VERSION = 0.11 +VERSION_MACRO = VERSION +VERSION_SYM = 0_11 +DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\" +XS_VERSION = 0.11 +XS_VERSION_MACRO = XS_VERSION +XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\" +INST_ARCHLIB = blib/arch +INST_SCRIPT = blib/script +INST_BIN = blib/bin +INST_LIB = blib/lib +INST_MAN1DIR = blib/man1 +INST_MAN3DIR = blib/man3 +MAN1EXT = 1 +MAN3EXT = 3 +MAN1SECTION = 1 +MAN3SECTION = 3 +INSTALLDIRS = site +DESTDIR = +PREFIX = $(SITEPREFIX) +PERLPREFIX = /usr/local/Cellar/perl/5.32.0 +SITEPREFIX = /usr/local/Cellar/perl/5.32.0 +VENDORPREFIX = +INSTALLPRIVLIB = /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0 +DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB) +INSTALLSITELIB = /usr/local/Cellar/perl/5.32.0/lib/perl5/site_perl/5.32.0 +DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB) +INSTALLVENDORLIB = +DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB) +INSTALLARCHLIB = /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level +DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB) +INSTALLSITEARCH = /usr/local/Cellar/perl/5.32.0/lib/perl5/site_perl/5.32.0/darwin-thread-multi-2level +DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH) +INSTALLVENDORARCH = +DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH) +INSTALLBIN = /usr/local/Cellar/perl/5.32.0/bin +DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN) +INSTALLSITEBIN = /usr/local/Cellar/perl/5.32.0/bin +DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN) +INSTALLVENDORBIN = +DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN) +INSTALLSCRIPT = /usr/local/Cellar/perl/5.32.0/bin +DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT) +INSTALLSITESCRIPT = /usr/local/Cellar/perl/5.32.0/bin +DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT) +INSTALLVENDORSCRIPT = +DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT) +INSTALLMAN1DIR = /usr/local/Cellar/perl/5.32.0/share/man/man1 +DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR) +INSTALLSITEMAN1DIR = /usr/local/Cellar/perl/5.32.0/share/man/man1 +DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR) +INSTALLVENDORMAN1DIR = +DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR) +INSTALLMAN3DIR = /usr/local/Cellar/perl/5.32.0/share/man/man3 +DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR) +INSTALLSITEMAN3DIR = /usr/local/Cellar/perl/5.32.0/share/man/man3 +DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR) +INSTALLVENDORMAN3DIR = +DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR) +PERL_LIB = /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0 +PERL_ARCHLIB = /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level +PERL_ARCHLIBDEP = /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level +LIBPERL_A = libperl.a +FIRST_MAKEFILE = Makefile +MAKEFILE_OLD = Makefile.old +MAKE_APERL_FILE = Makefile.aperl +PERLMAINCC = $(CC) +PERL_INC = /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level/CORE +PERL_INCDEP = /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level/CORE +PERL = "/usr/local/Cellar/perl/5.32.0/bin/perl" +FULLPERL = "/usr/local/Cellar/perl/5.32.0/bin/perl" +ABSPERL = $(PERL) +PERLRUN = $(PERL) +FULLPERLRUN = $(FULLPERL) +ABSPERLRUN = $(ABSPERL) +PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" +FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" +ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" +PERL_CORE = 0 +PERM_DIR = 755 +PERM_RW = 644 +PERM_RWX = 755 + +MAKEMAKER = /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/ExtUtils/MakeMaker.pm +MM_VERSION = 7.44 +MM_REVISION = 74400 + +# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle). +# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle) +# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar) +# DLBASE = Basename part of dynamic library. May be just equal BASEEXT. +MAKE = make +FULLEXT = LaTeX/ToUnicode +BASEEXT = ToUnicode +PARENT_NAME = LaTeX +DLBASE = $(BASEEXT) +VERSION_FROM = +OBJECT = +LDFROM = $(OBJECT) +LINKTYPE = dynamic +BOOTDEP = + +# Handy lists of source code files: +XS_FILES = +C_FILES = +O_FILES = +H_FILES = +MAN1PODS = +MAN3PODS = lib/LaTeX/ToUnicode.pm \ + lib/LaTeX/ToUnicode/Tables.pm + +# Where is the Config information that we are using/depend on +CONFIGDEP = $(PERL_ARCHLIBDEP)$(DFSEP)Config.pm $(PERL_INCDEP)$(DFSEP)config.h + +# Where to build things +INST_LIBDIR = $(INST_LIB)/LaTeX +INST_ARCHLIBDIR = $(INST_ARCHLIB)/LaTeX + +INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT) +INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT) + +INST_STATIC = +INST_DYNAMIC = +INST_BOOT = + +# Extra linker info +EXPORT_LIST = +PERL_ARCHIVE = +PERL_ARCHIVEDEP = +PERL_ARCHIVE_AFTER = + + +TO_INST_PM = lib/LaTeX/ToUnicode.pm \ + lib/LaTeX/ToUnicode/Tables.pm + + +# --- MakeMaker platform_constants section: +MM_Unix_VERSION = 7.44 +PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc + + +# --- MakeMaker tool_autosplit section: +# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto +AUTOSPLITFILE = $(ABSPERLRUN) -e 'use AutoSplit; autosplit($$$$ARGV[0], $$$$ARGV[1], 0, 1, 1)' -- + + + +# --- MakeMaker tool_xsubpp section: + + +# --- MakeMaker tools_other section: +SHELL = /bin/sh +CHMOD = chmod +CP = cp +MV = mv +NOOP = $(TRUE) +NOECHO = @ +RM_F = rm -f +RM_RF = rm -rf +TEST_F = test -f +TOUCH = touch +UMASK_NULL = umask 0 +DEV_NULL = > /dev/null 2>&1 +MKPATH = $(ABSPERLRUN) -MExtUtils::Command -e 'mkpath' -- +EQUALIZE_TIMESTAMP = $(ABSPERLRUN) -MExtUtils::Command -e 'eqtime' -- +FALSE = false +TRUE = true +ECHO = echo +ECHO_N = echo -n +UNINST = 0 +VERBINST = 0 +MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e 'install([ from_to => {@ARGV}, verbose => '\''$(VERBINST)'\'', uninstall_shadows => '\''$(UNINST)'\'', dir_mode => '\''$(PERM_DIR)'\'' ]);' -- +DOC_INSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'perllocal_install' -- +UNINSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'uninstall' -- +WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'warn_if_old_packlist' -- +MACROSTART = +MACROEND = +USEMAKEFILE = -f +FIXIN = $(ABSPERLRUN) -MExtUtils::MY -e 'MY->fixin(shift)' -- +CP_NONEMPTY = $(ABSPERLRUN) -MExtUtils::Command::MM -e 'cp_nonempty' -- + + +# --- MakeMaker makemakerdflt section: +makemakerdflt : all + $(NOECHO) $(NOOP) + + +# --- MakeMaker dist section: +TAR = COPY_EXTENDED_ATTRIBUTES_DISABLE=1 COPYFILE_DISABLE=1 tar +TARFLAGS = cvf +ZIP = zip +ZIPFLAGS = -r +COMPRESS = gzip --best +SUFFIX = .gz +SHAR = shar +PREOP = $(NOECHO) $(NOOP) +POSTOP = $(NOECHO) $(NOOP) +TO_UNIX = $(NOECHO) $(NOOP) +CI = ci -u +RCS_LABEL = rcs -Nv$(VERSION_SYM): -q +DIST_CP = best +DIST_DEFAULT = tardist +DISTNAME = LaTeX-ToUnicode +DISTVNAME = LaTeX-ToUnicode-0.11 + + +# --- MakeMaker macro section: + + +# --- MakeMaker depend section: + + +# --- MakeMaker cflags section: + + +# --- MakeMaker const_loadlibs section: + + +# --- MakeMaker const_cccmd section: + + +# --- MakeMaker post_constants section: + + +# --- MakeMaker pasthru section: + +PASTHRU = LIBPERL_A="$(LIBPERL_A)"\ + LINKTYPE="$(LINKTYPE)"\ + PREFIX="$(PREFIX)"\ + PASTHRU_DEFINE='$(DEFINE) $(PASTHRU_DEFINE)'\ + PASTHRU_INC='$(INC) $(PASTHRU_INC)' + + +# --- MakeMaker special_targets section: +.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT) + +.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir pure_all subdirs clean_subdirs makemakerdflt manifypods realclean_subdirs subdirs_dynamic subdirs_pure_nolink subdirs_static subdirs-test_dynamic subdirs-test_static test_dynamic test_static + + + +# --- MakeMaker c_o section: + + +# --- MakeMaker xs_c section: + + +# --- MakeMaker xs_o section: + + +# --- MakeMaker top_targets section: +all :: pure_all manifypods + $(NOECHO) $(NOOP) + +pure_all :: config pm_to_blib subdirs linkext + $(NOECHO) $(NOOP) + + $(NOECHO) $(NOOP) + +subdirs :: $(MYEXTLIB) + $(NOECHO) $(NOOP) + +config :: $(FIRST_MAKEFILE) blibdirs + $(NOECHO) $(NOOP) + +help : + perldoc ExtUtils::MakeMaker + + +# --- MakeMaker blibdirs section: +blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists + $(NOECHO) $(NOOP) + +# Backwards compat with 6.18 through 6.25 +blibdirs.ts : blibdirs + $(NOECHO) $(NOOP) + +$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_LIBDIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_LIBDIR) + $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists + +$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_ARCHLIB) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHLIB) + $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists + +$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_AUTODIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_AUTODIR) + $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists + +$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHAUTODIR) + $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists + +$(INST_BIN)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_BIN) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_BIN) + $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists + +$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_SCRIPT) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_SCRIPT) + $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists + +$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_MAN1DIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN1DIR) + $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists + +$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL + $(NOECHO) $(MKPATH) $(INST_MAN3DIR) + $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN3DIR) + $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists + + + +# --- MakeMaker linkext section: + +linkext :: dynamic + $(NOECHO) $(NOOP) + + +# --- MakeMaker dlsyms section: + + +# --- MakeMaker dynamic_bs section: + +BOOTSTRAP = + + +# --- MakeMaker dynamic section: + +dynamic :: $(FIRST_MAKEFILE) config $(INST_BOOT) $(INST_DYNAMIC) + $(NOECHO) $(NOOP) + + +# --- MakeMaker dynamic_lib section: + + +# --- MakeMaker static section: + +## $(INST_PM) has been moved to the all: target. +## It remains here for awhile to allow for old usage: "make static" +static :: $(FIRST_MAKEFILE) $(INST_STATIC) + $(NOECHO) $(NOOP) + + +# --- MakeMaker static_lib section: + + +# --- MakeMaker manifypods section: + +POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--" +POD2MAN = $(POD2MAN_EXE) + + +manifypods : pure_all config \ + lib/LaTeX/ToUnicode.pm \ + lib/LaTeX/ToUnicode/Tables.pm + $(NOECHO) $(POD2MAN) --section=$(MAN3SECTION) --perm_rw=$(PERM_RW) -u \ + lib/LaTeX/ToUnicode.pm $(INST_MAN3DIR)/LaTeX::ToUnicode.$(MAN3EXT) \ + lib/LaTeX/ToUnicode/Tables.pm $(INST_MAN3DIR)/LaTeX::ToUnicode::Tables.$(MAN3EXT) + + + + +# --- MakeMaker processPL section: + + +# --- MakeMaker installbin section: + + +# --- MakeMaker subdirs section: + +# none + +# --- MakeMaker clean_subdirs section: +clean_subdirs : + $(NOECHO) $(NOOP) + + +# --- MakeMaker clean section: + +# Delete temporary files but do not touch installed files. We don't delete +# the Makefile here so a later make realclean still has a makefile to use. + +clean :: clean_subdirs + - $(RM_F) \ + $(BASEEXT).bso $(BASEEXT).def \ + $(BASEEXT).exp $(BASEEXT).x \ + $(BOOTSTRAP) $(INST_ARCHAUTODIR)/extralibs.all \ + $(INST_ARCHAUTODIR)/extralibs.ld $(MAKE_APERL_FILE) \ + *$(LIB_EXT) *$(OBJ_EXT) \ + *perl.core MYMETA.json \ + MYMETA.yml blibdirs.ts \ + core core.*perl.*.? \ + core.[0-9] core.[0-9][0-9] \ + core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] \ + core.[0-9][0-9][0-9][0-9][0-9] lib$(BASEEXT).def \ + mon.out perl \ + perl$(EXE_EXT) perl.exe \ + perlmain.c pm_to_blib \ + pm_to_blib.ts so_locations \ + tmon.out + - $(RM_RF) \ + blib + $(NOECHO) $(RM_F) $(MAKEFILE_OLD) + - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL) + + +# --- MakeMaker realclean_subdirs section: +# so clean is forced to complete before realclean_subdirs runs +realclean_subdirs : clean + $(NOECHO) $(NOOP) + + +# --- MakeMaker realclean section: +# Delete temporary files (via clean) and also delete dist files +realclean purge :: realclean_subdirs + - $(RM_F) \ + $(FIRST_MAKEFILE) $(MAKEFILE_OLD) + - $(RM_RF) \ + $(DISTVNAME) + + +# --- MakeMaker metafile section: +metafile : create_distdir + $(NOECHO) $(ECHO) Generating META.yml + $(NOECHO) $(ECHO) '---' > META_new.yml + $(NOECHO) $(ECHO) 'abstract: '\''Convert LaTeX commands to Unicode'\''' >> META_new.yml + $(NOECHO) $(ECHO) 'author:' >> META_new.yml + $(NOECHO) $(ECHO) ' - '\''Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>'\''' >> META_new.yml + $(NOECHO) $(ECHO) 'build_requires: {}' >> META_new.yml + $(NOECHO) $(ECHO) 'configure_requires:' >> META_new.yml + $(NOECHO) $(ECHO) ' ExtUtils::MakeMaker: '\''6.31'\''' >> META_new.yml + $(NOECHO) $(ECHO) 'dynamic_config: 1' >> META_new.yml + $(NOECHO) $(ECHO) 'generated_by: '\''ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010'\''' >> META_new.yml + $(NOECHO) $(ECHO) 'license: perl' >> META_new.yml + $(NOECHO) $(ECHO) 'meta-spec:' >> META_new.yml + $(NOECHO) $(ECHO) ' url: http://module-build.sourceforge.net/META-spec-v1.4.html' >> META_new.yml + $(NOECHO) $(ECHO) ' version: '\''1.4'\''' >> META_new.yml + $(NOECHO) $(ECHO) 'name: LaTeX-ToUnicode' >> META_new.yml + $(NOECHO) $(ECHO) 'no_index:' >> META_new.yml + $(NOECHO) $(ECHO) ' directory:' >> META_new.yml + $(NOECHO) $(ECHO) ' - t' >> META_new.yml + $(NOECHO) $(ECHO) ' - inc' >> META_new.yml + $(NOECHO) $(ECHO) 'requires: {}' >> META_new.yml + $(NOECHO) $(ECHO) 'version: '\''0.11'\''' >> META_new.yml + $(NOECHO) $(ECHO) 'x_serialization_backend: '\''CPAN::Meta::YAML version 0.018'\''' >> META_new.yml + -$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml + $(NOECHO) $(ECHO) Generating META.json + $(NOECHO) $(ECHO) '{' > META_new.json + $(NOECHO) $(ECHO) ' "abstract" : "Convert LaTeX commands to Unicode",' >> META_new.json + $(NOECHO) $(ECHO) ' "author" : [' >> META_new.json + $(NOECHO) $(ECHO) ' "Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com>"' >> META_new.json + $(NOECHO) $(ECHO) ' ],' >> META_new.json + $(NOECHO) $(ECHO) ' "dynamic_config" : 1,' >> META_new.json + $(NOECHO) $(ECHO) ' "generated_by" : "ExtUtils::MakeMaker version 7.44, CPAN::Meta::Converter version 2.150010",' >> META_new.json + $(NOECHO) $(ECHO) ' "license" : [' >> META_new.json + $(NOECHO) $(ECHO) ' "perl_5"' >> META_new.json + $(NOECHO) $(ECHO) ' ],' >> META_new.json + $(NOECHO) $(ECHO) ' "meta-spec" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",' >> META_new.json + $(NOECHO) $(ECHO) ' "version" : 2' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "name" : "LaTeX-ToUnicode",' >> META_new.json + $(NOECHO) $(ECHO) ' "no_index" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "directory" : [' >> META_new.json + $(NOECHO) $(ECHO) ' "t",' >> META_new.json + $(NOECHO) $(ECHO) ' "inc"' >> META_new.json + $(NOECHO) $(ECHO) ' ]' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "prereqs" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "build" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "requires" : {}' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "configure" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "requires" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "ExtUtils::MakeMaker" : "6.31"' >> META_new.json + $(NOECHO) $(ECHO) ' }' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "runtime" : {' >> META_new.json + $(NOECHO) $(ECHO) ' "requires" : {}' >> META_new.json + $(NOECHO) $(ECHO) ' }' >> META_new.json + $(NOECHO) $(ECHO) ' },' >> META_new.json + $(NOECHO) $(ECHO) ' "release_status" : "stable",' >> META_new.json + $(NOECHO) $(ECHO) ' "version" : "0.11",' >> META_new.json + $(NOECHO) $(ECHO) ' "x_serialization_backend" : "JSON::PP version 4.04"' >> META_new.json + $(NOECHO) $(ECHO) '}' >> META_new.json + -$(NOECHO) $(MV) META_new.json $(DISTVNAME)/META.json + + +# --- MakeMaker signature section: +signature : + cpansign -s + + +# --- MakeMaker dist_basics section: +distclean :: realclean distcheck + $(NOECHO) $(NOOP) + +distcheck : + $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck + +skipcheck : + $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck + +manifest : + $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest + +veryclean : realclean + $(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old + + + +# --- MakeMaker dist_core section: + +dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE) + $(NOECHO) $(ABSPERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \ + -e ' if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';' -- + +tardist : $(DISTVNAME).tar$(SUFFIX) + $(NOECHO) $(NOOP) + +uutardist : $(DISTVNAME).tar$(SUFFIX) + uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu + $(NOECHO) $(ECHO) 'Created $(DISTVNAME).tar$(SUFFIX)_uu' + +$(DISTVNAME).tar$(SUFFIX) : distdir + $(PREOP) + $(TO_UNIX) + $(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME) + $(RM_RF) $(DISTVNAME) + $(COMPRESS) $(DISTVNAME).tar + $(NOECHO) $(ECHO) 'Created $(DISTVNAME).tar$(SUFFIX)' + $(POSTOP) + +zipdist : $(DISTVNAME).zip + $(NOECHO) $(NOOP) + +$(DISTVNAME).zip : distdir + $(PREOP) + $(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME) + $(RM_RF) $(DISTVNAME) + $(NOECHO) $(ECHO) 'Created $(DISTVNAME).zip' + $(POSTOP) + +shdist : distdir + $(PREOP) + $(SHAR) $(DISTVNAME) > $(DISTVNAME).shar + $(RM_RF) $(DISTVNAME) + $(NOECHO) $(ECHO) 'Created $(DISTVNAME).shar' + $(POSTOP) + + +# --- MakeMaker distdir section: +create_distdir : + $(RM_RF) $(DISTVNAME) + $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \ + -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');" + +distdir : create_distdir distmeta + $(NOECHO) $(NOOP) + + + +# --- MakeMaker dist_test section: +disttest : distdir + cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL + cd $(DISTVNAME) && $(MAKE) $(PASTHRU) + cd $(DISTVNAME) && $(MAKE) test $(PASTHRU) + + + +# --- MakeMaker dist_ci section: +ci : + $(ABSPERLRUN) -MExtUtils::Manifest=maniread -e '@all = sort keys %{ maniread() };' \ + -e 'print(qq{Executing $(CI) @all\n});' \ + -e 'system(qq{$(CI) @all}) == 0 or die $$!;' \ + -e 'print(qq{Executing $(RCS_LABEL) ...\n});' \ + -e 'system(qq{$(RCS_LABEL) @all}) == 0 or die $$!;' -- + + +# --- MakeMaker distmeta section: +distmeta : create_distdir metafile + $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'exit unless -e q{META.yml};' \ + -e 'eval { maniadd({q{META.yml} => q{Module YAML meta-data (added by MakeMaker)}}) }' \ + -e ' or die "Could not add META.yml to MANIFEST: $${'\''@'\''}"' -- + $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'exit unless -f q{META.json};' \ + -e 'eval { maniadd({q{META.json} => q{Module JSON meta-data (added by MakeMaker)}}) }' \ + -e ' or die "Could not add META.json to MANIFEST: $${'\''@'\''}"' -- + + + +# --- MakeMaker distsignature section: +distsignature : distmeta + $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{SIGNATURE} => q{Public-key signature (added by MakeMaker)}}) }' \ + -e ' or die "Could not add SIGNATURE to MANIFEST: $${'\''@'\''}"' -- + $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE + cd $(DISTVNAME) && cpansign -s + + + +# --- MakeMaker install section: + +install :: pure_install doc_install + $(NOECHO) $(NOOP) + +install_perl :: pure_perl_install doc_perl_install + $(NOECHO) $(NOOP) + +install_site :: pure_site_install doc_site_install + $(NOECHO) $(NOOP) + +install_vendor :: pure_vendor_install doc_vendor_install + $(NOECHO) $(NOOP) + +pure_install :: pure_$(INSTALLDIRS)_install + $(NOECHO) $(NOOP) + +doc_install :: doc_$(INSTALLDIRS)_install + $(NOECHO) $(NOOP) + +pure__install : pure_site_install + $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site + +doc__install : doc_site_install + $(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site + +pure_perl_install :: all + $(NOECHO) $(MOD_INSTALL) \ + read "$(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist" \ + write "$(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist" \ + "$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \ + "$(INST_ARCHLIB)" "$(DESTINSTALLARCHLIB)" \ + "$(INST_BIN)" "$(DESTINSTALLBIN)" \ + "$(INST_SCRIPT)" "$(DESTINSTALLSCRIPT)" \ + "$(INST_MAN1DIR)" "$(DESTINSTALLMAN1DIR)" \ + "$(INST_MAN3DIR)" "$(DESTINSTALLMAN3DIR)" + $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ + "$(SITEARCHEXP)/auto/$(FULLEXT)" + + +pure_site_install :: all + $(NOECHO) $(MOD_INSTALL) \ + read "$(SITEARCHEXP)/auto/$(FULLEXT)/.packlist" \ + write "$(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist" \ + "$(INST_LIB)" "$(DESTINSTALLSITELIB)" \ + "$(INST_ARCHLIB)" "$(DESTINSTALLSITEARCH)" \ + "$(INST_BIN)" "$(DESTINSTALLSITEBIN)" \ + "$(INST_SCRIPT)" "$(DESTINSTALLSITESCRIPT)" \ + "$(INST_MAN1DIR)" "$(DESTINSTALLSITEMAN1DIR)" \ + "$(INST_MAN3DIR)" "$(DESTINSTALLSITEMAN3DIR)" + $(NOECHO) $(WARN_IF_OLD_PACKLIST) \ + "$(PERL_ARCHLIB)/auto/$(FULLEXT)" + +pure_vendor_install :: all + $(NOECHO) $(MOD_INSTALL) \ + read "$(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist" \ + write "$(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist" \ + "$(INST_LIB)" "$(DESTINSTALLVENDORLIB)" \ + "$(INST_ARCHLIB)" "$(DESTINSTALLVENDORARCH)" \ + "$(INST_BIN)" "$(DESTINSTALLVENDORBIN)" \ + "$(INST_SCRIPT)" "$(DESTINSTALLVENDORSCRIPT)" \ + "$(INST_MAN1DIR)" "$(DESTINSTALLVENDORMAN1DIR)" \ + "$(INST_MAN3DIR)" "$(DESTINSTALLVENDORMAN3DIR)" + + +doc_perl_install :: all + $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod" + -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)" + -$(NOECHO) $(DOC_INSTALL) \ + "Module" "$(NAME)" \ + "installed into" "$(INSTALLPRIVLIB)" \ + LINKTYPE "$(LINKTYPE)" \ + VERSION "$(VERSION)" \ + EXE_FILES "$(EXE_FILES)" \ + >> "$(DESTINSTALLARCHLIB)/perllocal.pod" + +doc_site_install :: all + $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod" + -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)" + -$(NOECHO) $(DOC_INSTALL) \ + "Module" "$(NAME)" \ + "installed into" "$(INSTALLSITELIB)" \ + LINKTYPE "$(LINKTYPE)" \ + VERSION "$(VERSION)" \ + EXE_FILES "$(EXE_FILES)" \ + >> "$(DESTINSTALLARCHLIB)/perllocal.pod" + +doc_vendor_install :: all + $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod" + -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)" + -$(NOECHO) $(DOC_INSTALL) \ + "Module" "$(NAME)" \ + "installed into" "$(INSTALLVENDORLIB)" \ + LINKTYPE "$(LINKTYPE)" \ + VERSION "$(VERSION)" \ + EXE_FILES "$(EXE_FILES)" \ + >> "$(DESTINSTALLARCHLIB)/perllocal.pod" + + +uninstall :: uninstall_from_$(INSTALLDIRS)dirs + $(NOECHO) $(NOOP) + +uninstall_from_perldirs :: + $(NOECHO) $(UNINSTALL) "$(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist" + +uninstall_from_sitedirs :: + $(NOECHO) $(UNINSTALL) "$(SITEARCHEXP)/auto/$(FULLEXT)/.packlist" + +uninstall_from_vendordirs :: + $(NOECHO) $(UNINSTALL) "$(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist" + + +# --- MakeMaker force section: +# Phony target to force checking subdirectories. +FORCE : + $(NOECHO) $(NOOP) + + +# --- MakeMaker perldepend section: + + +# --- MakeMaker makefile section: +# We take a very conservative approach here, but it's worth it. +# We move Makefile to Makefile.old here to avoid gnu make looping. +$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP) + $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?" + $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..." + -$(NOECHO) $(RM_F) $(MAKEFILE_OLD) + -$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) + - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL) + $(PERLRUN) Makefile.PL + $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <==" + $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command. <==" + $(FALSE) + + + +# --- MakeMaker staticmake section: + +# --- MakeMaker makeaperl section --- +MAP_TARGET = perl +FULLPERL = "/usr/local/Cellar/perl/5.32.0/bin/perl" +MAP_PERLINC = "-Iblib/arch" "-Iblib/lib" "-I/usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level" "-I/usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0" + +$(MAP_TARGET) :: $(MAKE_APERL_FILE) + $(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@ + +$(MAKE_APERL_FILE) : static $(FIRST_MAKEFILE) pm_to_blib + $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET) + $(NOECHO) $(PERLRUNINST) \ + Makefile.PL DIR="" \ + MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \ + MAKEAPERL=1 NORECURS=1 CCCDLFLAGS= + + +# --- MakeMaker test section: +TEST_VERBOSE=0 +TEST_TYPE=test_$(LINKTYPE) +TEST_FILE = test.pl +TEST_FILES = t/*.t +TESTDB_SW = -d + +testdb :: testdb_$(LINKTYPE) + $(NOECHO) $(NOOP) + +test :: $(TEST_TYPE) + $(NOECHO) $(NOOP) + +# Occasionally we may face this degenerate target: +test_ : test_dynamic + $(NOECHO) $(NOOP) + +subdirs-test_dynamic :: dynamic pure_all + +test_dynamic :: subdirs-test_dynamic + PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES) + +testdb_dynamic :: dynamic pure_all + PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) + +subdirs-test_static :: static pure_all + +test_static :: subdirs-test_static + PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES) + +testdb_static :: static pure_all + PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE) + + + +# --- MakeMaker ppd section: +# Creates a PPD (Perl Package Description) for a binary distribution. +ppd : + $(NOECHO) $(ECHO) '<SOFTPKG NAME="LaTeX-ToUnicode" VERSION="0.11">' > LaTeX-ToUnicode.ppd + $(NOECHO) $(ECHO) ' <ABSTRACT>Convert LaTeX commands to Unicode</ABSTRACT>' >> LaTeX-ToUnicode.ppd + $(NOECHO) $(ECHO) ' <AUTHOR>Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com></AUTHOR>' >> LaTeX-ToUnicode.ppd + $(NOECHO) $(ECHO) ' <IMPLEMENTATION>' >> LaTeX-ToUnicode.ppd + $(NOECHO) $(ECHO) ' <ARCHITECTURE NAME="darwin-thread-multi-2level-5.32" />' >> LaTeX-ToUnicode.ppd + $(NOECHO) $(ECHO) ' <CODEBASE HREF="" />' >> LaTeX-ToUnicode.ppd + $(NOECHO) $(ECHO) ' </IMPLEMENTATION>' >> LaTeX-ToUnicode.ppd + $(NOECHO) $(ECHO) '</SOFTPKG>' >> LaTeX-ToUnicode.ppd + + +# --- MakeMaker pm_to_blib section: + +pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM) + $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', q[$(PM_FILTER)], '\''$(PERM_DIR)'\'')' -- \ + 'lib/LaTeX/ToUnicode.pm' 'blib/lib/LaTeX/ToUnicode.pm' \ + 'lib/LaTeX/ToUnicode/Tables.pm' 'blib/lib/LaTeX/ToUnicode/Tables.pm' + $(NOECHO) $(TOUCH) pm_to_blib + + +# --- MakeMaker selfdocument section: + +# here so even if top_targets is overridden, these will still be defined +# gmake will silently still work if any are .PHONY-ed but nmake won't + +static :: + $(NOECHO) $(NOOP) + +dynamic :: + $(NOECHO) $(NOOP) + +config :: + $(NOECHO) $(NOOP) + + +# --- MakeMaker postamble section: + + +# End. diff --git a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile.PL b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile.PL index c7a5cb344b8..6b30688882b 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile.PL +++ b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile.PL @@ -20,7 +20,7 @@ my %WriteMakefileArgs = ( 'LICENSE' => 'perl', 'NAME' => 'LaTeX::ToUnicode', 'PREREQ_PM' => {}, - 'VERSION' => '0.05', + 'VERSION' => '0.11', 'test' => { 'TESTS' => 't/*.t' } diff --git a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile.TDS b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile.TDS deleted file mode 100644 index 7072d1f20d0..00000000000 --- a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/Makefile.TDS +++ /dev/null @@ -1,25 +0,0 @@ -# -# This is Makefile for TDS-compliant TeX distributions -# Written by Boris Veytsman, boris@varphi.com -# -# This file is in public domain -# -PREFIX = /usr/local - -LIBDIR = $(PREFIX)/scripts/bibtexperllibs - -DOCDIR = $(PREFIX)/doc/bibtex/bibtexperllibs - -all: - - - -install: - mkdir -p $(LIBDIR) - cp -r lib/* $(LIBDIR) - mkdir -p $(DOCDIR) - cp -r man/man3/* $(DOCDIR) - -clean: - -distclean: clean diff --git a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/README b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/README index 201e61b1514..0d1117f9ee3 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/README +++ b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/README @@ -1,11 +1,11 @@ This archive contains the distribution LaTeX-ToUnicode, -version 0.05: +version 0.11: Convert LaTeX commands to Unicode -This software is copyright (c) 2010-2016 by Gerhard Gossen and Boris Veytsman +This software is copyright (c) 2010-2020 by Gerhard Gossen, Boris Veytsman, and Karl Berry 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/LaTeX-ToUnicode/dist.ini b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/dist.ini index 5829e6a2cc5..5b9688af949 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/dist.ini +++ b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/dist.ini @@ -1,9 +1,9 @@ name = LaTeX-ToUnicode -author = Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com> +author = Gerhard Gossen <gerhard.gossen@googlemail.com> and Boris Veytsman <boris@varphi.com> and Karl Berry <karl@freefriends.org> license = Perl_5 copyright_holder = Gerhard Gossen and Boris Veytsman -copyright_year = 2010-2016 -version = 0.05 +copyright_year = 2010-2020 +version = 0.11 [@Classic] [Prereqs] diff --git a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/t/convert.t b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/t/convert.t index 11d80cfee0a..9bd7a4f3d46 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/t/convert.t +++ b/Master/texmf-dist/source/support/bibtexperllibs/LaTeX-ToUnicode/t/convert.t @@ -111,7 +111,7 @@ __DATA__ {\sl L'Informatique Nouvelle} L’Informatique Nouvelle {\small and} and {\ss} ß -{\TeX} TEX +{\TeX} TeX {\TM} ™ {\tt awk} awk {\^u} û diff --git a/Master/texmf-dist/source/support/bibtexperllibs/Makefile b/Master/texmf-dist/source/support/bibtexperllibs/Makefile index ba762569fea..6e7d5b47558 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/Makefile +++ b/Master/texmf-dist/source/support/bibtexperllibs/Makefile @@ -16,7 +16,7 @@ clean: distclean: install: - for dir in ${DIRS}; do cd $$dir; ${MAKE} -f Makefile.TDS install; cd ..; done + for dir in ${DIRS}; do (cd $$dir && ${MAKE} -f Makefile.TDS install); done archive: - COPYFILE_DISABLE=1 tar -czvf $(PACKAGE).tgz -C .. --exclude '*~' --exclude '*.tgz' --exclude CVS $(PACKAGE) + COPYFILE_DISABLE=1 tar -czvf $(PACKAGE).tgz -C .. --exclude '*~' --exclude '*.tgz' --exclude CVS --exclude .git --exclude .gitignore --exclude blib --exclude "*.tar.gz" $(PACKAGE) diff --git a/Master/texmf-dist/source/support/bibtexperllibs/README b/Master/texmf-dist/source/support/bibtexperllibs/README index c84191b77f4..4a09e6dd2ee 100644 --- a/Master/texmf-dist/source/support/bibtexperllibs/README +++ b/Master/texmf-dist/source/support/bibtexperllibs/README @@ -1,17 +1,23 @@ BibTeX Perl Libs - Version 1.5 - Gerhard Gossen and Boris Veytsman + Version 1.6 + Gerhard Gossen, Boris Veytsman and Karl Berry This package provides BibTeX related Perl libraries by Gerhard Gossen, -maintained and repackaged by Boris Veytsman for TeXLive and other +maintained and repackaged by Boris Veytsman for TeX Live 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. +Bug reports, source code: https://github.com/borisveytsman/bibtexperllibs +Releases: https://ctan.org/pkg/bibtexperllibs + Changes: + Version 1.6 2020-12-10 LaTeX::ToUnicode 0.11 for more ltx2crossrefxml support. + (No changes to BibTeX::Parser.) + version 1.5 Upgraded BibTeX::Parser to 1.02 (bugfixes) version 1.4 Upgraded BibTeX::Parser to 1.01 @@ -25,3 +31,6 @@ Changes: 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) + +This is free software; you can redistribute it and/or modify it under +the same terms as the Perl 5 programming language system itself. |