aboutsummaryrefslogtreecommitdiff
path: root/test/golden/ordo-2027.ms
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.ms
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.ms')
-rw-r--r--test/golden/ordo-2027.ms131
1 files changed, 67 insertions, 64 deletions
diff --git a/test/golden/ordo-2027.ms b/test/golden/ordo-2027.ms
index cfaada9..785a7ac 100644
--- a/test/golden/ordo-2027.ms
+++ b/test/golden/ordo-2027.ms
@@ -15,7 +15,10 @@
.\" treatment as the paginated flavours, for structural consistency -- a
.\" bold week run-in under each month's own .SH, walking 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.
+.\" old months>days flat loop over the month's own flat one. The run-in
+.\" 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 .SH heading above already establishes it once.
.TL
Ordo 2027 \(bu Roman Missal, 1962 typical edition
@@ -23,7 +26,7 @@ Ordo 2027 \(bu Roman Missal, 1962 typical edition
January
.LP
-\fBWeek 1\fR
+\fBWeek I (Jan 1\(en2)\fR
.IP "1" 4
The Octave Day of the Nativity
@@ -45,7 +48,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 2\fR
+\fBWeek II (Jan 3\(en9)\fR
.IP "3" 4
The Holy Name of Jesus
@@ -114,7 +117,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 3\fR
+\fBWeek III (Jan 10\(en16)\fR
.IP "10" 4
The Holy Family
@@ -187,7 +190,7 @@ St. Marcellus I
.LP
-\fBWeek 4\fR
+\fBWeek IV (Jan 17\(en23)\fR
.IP "17" 4
2nd Sunday after Epiphany
@@ -262,7 +265,7 @@ St. Raymond of PeƱafort
.LP
-\fBWeek 5\fR
+\fBWeek V (Jan 24\(en30)\fR
.IP "24" 4
Septuagesima Sunday
@@ -333,7 +336,7 @@ St. Martina
.LP
-\fBWeek 6\fR
+\fBWeek VI (Jan 31)\fR
.IP "31" 4
Sexagesima Sunday
@@ -350,7 +353,7 @@ Sexagesima Sunday
February
.LP
-\fBWeek 1\fR
+\fBWeek I (Feb 1\(en6)\fR
.IP "1" 4
St. Ignatius of Antioch
@@ -412,7 +415,7 @@ St. Titus
.LP
-\fBWeek 2\fR
+\fBWeek II (Feb 7\(en13)\fR
.IP "7" 4
Quinquagesima Sunday
@@ -485,7 +488,7 @@ Saturday after Ash Wednesday
.LP
-\fBWeek 3\fR
+\fBWeek III (Feb 14\(en20)\fR
.IP "14" 4
1st Sunday of Lent
@@ -556,7 +559,7 @@ Lenten Ember Saturday
.LP
-\fBWeek 4\fR
+\fBWeek IV (Feb 21\(en27)\fR
.IP "21" 4
2nd Sunday of Lent
@@ -633,7 +636,7 @@ Saturday of the 2nd Week of Lent
.LP
-\fBWeek 5\fR
+\fBWeek V (Feb 28)\fR
.IP "28" 4
3rd Sunday of Lent
@@ -650,7 +653,7 @@ Saturday of the 2nd Week of Lent
March
.LP
-\fBWeek 1\fR
+\fBWeek I (Mar 1\(en6)\fR
.IP "1" 4
Monday of the 3rd Week of Lent
@@ -714,7 +717,7 @@ Saturday of the 3rd Week of Lent
.LP
-\fBWeek 2\fR
+\fBWeek II (Mar 7\(en13)\fR
.IP "7" 4
4th Sunday of Lent
@@ -789,7 +792,7 @@ Saturday of the 4th Week of Lent
.LP
-\fBWeek 3\fR
+\fBWeek III (Mar 14\(en20)\fR
.IP "14" 4
Passion Sunday
@@ -862,7 +865,7 @@ Saturday of the 1st Week of Passion Week
.LP
-\fBWeek 4\fR
+\fBWeek IV (Mar 21\(en27)\fR
.IP "21" 4
Palm Sunday
@@ -929,7 +932,7 @@ Holy Saturday
.LP
-\fBWeek 5\fR
+\fBWeek V (Mar 28\(en31)\fR
.IP "28" 4
Easter Sunday
@@ -973,7 +976,7 @@ Wednesday of Easter Week
April
.LP
-\fBWeek 1\fR
+\fBWeek I (Apr 1\(en3)\fR
.IP "1" 4
Thursday of Easter Week
@@ -1004,7 +1007,7 @@ Saturday of Easter Week
.LP
-\fBWeek 2\fR
+\fBWeek II (Apr 4\(en10)\fR
.IP "4" 4
Low Sunday (Sunday in Easter Octave)
@@ -1071,7 +1074,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 3\fR
+\fBWeek III (Apr 11\(en17)\fR
.IP "11" 4
2nd Sunday after Easter
@@ -1142,7 +1145,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 4\fR
+\fBWeek IV (Apr 18\(en24)\fR
.IP "18" 4
3rd Sunday after Easter
@@ -1211,7 +1214,7 @@ St. Fidelis of Sigmaringen
.LP
-\fBWeek 5\fR
+\fBWeek V (Apr 25\(en30)\fR
.IP "25" 4
4th Sunday after Easter
@@ -1275,7 +1278,7 @@ St. Catherine of Siena
May
.LP
-\fBWeek 1\fR
+\fBWeek I (May 1)\fR
.IP "1" 4
St. Joseph the Workman
@@ -1288,7 +1291,7 @@ St. Joseph the Workman
.LP
-\fBWeek 2\fR
+\fBWeek II (May 2\(en8)\fR
.IP "2" 4
5th Sunday after Easter
@@ -1359,7 +1362,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 3\fR
+\fBWeek III (May 9\(en15)\fR
.IP "9" 4
Sunday after the Ascension
@@ -1430,7 +1433,7 @@ Vigil of Pentecost
.LP
-\fBWeek 4\fR
+\fBWeek IV (May 16\(en22)\fR
.IP "16" 4
Pentecost Sunday (Whitsunday)
@@ -1497,7 +1500,7 @@ Pentecost Ember Saturday
.LP
-\fBWeek 5\fR
+\fBWeek V (May 23\(en29)\fR
.IP "23" 4
Trinity Sunday
@@ -1568,7 +1571,7 @@ St. Mary Magdalene de Pazzi
.LP
-\fBWeek 6\fR
+\fBWeek VI (May 30\(en31)\fR
.IP "30" 4
2nd Sunday after Pentecost
@@ -1596,7 +1599,7 @@ Queenship of the Blessed Virgin Mary
June
.LP
-\fBWeek 1\fR
+\fBWeek I (Jun 1\(en5)\fR
.IP "1" 4
St. Angela Merici
@@ -1647,7 +1650,7 @@ St. Boniface
.LP
-\fBWeek 2\fR
+\fBWeek II (Jun 6\(en12)\fR
.IP "6" 4
3rd Sunday after Pentecost
@@ -1718,7 +1721,7 @@ St. John of San Fecundo
.LP
-\fBWeek 3\fR
+\fBWeek III (Jun 13\(en19)\fR
.IP "13" 4
4th Sunday after Pentecost
@@ -1791,7 +1794,7 @@ St. Julia of Falconieri
.LP
-\fBWeek 4\fR
+\fBWeek IV (Jun 20\(en26)\fR
.IP "20" 4
5th Sunday after Pentecost
@@ -1858,7 +1861,7 @@ Sts. John & Paul
.LP
-\fBWeek 5\fR
+\fBWeek V (Jun 27\(en30)\fR
.IP "27" 4
6th Sunday after Pentecost
@@ -1904,7 +1907,7 @@ In Commemoratione Sancti Pauli Apostoli
July
.LP
-\fBWeek 1\fR
+\fBWeek I (Jul 1\(en3)\fR
.IP "1" 4
The Precious Blood of Our Lord Jesus Christ
@@ -1937,7 +1940,7 @@ St. Irenaeus
.LP
-\fBWeek 2\fR
+\fBWeek II (Jul 4\(en10)\fR
.IP "4" 4
7th Sunday after Pentecost
@@ -2004,7 +2007,7 @@ Seven Holy Brothers and Sts. Rufina & Secunda
.LP
-\fBWeek 3\fR
+\fBWeek III (Jul 11\(en17)\fR
.IP "11" 4
8th Sunday after Pentecost
@@ -2077,7 +2080,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 4\fR
+\fBWeek IV (Jul 18\(en24)\fR
.IP "18" 4
9th Sunday after Pentecost
@@ -2152,7 +2155,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 5\fR
+\fBWeek V (Jul 25\(en31)\fR
.IP "25" 4
10th Sunday after Pentecost
@@ -2231,7 +2234,7 @@ St. Ignatius Loyola
August
.LP
-\fBWeek 1\fR
+\fBWeek I (Aug 1\(en7)\fR
.IP "1" 4
11th Sunday after Pentecost
@@ -2304,7 +2307,7 @@ St. Cajetan
.LP
-\fBWeek 2\fR
+\fBWeek II (Aug 8\(en14)\fR
.IP "8" 4
12th Sunday after Pentecost
@@ -2379,7 +2382,7 @@ Vigil of the Assumption
.LP
-\fBWeek 3\fR
+\fBWeek III (Aug 15\(en21)\fR
.IP "15" 4
Assumption of the Blessed Virgin Mary
@@ -2450,7 +2453,7 @@ St. Jane Frances de Chantal
.LP
-\fBWeek 4\fR
+\fBWeek IV (Aug 22\(en28)\fR
.IP "22" 4
14th Sunday after Pentecost
@@ -2523,7 +2526,7 @@ St. Augustine
.LP
-\fBWeek 5\fR
+\fBWeek V (Aug 29\(en31)\fR
.IP "29" 4
15th Sunday after Pentecost
@@ -2560,7 +2563,7 @@ St. Raymond Nonnatus
September
.LP
-\fBWeek 1\fR
+\fBWeek I (Sep 1\(en4)\fR
.IP "1" 4
Wednesday of the 15th Week of the Time after Pentecost
@@ -2604,7 +2607,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 2\fR
+\fBWeek II (Sep 5\(en11)\fR
.IP "5" 4
16th Sunday after Pentecost
@@ -2677,7 +2680,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 3\fR
+\fBWeek III (Sep 12\(en18)\fR
.IP "12" 4
17th Sunday after Pentecost
@@ -2750,7 +2753,7 @@ St. Joseph of Cupertino
.LP
-\fBWeek 4\fR
+\fBWeek IV (Sep 19\(en25)\fR
.IP "19" 4
18th Sunday after Pentecost
@@ -2825,7 +2828,7 @@ September Ember Saturday
.LP
-\fBWeek 5\fR
+\fBWeek V (Sep 26\(en30)\fR
.IP "26" 4
19th Sunday after Pentecost
@@ -2878,7 +2881,7 @@ St. Jerome
October
.LP
-\fBWeek 1\fR
+\fBWeek I (Oct 1\(en2)\fR
.IP "1" 4
Friday of the 19th Week of the Time after Pentecost
@@ -2902,7 +2905,7 @@ Holy Guardian Angels
.LP
-\fBWeek 2\fR
+\fBWeek II (Oct 3\(en9)\fR
.IP "3" 4
20th Sunday after Pentecost
@@ -2977,7 +2980,7 @@ St. John Leonardi
.LP
-\fBWeek 3\fR
+\fBWeek III (Oct 10\(en16)\fR
.IP "10" 4
21st Sunday after Pentecost
@@ -3044,7 +3047,7 @@ St. Hedwig
.LP
-\fBWeek 4\fR
+\fBWeek IV (Oct 17\(en23)\fR
.IP "17" 4
22nd Sunday after Pentecost
@@ -3115,7 +3118,7 @@ St. Anthony Mary Claret
.LP
-\fBWeek 5\fR
+\fBWeek V (Oct 24\(en30)\fR
.IP "24" 4
23rd Sunday after Pentecost
@@ -3186,7 +3189,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 6\fR
+\fBWeek VI (Oct 31)\fR
.IP "31" 4
Christ the King
@@ -3203,7 +3206,7 @@ Christ the King
November
.LP
-\fBWeek 1\fR
+\fBWeek I (Nov 1\(en6)\fR
.IP "1" 4
All Saints
@@ -3263,7 +3266,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 2\fR
+\fBWeek II (Nov 7\(en13)\fR
.IP "7" 4
5th Sunday after Epiphany
@@ -3338,7 +3341,7 @@ St. Didacus
.LP
-\fBWeek 3\fR
+\fBWeek III (Nov 14\(en20)\fR
.IP "14" 4
6th Sunday after Epiphany
@@ -3407,7 +3410,7 @@ St. Felix of Valois
.LP
-\fBWeek 4\fR
+\fBWeek IV (Nov 21\(en27)\fR
.IP "21" 4
24th and Last Sunday after Pentecost
@@ -3480,7 +3483,7 @@ Our Lady's Saturday Office
.LP
-\fBWeek 5\fR
+\fBWeek V (Nov 28\(en30)\fR
.IP "28" 4
1st Sunday of Advent
@@ -3519,7 +3522,7 @@ St. Andrew
December
.LP
-\fBWeek 1\fR
+\fBWeek I (Dec 1\(en4)\fR
.IP "1" 4
Wednesday of the 1st Week of Advent
@@ -3567,7 +3570,7 @@ St. Peter Chrysologus
.LP
-\fBWeek 2\fR
+\fBWeek II (Dec 5\(en11)\fR
.IP "5" 4
2nd Sunday of Advent
@@ -3644,7 +3647,7 @@ St. Damasus I
.LP
-\fBWeek 3\fR
+\fBWeek III (Dec 12\(en18)\fR
.IP "12" 4
3rd Sunday of Advent
@@ -3715,7 +3718,7 @@ Advent Ember Saturday
.LP
-\fBWeek 4\fR
+\fBWeek IV (Dec 19\(en25)\fR
.IP "19" 4
4th Sunday of Advent
@@ -3784,7 +3787,7 @@ The Nativity of Our Lord (Christmas)
.LP
-\fBWeek 5\fR
+\fBWeek V (Dec 26\(en31)\fR
.IP "26" 4
Sunday within the Octave of the Nativity