would like programmatic example of pybtex parse + change

Issue #42 open
John Owens created an issue

Howdy, the Friendly introduction is nice but perhaps not quite as fully featured as I'd like. Hard to find an API in the docs.

Here's what I like to see: a programmatic example where you: - input a bibliography (bibtex format) - iterate through all the papers - change every name in each paper from "Firstname Lastname" to "Firstname 'Dirty Old Man' Lastname" - output the bibliography (also bibtex format)

I'm having trouble with a) figuring out how to input and output a bib from the same file (there's some naming conflicts that appear tricky) and b) figuring out how to manipulate a specific bibliographic entry in the database. Great to have examples of both of these! Thanks, cool package.

Comments (4)

  1. Log in to comment