inSileco / inSileco.github.io

:globe_with_meridians: Our blog powered by blogdown
https://blog.insileco.io/
GNU General Public License v3.0
8 stars 1 forks source link

Bibliography #5

Closed KevCaz closed 1 year ago

KevCaz commented 7 years ago

We should definitely find an efficient way to handle references throughout the blog.

We could probably start with 1 .bib file per blog post to let the first author handle the references he needs (for a specific blog post). This could be easily done using the yaml-header. We could store the .bib files in the post-dedicated subfolder in asset, i.e. the subfolder where we should include all material the blog post requires.

Any thoughts? Any better strategy?

david-beauchesne commented 7 years ago

I feel like we need something more general if we start building series of lit reviews. Surely references will become duplicated as posts multiply. Does it make sense to duplicate the data as well?

KevCaz commented 7 years ago

Right! We can have bigger thematic .bib files. Actually whatever we are up to, it only requires to add the correct option in the head-yaml.

KevCaz commented 6 years ago

We have discussed this with Dave and we have got some insights into that question. It is possible to get a list of DOIs and then retrieve all ref from that list. There are R packages available that would make our life easier (and it may exist some efficient Javascript library and/or python libraries). I think we can implement a couple of functions to help us managing our bibliography for the blog and add them in letiRmisc.

david-beauchesne commented 6 years ago

I created a package, inSilecoRef, that updates a .bib file using a list of DOIs. See CONTRIBUTING file for a description of how to include in-text citations and a bibliography to posts. This is a first attempt at group reference management taking advantage of DOIs. There is still a need for development, but for now we can easily include a citations and a bibliography using common markdown citation procedures.

KevCaz commented 6 years ago

I will move the bib folder to static and change the R script accordingly as it currently upsets Hugo!

KevCaz commented 6 years ago

in 8e4cab677008688e14e535619b70e0ef7d246d62 I introduces new files. The R script now generates static/bib/DOIRef.bib then I use bibtool to merge static/bib/DOIRef.bib with static/bib/noDOIRef.bib (where ref without DOI are stored) into static/bib/inSilecoRef.bib