Providing an operation for deleting a field.

Issue #97 new
Former user created an issue

I came across a need to remove the 'crossref' field of a bibtex entry. Since this operation is not provided, I now have in my code:

# delete the crossref field; using a hack (access to _dict and order)
try:
    entry.fields._dict.pop('crossref')
    entry.fields.order.remove('crossref')
except:
    pass

I will be happy to change it for a method call. Thanks!

Comments (0)

  1. Log in to comment