Skip to content

change default formats on-the-fly and add documentation#5

Merged
urtzienriquez merged 2 commits into
mainfrom
dev
May 15, 2026
Merged

change default formats on-the-fly and add documentation#5
urtzienriquez merged 2 commits into
mainfrom
dev

Conversation

@urtzienriquez
Copy link
Copy Markdown
Owner

No description provided.

…mat changes

Add two new public API functions that change the default citation format directly without going through setup(), which would otherwise warn about an unconfigured backend:

  require("citeref").set_latex_format("citep")
  require("citeref").set_myst_format("cite:t")

Also fixes nocite missing from VALID_LATEX_FORMATS in config.lua (it was already defined in latex_formats.lua) and updates validation messages to dynamically list all valid formats.
@urtzienriquez urtzienriquez merged commit 81852b1 into main May 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant