aboutsummaryrefslogtreecommitdiff
path: root/test/golden/ordo-2027.md
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 11:42:25 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 11:42:25 +0200
commit900d1d781e62a08a1bda1285c8e8611a7baa0f2f (patch)
tree621e920076409f74e164cfc15016ad9910bcf40a /test/golden/ordo-2027.md
parente2e56ac5af290b60ea01037e58e8bc00545c021c (diff)
downloadcolitur-900d1d781e62a08a1bda1285c8e8611a7baa0f2f.tar.gz
colitur-900d1d781e62a08a1bda1285c8e8611a7baa0f2f.zip
feat(templates): week headers stop repeating the month name
Every ordo booklet week header used to print the month name again even though the month heading right above it already established it -- pure noise, repeated once per week for the whole year. All seven ordo flavours now print the week's own Roman numeral plus the span of dates it covers instead, e.g. "Hebdomada I (Ian 1-2)", with no month name on the line; the LaTeX table of contents and the Typst outline (built automatically from its own headings, so editing the heading is the whole fix there) read the same way. A single-day week (e.g. a lone trailing Sunday) renders "Ian 31", not "Ian 31-31": each flavour's dash sits inside an inverted single_day section, so the engine -- which cannot itself compare first_dom to last_dom -- never has to decide anything, it only follows the data. The dash character matches each flavour's own existing convention: LaTeX/Typst's own "--" ligature, groff's \(en escape (alongside its existing \(bu), HTML's &ndash; entity (alongside its existing &middot;), and a literal en dash for the three flavours with no escaping (adoc/md/txt). Every in-template comment describing the new fields is written without ever typing two curly braces together, including in the two comments this touches that used to embed a live {{month_name}}/{{term.week}} tag pair inside a LaTeX % comment -- harmless only because that whole line already started with %, not because the engine has any comment awareness (it has none). Goldens regenerated through test_render_golden.ml's own render path (Test_view.view_of + Template.render_string), not the CLI -- the two differ in default language and would otherwise pin output the test suite never produces. Grid goldens are untouched, matching the grid templates, which have no week header. Verified against real pdflatex (two passes) and typst compile output, not merely the golden pins: both flavours print "Hebdomada I (Ian 1-2)", "Hebdomada II (Ian 3-9)", "Hebdomada III (Ian 10-16)" as their first three week headers and identical text in the table of contents/outline, and both show "Hebdomada VI (Ian 31)" for January's own trailing single-day week with no dash.
Diffstat (limited to 'test/golden/ordo-2027.md')
-rw-r--r--test/golden/ordo-2027.md131
1 files changed, 67 insertions, 64 deletions
diff --git a/test/golden/ordo-2027.md b/test/golden/ordo-2027.md
index 583b4f6..ebf9710 100644
--- a/test/golden/ordo-2027.md
+++ b/test/golden/ordo-2027.md
@@ -15,14 +15,17 @@
the same header treatment as the paginated flavours, for structural
consistency -- a ### per week under each month's ##, walking
months>weeks>days (the week's own padded, in-month-guarded day
- list, not the flat unpadded one the old months>days loop used). -->
+ list, not the flat unpadded one the old months>days loop used). Each
+ week heading is its own Roman numeral plus the span of in-month dates
+ it covers (e.g. Hebdomada I (Ian 1-2)), not the month name again --
+ the month's own ## heading above already establishes it once. -->
# Ordo 2027 · Roman Missal, 1962 typical edition
## January
-### Week 1
+### Week I (Jan 1–2)
**1** The Octave Day of the Nativity
@@ -35,7 +38,7 @@
-### Week 2
+### Week II (Jan 3–9)
**3** The Holy Name of Jesus
@@ -75,7 +78,7 @@
-### Week 3
+### Week III (Jan 10–16)
**10** The Holy Family
@@ -119,7 +122,7 @@
-### Week 4
+### Week IV (Jan 17–23)
**17** 2nd Sunday after Epiphany
@@ -165,7 +168,7 @@
-### Week 5
+### Week V (Jan 24–30)
**24** Septuagesima Sunday
@@ -207,7 +210,7 @@
-### Week 6
+### Week VI (Jan 31)
**31** Sexagesima Sunday
@@ -218,7 +221,7 @@
## February
-### Week 1
+### Week I (Feb 1–6)
**1** St. Ignatius of Antioch
@@ -255,7 +258,7 @@
-### Week 2
+### Week II (Feb 7–13)
**7** Quinquagesima Sunday
@@ -299,7 +302,7 @@
-### Week 3
+### Week III (Feb 14–20)
**14** 1st Sunday of Lent
@@ -341,7 +344,7 @@
-### Week 4
+### Week IV (Feb 21–27)
**21** 2nd Sunday of Lent
@@ -389,7 +392,7 @@
-### Week 5
+### Week V (Feb 28)
**28** 3rd Sunday of Lent
@@ -400,7 +403,7 @@
## March
-### Week 1
+### Week I (Mar 1–6)
**1** Monday of the 3rd Week of Lent
@@ -439,7 +442,7 @@
-### Week 2
+### Week II (Mar 7–13)
**7** 4th Sunday of Lent
@@ -485,7 +488,7 @@
-### Week 3
+### Week III (Mar 14–20)
**14** Passion Sunday
@@ -529,7 +532,7 @@
-### Week 4
+### Week IV (Mar 21–27)
**21** Palm Sunday
@@ -567,7 +570,7 @@
-### Week 5
+### Week V (Mar 28–31)
**28** Easter Sunday
@@ -593,7 +596,7 @@
## April
-### Week 1
+### Week I (Apr 1–3)
**1** Thursday of Easter Week
@@ -611,7 +614,7 @@
-### Week 2
+### Week II (Apr 4–10)
**4** Low Sunday (Sunday in Easter Octave)
@@ -649,7 +652,7 @@
-### Week 3
+### Week III (Apr 11–17)
**11** 2nd Sunday after Easter
@@ -691,7 +694,7 @@
-### Week 4
+### Week IV (Apr 18–24)
**18** 3rd Sunday after Easter
@@ -731,7 +734,7 @@
-### Week 5
+### Week V (Apr 25–30)
**25** 4th Sunday after Easter
@@ -769,7 +772,7 @@
## May
-### Week 1
+### Week I (May 1)
**1** St. Joseph the Workman
@@ -777,7 +780,7 @@
-### Week 2
+### Week II (May 2–8)
**2** 5th Sunday after Easter
@@ -819,7 +822,7 @@
-### Week 3
+### Week III (May 9–15)
**9** Sunday after the Ascension
@@ -861,7 +864,7 @@
-### Week 4
+### Week IV (May 16–22)
**16** Pentecost Sunday (Whitsunday)
@@ -899,7 +902,7 @@
-### Week 5
+### Week V (May 23–29)
**23** Trinity Sunday
@@ -941,7 +944,7 @@
-### Week 6
+### Week VI (May 30–31)
**30** 2nd Sunday after Pentecost
@@ -959,7 +962,7 @@
## June
-### Week 1
+### Week I (Jun 1–5)
**1** St. Angela Merici
@@ -989,7 +992,7 @@
-### Week 2
+### Week II (Jun 6–12)
**6** 3rd Sunday after Pentecost
@@ -1031,7 +1034,7 @@
-### Week 3
+### Week III (Jun 13–19)
**13** 4th Sunday after Pentecost
@@ -1075,7 +1078,7 @@
-### Week 4
+### Week IV (Jun 20–26)
**20** 5th Sunday after Pentecost
@@ -1113,7 +1116,7 @@
-### Week 5
+### Week V (Jun 27–30)
**27** 6th Sunday after Pentecost
@@ -1141,7 +1144,7 @@
## July
-### Week 1
+### Week I (Jul 1–3)
**1** The Precious Blood of Our Lord Jesus Christ
@@ -1161,7 +1164,7 @@
-### Week 2
+### Week II (Jul 4–10)
**4** 7th Sunday after Pentecost
@@ -1199,7 +1202,7 @@
-### Week 3
+### Week III (Jul 11–17)
**11** 8th Sunday after Pentecost
@@ -1243,7 +1246,7 @@
-### Week 4
+### Week IV (Jul 18–24)
**18** 9th Sunday after Pentecost
@@ -1289,7 +1292,7 @@
-### Week 5
+### Week V (Jul 25–31)
**25** 10th Sunday after Pentecost
@@ -1338,7 +1341,7 @@
## August
-### Week 1
+### Week I (Aug 1–7)
**1** 11th Sunday after Pentecost
@@ -1382,7 +1385,7 @@
-### Week 2
+### Week II (Aug 8–14)
**8** 12th Sunday after Pentecost
@@ -1428,7 +1431,7 @@
-### Week 3
+### Week III (Aug 15–21)
**15** Assumption of the Blessed Virgin Mary
@@ -1470,7 +1473,7 @@
-### Week 4
+### Week IV (Aug 22–28)
**22** 14th Sunday after Pentecost
@@ -1514,7 +1517,7 @@
-### Week 5
+### Week V (Aug 29–31)
**29** 15th Sunday after Pentecost
@@ -1537,7 +1540,7 @@
## September
-### Week 1
+### Week I (Sep 1–4)
**1** Wednesday of the 15th Week of the Time after Pentecost
@@ -1564,7 +1567,7 @@
-### Week 2
+### Week II (Sep 5–11)
**5** 16th Sunday after Pentecost
@@ -1608,7 +1611,7 @@
-### Week 3
+### Week III (Sep 12–18)
**12** 17th Sunday after Pentecost
@@ -1652,7 +1655,7 @@
-### Week 4
+### Week IV (Sep 19–25)
**19** 18th Sunday after Pentecost
@@ -1698,7 +1701,7 @@
-### Week 5
+### Week V (Sep 26–30)
**26** 19th Sunday after Pentecost
@@ -1729,7 +1732,7 @@
## October
-### Week 1
+### Week I (Oct 1–2)
**1** Friday of the 19th Week of the Time after Pentecost
@@ -1744,7 +1747,7 @@
-### Week 2
+### Week II (Oct 3–9)
**3** 20th Sunday after Pentecost
@@ -1790,7 +1793,7 @@
-### Week 3
+### Week III (Oct 10–16)
**10** 21st Sunday after Pentecost
@@ -1828,7 +1831,7 @@
-### Week 4
+### Week IV (Oct 17–23)
**17** 22nd Sunday after Pentecost
@@ -1870,7 +1873,7 @@
-### Week 5
+### Week V (Oct 24–30)
**24** 23rd Sunday after Pentecost
@@ -1912,7 +1915,7 @@
-### Week 6
+### Week VI (Oct 31)
**31** Christ the King
@@ -1923,7 +1926,7 @@
## November
-### Week 1
+### Week I (Nov 1–6)
**1** All Saints
@@ -1958,7 +1961,7 @@
-### Week 2
+### Week II (Nov 7–13)
**7** 5th Sunday after Epiphany
@@ -2004,7 +2007,7 @@
-### Week 3
+### Week III (Nov 14–20)
**14** 6th Sunday after Epiphany
@@ -2044,7 +2047,7 @@
-### Week 4
+### Week IV (Nov 21–27)
**21** 24th and Last Sunday after Pentecost
@@ -2088,7 +2091,7 @@
-### Week 5
+### Week V (Nov 28–30)
**28** 1st Sunday of Advent
@@ -2113,7 +2116,7 @@
## December
-### Week 1
+### Week I (Dec 1–4)
**1** Wednesday of the 1st Week of Advent
@@ -2144,7 +2147,7 @@
-### Week 2
+### Week II (Dec 5–11)
**5** 2nd Sunday of Advent
@@ -2192,7 +2195,7 @@
-### Week 3
+### Week III (Dec 12–18)
**12** 3rd Sunday of Advent
@@ -2234,7 +2237,7 @@
-### Week 4
+### Week IV (Dec 19–25)
**19** 4th Sunday of Advent
@@ -2274,7 +2277,7 @@
-### Week 5
+### Week V (Dec 26–31)
**26** Sunday within the Octave of the Nativity