PreTeXtBook / pretext

PreTeXt: an authoring and publishing system for scholarly documents
https://pretextbook.org
Other
265 stars 208 forks source link

Plan for improved bibliography #2208

Open davidfarmer opened 3 months ago

davidfarmer commented 3 months ago

Step 1: Add more tags and be backward compatible with current type="bibtex" entries.

These new tags should be informed by Citation Style Language, and probably should use the tags in CSL-Json https://citeproc-js.readthedocs.io/en/latest/csl-json/markup.html

Step 2: Add a new publisher option to choose among the 10,000 available styles.

Step 3: Decide how to handle the case where a current type="bibtex" entry is handed to a CSL choice.

rbeezer commented 2 months ago

Initial experiments suggest that

https://github.com/citeproc-py/citeproc-py

can do most all of the hard work within our Python code. Ingests JSON or BibTeX, outputs very lightly marked-up HTML. CSL stylesheet is an input to the process, but requires no knowledge of how that works.