How to add a field to an entry?
Issue #47
resolved
Hello, as recommended, I downloaded the latest version from bzr. I am successfully parsing a bibtex file but I would like to add a field to each entry. However, this returns an error:
from pybtex.database.input import bibtex
bibRefs = bibtex.Parser().parse_file(bibtexFile)
bibRefs.entries["test"]["file"] = []
...
TypeError: 'Entry' object does not support item assignment
How should I do it? Thanks, TF
Comments (3)
-
Account Deleted -
Account Deleted Perfect, thanks! (I don't know how to close this ticket.)
-
- changed status to resolved
- Log in to comment
Hi,
should be like this: