python-bibtexparser
python-bibtexparser copied to clipboard
Bibtex parser for Python 3
Currently bibtexparser assumes that the letter case of the `title=` field is correct. It then escapes the case when it writes out the file, forcing it to be correct, and...
Hi, I have noticed that the current master does not throw PyParsing error anymore on some incorrect input: for instance, ``` from bibtexparser.bparser import BibTexParser btp = BibTexParser() print(btp.parse('@misc{I am...
This is a cross post from [Stack Overflow](https://stackoverflow.com/questions/58208565/bibtexparser-dump-bibdatabase-with-unicode-strings-to-string-with-latex-encodin). I can us BibtexParser to parse a BibTeX file with special characters encoded as LaTeX into a Unicode BibDatabase as follows ```python...
I can't see an option to make this happen? At present an entry is silently overwritten by a preceding entry with the same key.
If `test.bib` contains: ``` @string{test = ""} ``` and we call ``` import bibtexparser bibtexparser.load(open("test.bib")) ``` we get an exception (see below). The expected behavior would be to just define...
In #158 a customization to strip `{` and `}` from fields was introduced. The problem with the greedy approach in the current implementation is that it will also replace curly...
`order_entried_by` should support reverse order like: ```python writer = BibTexWriter() writer.order_entries_by = ('-year') ```
Hello, I would like to load 3 bib files: all.bib, topic1.bib, topic2.bib. Based on certain criteria (set by Jabref in the bib file) I would like to add an entry...
I get a crash when I run the following code: ``` import io import bibtexparser from bibtexparser.bparser import BibTexParser from bibtexparser.customization import * example = """ @Article{key, doi = {0000},...