Skip to content

Instantly share code, notes, and snippets.

@bdarcus
Last active May 4, 2021 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdarcus/feb1edabe22df2c97aa6678838463c42 to your computer and use it in GitHub Desktop.
Save bdarcus/feb1edabe22df2c97aa6678838463c42 to your computer and use it in GitHub Desktop.

This provides a mapping from possible org-cite style names to different export formats.

For citeproc-org, the asterisk represents a suggested supported style.

org-cite styleorg-cite shortcutnatbibbiblatexciteproc-org
default (no style)\citep\autocitedefault
textt\citet\textcite*
authora\citeauthor\citeauthor*
titleti\citetitle*
yeary\citeyear\citeyear*
locatorsl\pnotecite*
nociten\nocite*

Note that CSL implementations like citeproc-el are based around biblatex autocite-like functionality as default. The CSL style controls how the default cite command is formatted. While this is less-flexible than biblatex, for example, it’s simpler for the user, as you use the same base command regardless of whether you are using an author-date, numeric, or note-based style.

Sub-styles

Nicolas suggested this, which would be a good way to handle some of the natbib and biblatex variants.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment