[PEPr] Comment on Structures::Structures_BibTex
| From: | Jesus M. Castagnetto | Date: | Wed, 26 Apr 2006 16:12:35 +0000 |
| Subject: | [PEPr] Comment on Structures::Structures_BibTex | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-42392@lists.php.net to get a copy of this message | ||
Jesus M. Castagnetto (http://pear.php.net/user/jmcastagnetto) has commented on the proposal for
Structures::Structures_BibTex.
Comment:
The parsing still needs some work. It can parse the example you put in your
discussion about BibTex parsing, but it fails with sample files that come
with the Latex/BibTex distribution (the TeTex package in most Linux
distributions).
Using the files listed below your parser gives errors of unbalanced
parenthesis (do you mean braces?):
/usr/share/doc/texmf/bibtex/base/btxdoc.bib
/usr/share/texmf/bibtex/bib/base/test.bib
/usr/share/texmf/bibtex/bib/base/xampl.bib
/usr/share/texmf/bibtex/bib/ams/mrabbrev.bib
The latter is a BibTex file with only abbreviations, so it is a good test
for that bit.
The xampl.bib contains crossreferences (among other things).
With other files, it does work fine (for example one from an R extension:
/usr/lib/R/site-library/mvtnorm/doc/litdb.bib)
Overall it is shaping well, but it still needs things like, mentioning the
line or entry where a fatal error happens in the error message, and better
parsing.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=386
--
Sent by PEPr, the automatic proposal system at http://pear.php.net