aboutsummaryrefslogtreecommitdiff
path: root/tools/bootstrap_lectionary.ml
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-19 10:48:06 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-19 10:48:06 +0200
commit18c60c3d0ad273374410dcc0118d82493f90da98 (patch)
tree97e6d9d234702527a7d711e219ea8828833974e9 /tools/bootstrap_lectionary.ml
parentbca7dabd2b436b8fe8de21736c59437b5ea990af (diff)
downloadcolitur-18c60c3d0ad273374410dcc0118d82493f90da98.tar.gz
colitur-18c60c3d0ad273374410dcc0118d82493f90da98.zip
docs(templates): fix a false claim in the worked example (F1)
The worked minimal template iterated the top-level, flat days list and claimed the naive {{name.la}} form would print the enclosing month's name there. It would not: with no {{#months}} wrapping it, the flat days list has no month anywhere on the scope stack, so the naive form on an unnamed day resolves to nothing, not to the month. Reproduced against the live engine before touching the page: the flat shape renders empty; the identical naive form nested inside {{#months}} genuinely does print the month's name on both unnamed days. The example now nests days inside months -- the shape every shipped template actually uses, and the shape the hazard needs to fire -- with a second, verified rendering showing the collision for real, and a closing note stating plainly that the flat shape does not reproduce it. SCOPE AND LOOKUP's own name-collision paragraph gained the same nesting precondition it was missing. Both rendered blocks were checked mechanically: extracted verbatim from the page source and diffed against a fresh colitur table run over the exact templates shown, byte for byte. One cosmetic fix along the way: a transition sentence embedded the full safe-idiom string inline via .B, which groff's justifier stretched into visibly wide gaps when rendered. Reworded to reference the idiom shown above instead of repeating it.
Diffstat (limited to 'tools/bootstrap_lectionary.ml')
0 files changed, 0 insertions, 0 deletions