Open rowanc1 opened 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. :-)
It would be great if the front matter had options to for instance order references alphabetically.
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:
{cite:p}
and {cite:t}
are consistent with the equivalent roles/commands in sphinx-cite and natbib. Especially natbib AFAIK is still considered good (best?) practice and is used in official journal templates (such as those in the Physical Review family). Consistency with it is a Good Thing™, both because it makes MyST easier to learn / port to, but also because we know that the feature set of natbib is very mature.
I think therefore that if new citation roles are to be introduced, they should line up with equivalent natbib commands. And if natbib does not contain equivalent commands, that should be considered strong indications that the role is probably not needed and may be detrimental.
From @drscotthawley:
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.