aboutsummaryrefslogtreecommitdiff
path: root/test/golden/ordo-2027.adoc
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.adoc
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.adoc')
-rw-r--r--test/golden/ordo-2027.adoc129
1 files changed, 66 insertions, 63 deletions
diff --git a/test/golden/ordo-2027.adoc b/test/golden/ordo-2027.adoc
index 45eb306..008cf16 100644
--- a/test/golden/ordo-2027.adoc
+++ b/test/golden/ordo-2027.adoc
@@ -19,6 +19,9 @@
// hand-built TOC and ordo.typ's outline already do. Walks
// months>weeks>days (the week's own padded, in-month-guarded day list) in
// place of the old months>days flat loop over the month's own flat one.
+// 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
:toc:
@@ -26,7 +29,7 @@
== January
-=== Week 1
+=== Week I (Jan 1–2)
*1* The Octave Day of the Nativity +
@@ -41,7 +44,7 @@ Epistle Titus 3:4-7 Gospel Luke 2:15-20
-=== Week 2
+=== Week II (Jan 3–9)
*3* The Holy Name of Jesus +
@@ -87,7 +90,7 @@ Epistle Titus 3:4-7 Gospel Luke 2:15-20
-=== Week 3
+=== Week III (Jan 10–16)
*10* The Holy Family +
@@ -135,7 +138,7 @@ Epistle 1 Pet 5:1-4; 5:10-11. Gospel Matt 16:13-19
-=== Week 4
+=== Week IV (Jan 17–23)
*17* 2nd Sunday after Epiphany +
@@ -184,7 +187,7 @@ Epistle Sir 31:8-11 Gospel Luke 12:35-40
Commemoration St. Emerentiana
-=== Week 5
+=== Week V (Jan 24–30)
*24* Septuagesima Sunday +
@@ -231,7 +234,7 @@ Epistle Sir 51:1-8; 51:12 Gospel Matt 25:1-13.
-=== Week 6
+=== Week VI (Jan 31)
*31* Sexagesima Sunday +
@@ -243,7 +246,7 @@ Epistle 2 Cor. 11:19-33; 12:1-9 Gospel Luke 8:4-15
== February
-=== Week 1
+=== Week I (Feb 1–6)
*1* St. Ignatius of Antioch +
@@ -284,7 +287,7 @@ Epistle Sir 44:16-27; 45:3-20 Gospel Luke 10:1-9
Commemoration St. Dorothy
-=== Week 2
+=== Week II (Feb 7–13)
*7* Quinquagesima Sunday +
@@ -332,7 +335,7 @@ Epistle Isa 58:9-14 Gospel Mark 6:47-56
-=== Week 3
+=== Week III (Feb 14–20)
*14* 1st Sunday of Lent +
@@ -379,7 +382,7 @@ Epistle 1 Thess. 5:14-23 Gospel Matt 17:1-9
-=== Week 4
+=== Week IV (Feb 21–27)
*21* 2nd Sunday of Lent +
@@ -429,7 +432,7 @@ Epistle Gen 27:6-40 Gospel Luke 15:11-32
Commemoration St. Gabriel of Our Lady of Sorrows
-=== Week 5
+=== Week V (Feb 28)
*28* 3rd Sunday of Lent +
@@ -441,7 +444,7 @@ Epistle Eph 5:1-9 Gospel Luke 11:14-28
== March
-=== Week 1
+=== Week I (Mar 1–6)
*1* Monday of the 3rd Week of Lent +
@@ -483,7 +486,7 @@ Epistle Dan 13:1-9, 15-17, 19-30, 33-62. Gospel John 8:1-11
Commemoration Sts. Felicitas & Perpetua
-=== Week 2
+=== Week II (Mar 7–13)
*7* 4th Sunday of Lent +
@@ -532,7 +535,7 @@ Epistle Isa 49:8-15 Gospel John 8:12-20
-=== Week 3
+=== Week III (Mar 14–20)
*14* Passion Sunday +
@@ -580,7 +583,7 @@ Epistle Jer 18:18-23 Gospel John 12:10-36
-=== Week 4
+=== Week IV (Mar 21–27)
*21* Palm Sunday +
@@ -625,7 +628,7 @@ Epistle Col 3:1-4 Gospel Matt 28:1-7
-=== Week 5
+=== Week V (Mar 28–31)
*28* Easter Sunday +
@@ -655,7 +658,7 @@ Epistle Acts 3:13-15; 3:17-19 Gospel John 21:1-14
== April
-=== Week 1
+=== Week I (Apr 1–3)
*1* Thursday of Easter Week +
@@ -676,7 +679,7 @@ Epistle 1 Pet 2:1-10 Gospel John 20:1-9
-=== Week 2
+=== Week II (Apr 4–10)
*4* Low Sunday (Sunday in Easter Octave) +
@@ -721,7 +724,7 @@ Epistle Ecclus 24:14-16 Gospel John 19:25-27
-=== Week 3
+=== Week III (Apr 11–17)
*11* 2nd Sunday after Easter +
@@ -768,7 +771,7 @@ Epistle Ecclus 24:14-16 Gospel John 19:25-27
Commemoration St. Anicetus
-=== Week 4
+=== Week IV (Apr 18–24)
*18* 3rd Sunday after Easter +
@@ -814,7 +817,7 @@ Epistle Wis 5:1-5 Gospel John 15:1-7
-=== Week 5
+=== Week V (Apr 25–30)
*25* 4th Sunday after Easter +
@@ -857,7 +860,7 @@ Epistle 2 Cor 10:17-18; 11:1-2 Gospel Matt 25:1-13.
== May
-=== Week 1
+=== Week I (May 1)
*1* St. Joseph the Workman +
@@ -866,7 +869,7 @@ Epistle Col. 3:14-15, 17, 23-24 Gospel Matt 13:54-58
-=== Week 2
+=== Week II (May 2–8)
*2* 5th Sunday after Easter +
@@ -913,7 +916,7 @@ Epistle Ecclus 24:14-16 Gospel John 19:25-27
-=== Week 3
+=== Week III (May 9–15)
*9* Sunday after the Ascension +
@@ -960,7 +963,7 @@ Epistle Acts 19:1-8. Gospel John 14:15-21.
-=== Week 4
+=== Week IV (May 16–22)
*16* Pentecost Sunday (Whitsunday) +
@@ -1005,7 +1008,7 @@ Epistle Rom 5:1-5. Gospel Luke 4:38-44.
-=== Week 5
+=== Week V (May 23–29)
*23* Trinity Sunday +
@@ -1052,7 +1055,7 @@ Epistle 2 Cor 10:17-18; 11:1-2 Gospel Matt 25:1-13.
-=== Week 6
+=== Week VI (May 30–31)
*30* 2nd Sunday after Pentecost +
@@ -1071,7 +1074,7 @@ Commemoration St. Petronilla
== June
-=== Week 1
+=== Week I (Jun 1–5)
*1* St. Angela Merici +
@@ -1105,7 +1108,7 @@ Epistle Ecclus 44:1-15 Gospel Matt 5:1-12
-=== Week 2
+=== Week II (Jun 6–12)
*6* 3rd Sunday after Pentecost +
@@ -1152,7 +1155,7 @@ Epistle Sir 31:8-11 Gospel Luke 12:35-40
Commemoration St. Basilidus
-=== Week 3
+=== Week III (Jun 13–19)
*13* 4th Sunday after Pentecost +
@@ -1200,7 +1203,7 @@ Epistle 2 Cor 10:17-18; 11:1-2 Gospel Matt 25:1-13.
Commemoration Sts. Gervasius and Protasius
-=== Week 4
+=== Week IV (Jun 20–26)
*20* 5th Sunday after Pentecost +
@@ -1245,7 +1248,7 @@ Epistle Eccli 44:10-15 Gospel Luke 12:1-8
-=== Week 5
+=== Week V (Jun 27–30)
*27* 6th Sunday after Pentecost +
@@ -1276,7 +1279,7 @@ Commemoration St. Peter
== July
-=== Week 1
+=== Week I (Jul 1–3)
*1* The Precious Blood of Our Lord Jesus Christ +
@@ -1298,7 +1301,7 @@ Epistle 2 Tim. 3:14-17; 4:1-5 Gospel Matt 10:28-33
-=== Week 2
+=== Week II (Jul 4–10)
*4* 7th Sunday after Pentecost +
@@ -1343,7 +1346,7 @@ Epistle Prov 31:10-31 Gospel Matt 12:46-50
-=== Week 3
+=== Week III (Jul 11–17)
*11* 8th Sunday after Pentecost +
@@ -1391,7 +1394,7 @@ Epistle Ecclus 24:14-16 Gospel Luke 11:27-28
Commemoration St. Alexis
-=== Week 4
+=== Week IV (Jul 18–24)
*18* 9th Sunday after Pentecost +
@@ -1440,7 +1443,7 @@ Epistle Ecclus 24:14-16 Gospel Luke 11:27-28
Commemoration St. Christina
-=== Week 5
+=== Week V (Jul 25–31)
*25* 10th Sunday after Pentecost +
@@ -1492,7 +1495,7 @@ Epistle 2 Tim. 2:8-10; 3:10-12. Gospel Luke 10:1-9
== August
-=== Week 1
+=== Week I (Aug 1–7)
*1* 11th Sunday after Pentecost +
@@ -1540,7 +1543,7 @@ Epistle Sir 31:8-11 Gospel Matt 6:24-33
Commemoration St. Donatus
-=== Week 2
+=== Week II (Aug 8–14)
*8* 12th Sunday after Pentecost +
@@ -1589,7 +1592,7 @@ Epistle Sir 24:23-31 Gospel Luke 11:27-28
Commemoration St. Eusebius
-=== Week 3
+=== Week III (Aug 15–21)
*15* Assumption of the Blessed Virgin Mary +
@@ -1636,7 +1639,7 @@ Epistle Prov 31:10-31 Gospel Matt 13:44-52.
-=== Week 4
+=== Week IV (Aug 22–28)
*22* 14th Sunday after Pentecost +
@@ -1684,7 +1687,7 @@ Epistle 2 Tim 4:1-8 Gospel Matt 5:13-19
Commemoration St. Hermes
-=== Week 5
+=== Week V (Aug 29–31)
*29* 15th Sunday after Pentecost +
@@ -1709,7 +1712,7 @@ Epistle Sir 31:8-11 Gospel Luke 12:35-40
== September
-=== Week 1
+=== Week I (Sep 1–4)
*1* Wednesday of the 15th Week of the Time after Pentecost +
@@ -1738,7 +1741,7 @@ Epistle Ecclus 24:14-16 Gospel Luke 11:27-28
-=== Week 2
+=== Week II (Sep 5–11)
*5* 16th Sunday after Pentecost +
@@ -1786,7 +1789,7 @@ Epistle Ecclus 24:14-16 Gospel Luke 11:27-28
Commemoration Sts. Protus & Hyacinth
-=== Week 3
+=== Week III (Sep 12–18)
*12* 17th Sunday after Pentecost +
@@ -1834,7 +1837,7 @@ Epistle 1 Cor 13:1-8 Gospel Matt 22:1-14
-=== Week 4
+=== Week IV (Sep 19–25)
*19* 18th Sunday after Pentecost +
@@ -1883,7 +1886,7 @@ Epistle Heb 9:2-12 Gospel Luke 13:6-17
-=== Week 5
+=== Week V (Sep 26–30)
*26* 19th Sunday after Pentecost +
@@ -1919,7 +1922,7 @@ Epistle 2 Tim 4:1-8 Gospel Matt 5:13-19
== October
-=== Week 1
+=== Week I (Oct 1–2)
*1* Friday of the 19th Week of the Time after Pentecost +
@@ -1935,7 +1938,7 @@ Epistle Exod 23:20-23 Gospel Matt 18:1-10
-=== Week 2
+=== Week II (Oct 3–9)
*3* 20th Sunday after Pentecost +
@@ -1984,7 +1987,7 @@ Epistle 2 Cor 4:1-6; 4:15-18 Gospel Luke 10:1-9
Commemoration St. Dionysius and companions
-=== Week 3
+=== Week III (Oct 10–16)
*10* 21st Sunday after Pentecost +
@@ -2029,7 +2032,7 @@ Epistle Prov 31:10-31 Gospel Matt 13:44-52.
-=== Week 4
+=== Week IV (Oct 17–23)
*17* 22nd Sunday after Pentecost +
@@ -2076,7 +2079,7 @@ Epistle Heb 7:23-27 Gospel Matt 24:42-47
-=== Week 5
+=== Week V (Oct 24–30)
*24* 23rd Sunday after Pentecost +
@@ -2123,7 +2126,7 @@ Epistle Ecclus 24:14-16 Gospel Luke 11:27-28
-=== Week 6
+=== Week VI (Oct 31)
*31* Christ the King +
@@ -2135,7 +2138,7 @@ Epistle Col 1:12-20. Gospel John 18:33-37
== November
-=== Week 1
+=== Week I (Nov 1–6)
*1* All Saints +
@@ -2175,7 +2178,7 @@ Epistle Ecclus 24:14-16 Gospel Luke 11:27-28
-=== Week 2
+=== Week II (Nov 7–13)
*7* 5th Sunday after Epiphany +
@@ -2224,7 +2227,7 @@ Epistle 1 Cor 4:9-14 Gospel Luke 12:32-34
-=== Week 3
+=== Week III (Nov 14–20)
*14* 6th Sunday after Epiphany +
@@ -2270,7 +2273,7 @@ Epistle 1 Cor. 4:9-14 Gospel Luke 12:32-34
-=== Week 4
+=== Week IV (Nov 21–27)
*21* 24th and Last Sunday after Pentecost +
@@ -2318,7 +2321,7 @@ Epistle Ecclus 24:14-16 Gospel Luke 11:27-28
-=== Week 5
+=== Week V (Nov 28–30)
*28* 1st Sunday of Advent +
@@ -2344,7 +2347,7 @@ Commemoration Tuesday of the 1st Week of Advent
== December
-=== Week 1
+=== Week I (Dec 1–4)
*1* Wednesday of the 1st Week of Advent +
@@ -2375,7 +2378,7 @@ Commemoration Saturday of the 1st Week of Advent +
Commemoration St. Barbara
-=== Week 2
+=== Week II (Dec 5–11)
*5* 2nd Sunday of Advent +
@@ -2425,7 +2428,7 @@ Epistle 1 Pet 5:1-4; 5:10-11. Gospel Matt 16:13-19
Commemoration Saturday of the 2nd Week of Advent
-=== Week 3
+=== Week III (Dec 12–18)
*12* 3rd Sunday of Advent +
@@ -2472,7 +2475,7 @@ Epistle 2 Thess 2:1-8 Gospel Luke 3:1-6
-=== Week 4
+=== Week IV (Dec 19–25)
*19* 4th Sunday of Advent +
@@ -2518,7 +2521,7 @@ Epistle Heb 1:1-12 Gospel John 1:1-14
-=== Week 5
+=== Week V (Dec 26–31)
*26* Sunday within the Octave of the Nativity +