Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Literature updating: get_biblatex.py to use read_bibfile (dict) for handling bibfile and bibitems #553

Open
keelinm opened this issue Nov 30, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@keelinm
Copy link
Collaborator

keelinm commented Nov 30, 2023

The get_biblatex.py code currently accepts the bibfile as a string and returns new bibitems as string. For the flow of the code when updating the bib file automatically it would be smoother if it would make use of the read_bibfile method from processbib.py where the bibfile is given as a list of BibEntry objects which have keys and various fields.

@keelinm keelinm added the enhancement New feature or request label Nov 30, 2023
@drepeeters
Copy link
Contributor

I have created a new branch "dev_dre" in the Literature repo. Here, I have made some changes to at least make the get_biblatex.py code to accept the bibfile as a list of BibEntries instead of a string. @marinadamato I have tested this code but could you also test this during the next Literature update?

We still have to change how the new items are added to the .bib file as this still depends on a string format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants