Expand description
Citation parsing for Pandoc’s citations extension.
Syntax:
- Bracketed:
[@doe99],[@doe99; @smith2000] - With locator:
[see @doe99, pp. 33-35] - Suppress author:
[-@doe99] - Author-in-text:
@doe99(bare, without brackets)
Constants§
Functions§
- has_
bookdown_ prefix - has_
custom_ crossref_ prefix - Whether
key’s prefix (the segment before the first-) appears incustom_prefixes. Unlikeis_quarto_crossref_key, this matches only the configured extension prefixes, so callers can tell an extension-injected cross-reference (whose target panache can’t resolve) apart from a built-in one (whose target it can and should validate). - is_
bookdown_ label - is_
crossref_ key - Like
is_quarto_crossref_key, but also accepts any key whose prefix appears incustom_prefixes. Used to recognize cross-reference prefixes injected by Quarto extensions (e.g. pseudocode’s@algo-) that aren’t built in. Matching is case-insensitive on the prefix, consistent with the built-in check. - is_
quarto_ crossref_ key - Try to parse a Quarto cross-reference key (e.g., @fig-plot, @eq-energy).