horton icon indicating copy to clipboard operation
horton copied to clipboard

Bibliography Data in new formats

Open matt-chan opened this issue 7 years ago • 3 comments

The bibliography data should be changed so that objects being created assign a biblio list attribute which stores the data for citing the method. As functions are called, they should modify the biblio attribute and append new citation data to it in the form of a string (much like how the current logger's biblio is implemented).

We also need an inspection object (for use at the glue-code level) to recurse over all the objects in locals() or globals() and collate all the biblio attributes into one and then print out citation data.

matt-chan avatar Jun 26 '17 21:06 matt-chan

We were talking about this (I forget if it was Stijn & Farnaz or Derrick & Carlos). We think it should be possible to not only dump a "user-readable" annotated bibiliography, but a bibtex and other (e.g., something that can be used by Endnote, Reference Manager, Papers, Mendeley, etc.) That makes it not only easy to find the right reference, but easy to insert it into the paper....

PaulWAyers avatar Jun 27 '17 00:06 PaulWAyers

Good point. The fastest way to do this is to keep a second property biblio_bibtex or something like that in the object and append a second string but in bibtex format.

On Tue, 27 Jun 2017 at 02:49 Paul W. Ayers [email protected] wrote:

We were talking about this (I forget if it was Stijn & Farnaz or Derrick & Carlos). We think it should be possible to not only dump a "user-readable" annotated bibiliography, but a bibtex and other (e.g., something that can be used by Endnote, Reference Manager, Papers, Mendeley, etc.) That makes it not only easy to find the right reference, but easy to insert it into the paper....

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/theochem/horton/issues/243#issuecomment-311221304, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_-NTAb0o9Ug520JHenQbGeKmjs-OnTks5sIFGCgaJpZM4OF4LW .

-- Matt

Sent from my phone

matt-chan avatar Jun 27 '17 06:06 matt-chan

I would just stick to one variable to store the references, e.g. using one dictionary per reference. This way you can easily derive bibtex, formatted citation or anything else if needed, without duplication of data.

tovrstra avatar Jun 27 '17 16:06 tovrstra