summaryrefslogtreecommitdiff
path: root/lib/naming/config.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/naming/config.mli')
-rw-r--r--lib/naming/config.mli10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/naming/config.mli b/lib/naming/config.mli
index a5205c4..0dda906 100644
--- a/lib/naming/config.mli
+++ b/lib/naming/config.mli
@@ -29,6 +29,16 @@ val overlays : t -> string list
val template : t -> string option
val format : t -> string option
+(** The template ESCAPING flavour ([latex] | [typst] | [groff] | [html] |
+ [xml] | [ics] | [none]).
+
+ Only consulted when the flavour cannot be inferred from the template's
+ own extension, which is the usual case -- a template named [.tex] needs
+ no setting. It exists for the template whose extension says nothing,
+ and getting it wrong produces output that is malformed rather than
+ merely ugly, so there is deliberately no silent fallback. *)
+val flavour : t -> string option
+
(** Which citation style to render a reference in: a language CODE, looked
up the same way {!lang} is, or a path -- but a DIFFERENT axis from
{!lang}: a language file's own [\[sigla\]] section IS a style