adsfolio.bibtex.parser
BibTeX parsing utilities.
- adsfolio.bibtex.parser.extract_cite_keys(tex_file)[source]
Extract citation keys from a LaTeX file.
- adsfolio.bibtex.parser.make_rawfile(bibtex_text, output_file)[source]
Create a summary file from BibTeX.
Write one line per entry whose key is a 19-character bibcode:
bibcode # author_summary || title
Entries are read with parse_bibtex_entries, so single-line entries, nested braces, and quoted or multiline fields are supported. The author summary is the sole surname, surnames joined by
+, or the first surname plus+Nwhen there are more than three authors.