jupyter-book / mystmd

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

Numbered and alphabetically ordered citations #162

Open rowanc1 opened 1 year ago

rowanc1 commented 1 year ago

From @drscotthawley:

Seeing all the author names & years becomes a cumbersome eyesore when you're citing a lot of different papers in the course of a (introductory) paragraph. More compact numerical citation markers are strongly preferred for some of our use cases. :-)

I think that this would be a "site" template configuration (although I suppose it could be project/page level). Currently this is dealt with totally in the renderer/template.

Actions:

@drscotthawley if you have experience with this in other tools, I would love some help in the research side. From an implementation perspective this should be pretty easy -- just want to think through what the config options are called, and if we want any other citation like config while we are at it.

drscotthawley commented 1 year ago

@rowanc1 Agreed! A "site-wide" style would suit my needs as well, e.g. something in the YAML front matter. I notice that when I export to latex & PDF using the arxiv-twocolumn template, I do get numbered citations. But I would also like them for the website version. So whether that's done via some {cite:n} or a global option, I don't care. :-)

eurunuela commented 1 year ago

It would be great if the front matter had options to for instance order references alphabetically.

alcrene commented 1 year ago

I happened upon this thread by accident today and thought I could add my 2 cents based on what I’ve seen in research practice: