executablebooks / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
172 stars 50 forks source link

Produce collected reference list #1169

Open roaldarbol opened 2 months ago

roaldarbol commented 2 months ago

For a thesis or book, the reference list is often placed at the end, including the references made across the entire project. For exporting to PDF it would be necessary to be able to produce such a "collected" reference list (collected in lack of a better word right now).

Proposal

Create command/directive that produces the collected reference list.

Additional notes

For export to PDF, #1071 would also be necessary I think.

rowanc1 commented 2 months ago

For typst/latex, this will be up to how the template is setup, and I believe can mostly be done now, there is a very plain typst book template here: https://github.com/rowanc1/typst-book

Note that a limitation of typst is that they can only have one references section at the moment.

roaldarbol commented 2 months ago

Ah, so the small reference snippets in the web version are not automatically rendered in typst? That's great then! Yeah, then I can just add a bibliography to the template. Would still be nice to also have for web (what do y'all call "web"?😅), so I'll keep this open.

For reference, here is the typst issue: https://github.com/typst/typst/issues/1097