This repo uses an older Hugo/theme setup. For publications updates, a few gotchas needed fixing:
rmarkdown::render()default output creates a full standalone HTML page and breaks Hugo page styling. Useoutput_format = "blogdown::html_page"forcontent/publications/index.Rmd.- Publications are now rendered directly from the bib file into year-grouped lists with custom numbering (earliest paper is number 1).
bibtex::read.bib()can ignore malformed@articleentries missing required fields (e.g.journal), so updates rely on raw bib parsing.- Some preprint/publisher records in
natverse-papers.bibneeded journal backfilling:- DOI starts with
10.1101/->journal={bioRxiv} - DOI starts with
10.7554/eLife->journal={eLife}
- DOI starts with
Run:
Rscript scripts/update_publications.RThis script will:
- patch missing
journalfor the DOI rules above, - sort bib entries by year in
content/publications/natverse-papers.bib, - render grouped publications in
content/publications/index.htmlwithblogdown::html_page.