-
Notifications
You must be signed in to change notification settings - Fork 7
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
Generate publications list from BibTeX file #1507
Conversation
Script now updated to output publication list as a list of Example outputOverview of the model
Analyses using the model
Healthcare seeking behaviour
The The workflow for updating / adding publications would then be
|
Weirdly one of the tests in |
Thanks VERY VERY much for all this @matt-graham --- it seems a fabulous solution to me. I like the way the publications are displayed with the 'fold out' for additional info. Two quick questions:
|
We could do something like this but there are a couple of downsides
From a technical side pulling in the Zotero data automatically when rebuilding / deploying the website would be simple to do with current implementation, but because of above my inclination would be to stick with the slightly more clunky but safer approach we have at the moment.
I think technically this should be possible, as the Zotero API does nominally seem to support downloading attachments files but I don't seem to be able to get this to work with group library currently (for example this API call for a specific attachment item in library returns a HTTP 404 not found status). We could still support this in a roundabout way by having the files stored locally on the repository or on some other URL but then we would need someway to link the filename in the repository to Zotero item. For this sort of use-case it might be better to just rely on existing research archive options such as Zenodo or insitutional equivalents to allow uploading a report and then just indexing this with Zotero (which should generally be able to automatically pull in the metadata). |
I've added documentation on new process for adding publications to website to wiki: https://github.com/UCL/TLOmodel/wiki/Adding-or-updating-publications-on-website I'll merge this in now. |
Uses
pybtex
to generate a HTML publication list from a BibTeX file containing publication details for inclusion on website.The
note
field in BibTeX file is used to store section names to organize publications under to reflect current publications page. Compared to the current publications list, this adds a few extra details (abbreviated author list, publication year and journal) - see example output below.We could potentially make each publication entry expandable with additional details such as full author list, abstract and bibtex entry listed when expanded if that would be useful? @tbhallett tagging you for thoughts on what it would be useful to include!
Example output
Overview of the model
Analyses using the model
Healthcare seeking behaviour