pybliographer example and custom bibtex fields
Yaroslav Halchenko <[email protected]> Wed, 7 Mar 2007 13:15:59 -0500
| Newsgroups | gmane.comp.gnome.apps.pybliographer |
|---|---|
| Message-ID | <[email protected]> |
Finally I got into trying devel branch ;-) I've got 1.3.2 shipped in
debian experimental (thanks Chris Lawrence for packaging). I am after a
simple task -- enforce space between initials in authors' names. So I
thought to read bibtex file, operate on entries, save into the same or
different file.
As a first attempt I've tried an example: bibtex2bip.py and failed even
to read (parse) the file I fed to it:
,----
| $> python /usr/share/doc/pybliographer/examples/bibtex2bip.py fmridiff.bib fmridiff_out.bib Traceback (most recent call last):
| File "/usr/share/doc/pybliographer/examples/bibtex2bip.py", line 32, in ?
| reader.parse(fd, db)
| File "/var/lib/python-support/python2.4/Pyblio/Parsers/Syntax/BibTeX/__init__.py", line 390, in parse
| self.record_parse (data)
| File "/var/lib/python-support/python2.4/Pyblio/Parsers/Syntax/BibTeX/__init__.py", line 360, in record_parse
| self.record_dispatch (k.lower (), v)
| File "/var/lib/python-support/python2.4/Pyblio/Parsers/Syntax/BibTeX/__init__.py", line 337, in record_dispatch
| raise Exceptions.SchemaError (
| Pyblio.Exceptions.SchemaError: no attribute 'authoraddress' in document 'Article'
`---
is there a quick solution such as to allow custom fields?
Thanks in advance
--
.-.
=------------------------------ /v\ ----------------------------=
Keep in touch // \\ (yoh@|www.)onerussian.com
Yaroslav Halchenko /( )\ ICQ#: 60653192
Linux User ^^-^^ [175555]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV