From 27a8fbdf738f7fdb4c9a42ec99f08855dbed440b Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Wed, 19 Aug 2026 09:47:41 +0200 Subject: feat(templates): ordo booklet in six flavours, pinned by goldens LaTeX and groff are the print paths; HTML carries a print stylesheet; AsciiDoc, Markdown and plain text are the plain-consumer paths. AsciiDoc and Markdown use flavour none, and say so in a comment: their metacharacters are context-dependent and escaping them aggressively produces worse output than not escaping. The consequence is real and documented -- a feast name containing * renders as emphasis. Golden tests pin all six byte-for-byte for 2027. They prove the templates RENDER, not that they TYPESET; compiling needs TeX and groff, which is Task 13's opt-in make check-templates. --- test/dune | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'test/dune') diff --git a/test/dune b/test/dune index 1ef1b57..504a639 100644 --- a/test/dune +++ b/test/dune @@ -12,7 +12,19 @@ fixtures/lectio-ef-2005-2050.txt fixtures/missalemeum-ef-2026-2027.txt fixtures/missalemeum-ef-2038.txt - fixtures/missalemeum-ef-2035.txt) + fixtures/missalemeum-ef-2035.txt + ../templates/ef/ordo.tex + ../templates/ef/ordo.ms + ../templates/ef/ordo.html + ../templates/ef/ordo.adoc + ../templates/ef/ordo.md + ../templates/ef/ordo.txt + golden/ordo-2027.tex + golden/ordo-2027.ms + golden/ordo-2027.html + golden/ordo-2027.adoc + golden/ordo-2027.md + golden/ordo-2027.txt) (preprocess (pps ppx_sexp_conv))) -- cgit v1.3