1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
|
.TH COLITUR 1 "2026" "colitur" "User Commands"
.SH NAME
colitur \- deterministic liturgical calendar and lectionary engine (Roman rite, 1962)
.SH SYNOPSIS
.B colitur
.BR easter | temporal | day | readings | rubrics
.I YEAR
.br
.B colitur
.B temporal
.RI [ YEAR ]
.RB [ \-\-rite " ef\(brof" ]
.RB [ \-\-pretty ]
.RB [ \-\-month " N" " | " \-\-date " YYYY\-MM\-DD | " \-\-today ]
.br
.B colitur
.BR day | readings | rubrics
.RI [ YEAR ]
.RB [ \-\-year " YEAR" ]
.RB [ \-\-rite " ef\(brof" ]
.RB [ \-\-overlay " FILE" " ...]"
.RB [ \-\-lang " CODE\(brFILE" ]
.RB [ \-\-sigla\-style " CODE\(brFILE" ]
.RB [ \-\-sigla\-book " full\(brabbr" ]
.RB [ \-\-sigla\-tradition " NAME" ]
.RB [ \-\-raw ]
.RB [ \-\-pretty ]
.RB [ \-\-month " N" " | " \-\-date " YYYY\-MM\-DD | " \-\-today ]
.br
.B colitur
.B emit
.BI \-\-format " FMT"
.BI \-\-from " YEAR"
.BI \-\-to " YEAR"
.RB [ \-\-rite " ef\(brof" ]
.RB [ \-\-overlay " FILE" " ...]"
.RB [ \-\-dtstamp " STAMP" ]
.RB [ \-\-lang " CODE\(brFILE" ]
.RB [ \-\-sigla\-style " CODE\(brFILE" ]
.RB [ \-\-sigla\-book " full\(brabbr" ]
.RB [ \-\-sigla\-tradition " NAME" ]
.RB [ \-\-raw ]
.br
.B colitur
.BR table | render
.RI [ YEAR ]
.RB [ \-\-year " YEAR" ]
.BI \-\-template " FILE"
.RB [ \-\-rite " ef\(brof" ]
.RB [ \-\-flavour " FLAVOUR" ]
.RB [ \-\-overlay " FILE" " ...]"
.RB [ \-\-lang " CODE\(brFILE" ]
.RB [ \-\-sigla\-style " CODE\(brFILE" ]
.RB [ \-\-sigla\-book " full\(brabbr" ]
.RB [ \-\-sigla\-tradition " NAME" ]
.RB [ \-\-raw ]
.br
.B colitur
.B publish
.BI \-\-from " YEAR"
.BI \-\-to " YEAR"
.BI \-\-out " DIR"
.RB [ \-\-rite " ef\(brof" ]
.RB [ \-\-overlay " FILE" " ...]"
.RB [ \-\-prune ]
.RB [ \-\-dtstamp " STAMP" ]
.RB [ \-\-lang " CODE\(brFILE" ]
.RB [ \-\-sigla\-style " CODE\(brFILE" ]
.RB [ \-\-sigla\-book " full\(brabbr" ]
.RB [ \-\-sigla\-tradition " NAME" ]
.RB [ \-\-raw ]
.br
.B colitur
.B lang
.RB { \-\-list | \-\-dump " CODE" | \-\-check " FILE" }
.br
.B colitur
.B config
.B \-\-show
.br
.B colitur
.BR \-h | \-\-help
.SH DESCRIPTION
.\" --help was trimmed to one screen (2026-08-28); this page is now the only
.\" place the formats, file syntaxes and hazards are written down, which is
.\" what that help text tells the reader.
.B colitur
computes the liturgical calendar of the 1962 Roman Missal \(em the
Extraordinary Form \(em and the Mass reading citations for every day, entirely
offline and without a network. Its name is
.I computus liturgicus
crossed with the Latin
.IR colitur ,
"He is worshipped".
.PP
For each day it resolves the season, the week, the observed celebration with
its rank and colour, any commemorations, any transfers, and the day's Epistle
and Gospel. It emits reading
.I references
only \(em
.RB \(lq "Jn 3:16" \(rq
\(em and never scripture text.
.PP
The engine is total and deterministic over the whole domain
.BR "1583..9999" .
It reads no clock, draws no randomness, and given the same data produces the
same answer for any year in range. Years outside the domain are refused at the
boundary rather than approximated.
.PP
Each report covers 1 January to 31 December of the civil
.IR YEAR .
That is deliberately not a liturgical year, which is Advent\-anchored and
straddles two civil years;
.B colitur
resolves both liturgical years that touch the requested civil one and prints
the civil slice.
.SH COMMANDS
.TP
.BI easter " YEAR"
Easter and the movable feasts anchored to it \(em Ash Wednesday, Palm Sunday,
Ascension, Pentecost, Corpus Christi \(em one per line, as
.RI \(lq name " " date \(rq.
.TP
.BI temporal " YEAR"
The temporal cycle alone, one line per day, before the sanctoral calendar is
resolved against it. Chiefly useful for inspecting season and week boundaries
in isolation. Takes
.B \-\-rite
(default
.BR ef ,
see below): the OF's own temporal cycle has five seasons, no Septuagesima,
and every slug carries an "of\-" prefix rather than "ef\-", so
.B \-\-rite\ of
changes essentially every line.
.TP
.BI day " YEAR"
The resolved day identity, one line per day: the temporal cycle and the
sanctoral calendar reconciled by the rite's own rules of precedence,
occurrence, commemoration and transfer.
.TP
.BI readings " YEAR"
The Mass reading citations, one line per day.
.TP
.BI \-\-year " YEAR"
An alternative to the positional
.I YEAR
shown above, accepted (additively, not instead) on
.BR day ", " readings ", " rubrics ", " table " and " render :
.BR "colitur day \-\-year 2026"
means exactly what
.BR "colitur day 2026"
does. Naming both is fine as long as they agree; naming both with
.I different
years is a usage error, not one silently overriding the other.
.B emit
and
.B publish
do not take
.BR \-\-year :
they take a range instead
.RB ( "\-\-from Y \-\-to Y" ,
inclusive, including for a single year), and gain no second, redundant
spelling of the same thing.
.TP
.BR \-\-rite " " ef\(brof
Select the rite module.
.B ef
(the default \(em an invocation with no
.B \-\-rite
at all is byte\-identical to before this flag existed) computes the Roman
.B EF
(1962); the alternative,
.BR of ,
computes the Roman
.B OF
(the post\-1970 Missal, base calendar the 2002
.IR "Missale Romanum" ,
editio typica tertia). Accepted by
.BR day ", " readings ", " rubrics ", " temporal ", " emit ", " table ", " render " and " publish ;
refused, not silently ignored, on
.BR check / convert
(operate on an overlay file, not a computed year),
.B new\-overlay
(prints a static starter, no calendar computation), and
.BR lang / config
(answer naming/config questions orthogonal to any rite) \(em one line to
standard error and exit
.BR 2 .
.B easter
is refused too, but PROVEN rite\-invariant rather than merely unbuilt for
.BR of :
EF and OF reckon Easter on the identical Gregorian computus, so no second
value could ever change the six dates it prints.
.BR "colitur emit \-\-format csv \-\-rite of"
and
.BR "colitur publish \-\-rite of"
widen the CSV output with a 17th column,
.IR second ,
between
.I first
and
.IR gospel :
present, and usually empty, because a Sunday or solemnity genuinely carries
a Second reading (OLM 1981 Praenotanda n. 66.1) and a feria/feast/memorial
does not (n. 69.1); EF's own 16\-column header is unaffected, byte for byte,
because EF's citations never contain one \(em see
.B EMIT
below. A single
.B \-\-out
directory can hold both rites' own
.B publish
trees side by side
.RI ( ef/ ", " of/ ),
but not safely combined with
.BR \-\-prune :
see
.B PUBLISH
below.
The OF module is younger than the EF one: it has no published\-ordo witness
yet, its lectionary's English text is niedziela.pl's own translation
lineage (not the USA\-English one), and a handful of dates are known\-wrong
and pinned rather than fixed \(em see
.B LIMITATIONS
below.
.TP
.BI rubrics " YEAR"
Four rubrics of the Mass, one line per day: which formulary is actually
said \(em not always the day's own: a weekday with no proper resumes the
preceding Sunday's, a saint with no proper says his assigned Common, and
RG 78/309(a)'s votive Saturday Mass of Our Lady is said in place of an
unoccupied office's own \(em whether the Creed is said (RG 475\-476),
whether the Gloria in excelsis is said (RG 431\-432, deferring to the
Breviary's own Te Deum rule, nn. 237\-238, for RG 431(a)), and which
preface is said (RG 482\-499). See
.B OUTPUT FORMAT
below.
.TP
.B emit
Render a civil\-year range through one of five emitters \(em
.BR csv ", " json ", " sexp ", " xml " or " ics .
See
.B EMIT
below.
.TP
.BR table | render
Compute one civil year and render it through a user\-supplied template, in one
process.
.B table
and
.B render
are the same operation under two names \(em see
.B RENDERING
below for why there is no separate, stdin\-fed
.B render .
.TP
.B publish
Write the static tree that
.I is
this program's API: a civil\-year range rendered once, as files, so any web
server or git repository can serve it and nothing runs at request time. See
.B PUBLISH
below.
.TP
.BI convert " FILE" .ini
Convert a flat INI overlay to the S\-expression form, on standard output. The
conversion verifies its own output before emitting it: the generated text is
parsed back with the same function that loads an overlay, and must mean
exactly what the INI said. A separate step rather than teaching
.B \-\-overlay
to sniff the extension, so you can see what your INI became. See
.BR colitur\-overlay (5).
.TP
.B new\-overlay
Print a starter overlay file to standard output, for redirection. Every value
in it is a placeholder that will appear in
.B day
output if left unedited, so a half\-finished overlay is visible rather than
silently inert.
.TP
.BI check " FILE" ...
Load each overlay, apply it to the shipped calendar, and report what it does:
the directive counts, the slug each targets, and any directive that matched
nothing. Exits
.B 2
if a file fails to load or a directive found no target, so it composes into a
Makefile or a pre\-commit hook. It answers three narrow questions \(em does
the file parse, does every directive find its target, and what does the merged
result contain. It does
.I not
validate a calendar against the rubrics, and cannot: see
.B OVERLAYS
below.
.TP
.B lang \-\-list
List the language files this build can find, and each one's own declared
.BR fallback ,
if any.
.TP
.BI lang " " \-\-dump " CODE"
Print the named language's full key set, in INI form, to standard output
\(em a starting point for a new translation, or a way to diff two versions
of one. See
.B NAMING
below.
.TP
.BI lang " " \-\-check " FILE"
Report what a language file is
.B MISSING
(a real slug the engine can produce with no entry for it) and, separately,
any entry naming a slug that does not exist at all \(em a typo, which would
otherwise be silently dead. Exits
.B 1
if anything is unknown, so it composes into a Makefile or a pre\-commit
hook, the same way
.B check
does for an overlay. See
.B NAMING
below.
.TP
.B config \-\-show
Print every effective setting \(em
.IR lang ", " overlay ", " template ", " format ", " sigla_style ", "
.IR sigla_book " and " sigla_tradition
\(em its resolved value, and where it came from:
.BR flag ", " config " or " default .
See
.BR colitur\-config (5)
for the config file's location and precedence in full.
.TP
.BI \-\-overlay " FILE"
Apply a user calendar on top of the shipped one. Repeatable and ordered;
.BR day ", " readings ", " rubrics ", " emit ", " table ", " render " and " publish
only. See
.B OVERLAYS
below.
.TP
.BI \-\-format " FMT"
.RB ( "colitur emit" " only)"
One of
.BR csv ", " json ", " sexp ", " xml " or " ics .
Required. See
.B EMIT
below.
.TP
.BI \-\-from " YEAR" ", " \-\-to " YEAR"
.RB ( "colitur emit" " and " "colitur publish" " only)"
The inclusive civil\-year range to render, each
.B 1583..9999
as elsewhere.
.I FROM
must not be after
.IR TO .
Both required.
.TP
.BI \-\-dtstamp " STAMP"
.RB ( "colitur emit \-\-format ics" " and " "colitur publish" " only)"
Fix the feed's own DTSTAMP instead of the default
.IR YYYY0101T000000Z ,
where
.I YYYY
is the emitted year. Never a clock read either way \(em see
.B EMIT
below.
.TP
.BI \-\-out " DIR"
.RB ( "colitur publish" " only)"
The directory to write the static tree into. Created if it does not exist.
Required. See
.B PUBLISH
below.
.TP
.B \-\-prune
.RB ( "colitur publish" " only)"
Remove files a previous
.B publish
run into the same
.B \-\-out
wrote that this run did not rewrite. Never removes a file that is not
recorded in
.IR out /.colitur\-manifest ,
regardless of this flag. See
.B PUBLISH
below.
.TP
.BI \-\-year " YEAR"
.RB ( "colitur table" " and " "colitur render" " only)"
The civil year to compute,
.B 1583..9999
as elsewhere. Required.
.TP
.BI \-\-template " FILE"
.RB ( "colitur table" " and " "colitur render" " only)"
The template file to render the year through. Required. See
.B RENDERING
below.
.TP
.BI \-\-flavour " FLAVOUR"
.RB ( "colitur table" " and " "colitur render" " only)"
One of
.BR latex ", " typst ", " groff ", " html ", " xml ", " ics " or " none .
Overrides the flavour that would otherwise be inferred from
.BR \-\-template 's
own extension. See
.B RENDERING
below.
.TP
.BI \-\-lang " CODE\(brFILE"
.RB ( day ", " readings ", " emit ", " table ", " render " and " publish " only)"
Resolve display names through this language instead of the default.
.I CODE
(e.g.
.BR la ", " en )
is looked up as a file in the installed language directory;
a value containing
.B /
or ending
.B .ini
is read as a literal path instead. Default
.BR la ,
overridable by a config file. An unknown language is a hard error naming
what is available, never a silent fallback to Latin. See
.B NAMING
below.
.TP
.BI \-\-sigla\-style " CODE\(brFILE"
.RB ( day ", " readings ", " emit ", " table ", " render " and " publish " only)"
Which punctuation/abbreviation convention to render a Mass reading citation
in \(em looked up exactly as
.B \-\-lang
is (a
.I CODE
against the installed language directory, or a literal path). Default the
resolved
.BR \-\-lang ,
overridable by a config file. See
.B SIGLA
below.
.TP
.BI \-\-sigla\-book " full\(brabbr"
.RB ( day ", " readings ", " emit ", " table ", " render " and " publish " only)"
Which form of the book name a citation uses. Default
.BR abbr ,
overridable by a config file. An unrecognised value is a hard error, the
same discipline an unknown
.B \-\-lang
gets. See
.B SIGLA
below.
.TP
.BI \-\-sigla\-tradition " NAME"
.RB ( day ", " readings ", " emit ", " table ", " render " and " publish " only)"
Which numbering tradition a citation's book DENOTES \(em a section name in
.BR lang/traditions.ini .
Default
.BR vulgate ,
overridable by a config file. Unlike
.B \-\-sigla\-book
and
.BR \-\-lang ,
an unrecognised value is
.I not
fatal: it degrades to
.B vulgate
with a warning on standard error, because asking for a renumbering is
optional the way asking for a language is not. See
.B SIGLA
below.
.TP
.B \-\-raw
.RB ( day ", " readings ", " emit ", " table ", " render " and " publish " only)"
Restore the pre\-naming output: every display name equals its bare machine
slug, and every reading citation is emitted
.B verbatim
\(em exactly as stored, bypassing the parser, the style, the book form and
the tradition entirely. See
.B NAMING
and
.B SIGLA
below.
.TP
.BR \-h ", " \-\-help
Print a usage summary to standard output and exit 0.
.TP
.BR \-V ", " \-\-version
Print the version and exit 0.
.SH PRETTY OUTPUT
.B \-\-pretty
draws each day as its own box rather than as a row for
.BR awk (1):
a heading with the date and the liturgical colour, then the celebration, its
rank and season, and any commemorations \-\- each on its own line inside the
box.
.PP
The box art is
.B pure ASCII
\-\- only
.BR + ", " \- " and " | ,
never Unicode box-drawing. That is deliberate: this format exists to be pasted
or piped into a document, a mail or a plain-text ordo, and U+2500 and its
relatives survive that only when every stage agrees about encoding and font.
.B +\-\-\-+
has never failed to render anywhere. Column alignment counts UTF\-8 code
points rather than bytes, so a name carrying
.RB \(lq \(ha \(rq
or a ligature still lines the right edge up.
.PP
Accepted by
.BR day ", " readings ", " rubrics " and " temporal .
Every other command refuses it rather than accepting it and doing nothing:
.BR emit ", " table ", " render " and " publish
already choose their shape through
.B \-\-format
or
.BR \-\-template ,
and
.B easter
prints six key/value lines rather than a day grid.
.PP
Colour is written only when standard output is a terminal, so redirecting or
piping yields plain aligned text \-\- the alignment survives, the escape
sequences do not, and the colour column degrades to its initial
.RB ( w ", " r ", " g ", " v ", " o ", " k )
so the information is not simply lost. The
.B NO_COLOR
environment variable is honoured on presence, whatever its value, per the
convention at https://no-color.org.
.PP
The default output is unchanged by this flag and remains the parseable one.
Nothing should be written to parse
.BR \-\-pretty :
its layout is free to change, which is precisely what the default format is
not.
.PP
.SH NARROWING A REPORT
.B \-\-month
.IR N ,
.B \-\-date
.I YYYY\-MM\-DD
and
.B \-\-today
print part of a year instead of all of it: one month, one day, or the day this
program is run. They are accepted by the same four commands
.RB ( day ", " readings ", " rubrics ", " temporal )
and refused by every other, on the same reasoning as
.BR \-\-pretty .
.PP
They are
.B alternatives,
not a stack. Naming two is an error rather than a silent win for one:
.PP
.RS 4
.EX
$ colitur day \-\-month 3 \-\-today 2026
colitur: day: \-\-month and \-\-today are alternatives; name one
.EE
.RE
.PP
They are independent of
.BR \-\-pretty ,
and useful in the default format too. Under
.B \-\-pretty
they are close to necessary: a box spans seven lines, so
.BR grep (1)
selects only fragments of one. The nearest equivalent is a paragraph-mode
.BR awk (1)
incantation, which works only because the boxes are blank-line separated, and
which the reader should not have to know:
.PP
.RS 4
.EX
$ colitur day \-\-pretty 2026 | awk 'BEGIN{RS="";ORS="\en\en"} /2026\-03\-/'
$ colitur day \-\-pretty \-\-month 3 2026 # the same 31 boxes
.EE
.RE
.PP
.B \-\-date
and
.B \-\-today
NAME a year, so on those two the year may be omitted \-\-
.B colitur day \-\-today
is a complete command. A year given as well must agree, the same rule a
positional year and
.B \-\-year
already follow:
.PP
.RS 4
.EX
$ colitur day \-\-today 2027
colitur: day: year 2027 and \-\-today (2026) disagree
.EE
.RE
.PP
.B \-\-month
names no year and so still needs one.
.PP
.B temporal
refuses
.B \-\-year
but accepts
.B \-\-date
and
.BR \-\-today ,
including as its source of a year. That is not an inconsistency:
.B \-\-year
is a second spelling of the positional year, which
.B temporal
deliberately does not offer, whereas
.B \-\-date
selects a day and merely happens to determine which year contains it.
.PP
.SH OUTPUT FORMAT
.SS day
.RS
.nf
date weekday season week slug rank colour [+commemoration ...] [name]
.fi
.RE
.PP
Space\-separated, with one
.BI + slug
suffix per admitted commemoration. A
.B \-
in the week column means the day carries no week number. The resolved
display
.I name
(see
.B NAMING
below) is appended LAST, after any commemorations, rather than substituted
for
.I slug
above: a name may itself contain spaces, and inserting it earlier in the row
would break every fixed\-position field that follows it \(em the same
mechanical reason
.B readings
is a separate command rather than extra columns on
.B day
(see below). It is present only when it differs from
.I slug
already shown; under
.BR \-\-raw ,
or a language with no entry for that particular day, the trailing field is
simply absent \(em not merely empty \(em which is what makes
.B \-\-raw
byte\-identical to this program's pre\-naming output.
.RS
.nf
2026\-04\-05 sunday paschaltide 1 ef\-easter\-sunday class\-1 white Dominica Resurrectionis
2026\-11\-02 monday time\-after\-pentecost 23 commemoration\-of\-all\-souls class\-1 black In Commemoratione Omnium Fidelium Defunctorum
2057\-03\-26 monday lent 3 annunciation\-of\-the\-blessed\-virgin\-mary class\-1 white +ef\-lent\-3\-monday In Annuntiatione B. Mariae Virg.
.fi
.RE
.SS readings
.RS
.nf
date slug | Epistle | Gospel [| name]
.fi
.RE
.PP
A reading citation contains spaces and commas, so this report separates its
fields with
.RB \(lq " | " \(rq
where
.B day
stays space\-separated. That is the reason the citations are a separate command
rather than extra columns on
.BR day :
appended there, no field number could recover where the Epistle ended. A
.B \-
in either citation field means none was resolved. A citation's book names,
punctuation and numbering are all configurable \(em see
.B SIGLA
below. The resolved display
.I name
is appended as a fourth,
.RB \(lq " | " \(rq \-delimited
field on the same "present only when it differs from
.IR slug "" \(cq
terms as
.BR day 's
own trailing field, above.
.RS
.nf
2026\-12\-25 ef\-nativity | Heb 1:1\-12 | John 1:1\-14 | In Nativitate Domini
2038\-03\-06 sts\-felicitas\-perpetua | Ecclus 51:1\-8, 12 | Matt 13:44\-52 | Ss. Perpetuae et Felicitatis Mm.
.fi
.RE
.SS rubrics
.RS
.nf
date [TAB] formulary\-slug [TAB] source [TAB] creed [TAB] gloria [TAB] preface [TAB name]
.fi
.RE
.PP
The day's own Mass formulary (which slug's Mass is actually said, and how
that was decided), followed by whether the Creed is said (RG 475\-476),
whether the Gloria in excelsis is said (RG 431\-432), and which preface is
said (RG 482\-499).
.B rubrics
separates its fields with a literal TAB \(em not a plain space like
.B day
or
.RB \(lq " | " \(rq
like
.B readings
\(em because the resolved formulary NAME (below) can carry both spaces and
punctuation a citation never does, which rules out either separator already
in use above. A separate command for the identical mechanical reason
.B day
is separate from
.BR readings :
.BR day 's
own row is fixed\-width space\-separated with a variable\-length
.RI + slug
tail, so appending anything with its own internal whitespace there would
leave it unsplittable by field number.
.I source
is one of
.BR proper ", " own ", " preceding\-sunday ", " common " or " votive .
.I creed
and
.I gloria
are each
.B true
or
.B false
(OCaml's own literal, not
.RB \(lq yes / no \(rq
or
.RB \(lq 1/0 \(rq :
this row has no other boolean field to be consistent with). A day with no
Mass at all for a rite that has not implemented a rule reads
.B false
outright \(em it is a decision, never a third \(lqunknown\(rq state.
.I preface
is one of
.BR nativity ", " epiphany ", " lent ", " holy\-cross ", " easter ", "
.BR ascension ", " sacred\-heart ", " christ\-the\-king ", " holy\-spirit ", "
.BR trinity ", " bvm ", " st\-joseph ", " apostles ", " common " or " requiem ,
or a literal
.B \-
when this engine resolves no Mass at all that day (Good Friday) \(em unlike
.I creed / gloria ,
.I preface
is a genuine option, so
.B \-
here can also mean a rite that has not implemented the rule at all.
.RS
.nf
2026\-01\-01 [TAB] ef\-circumcision [TAB] own [TAB] true [TAB] true [TAB] nativity [TAB] In Octava Nativitatis Domini
2038\-03\-08 [TAB] john\-of\-god [TAB] proper [TAB] false [TAB] true [TAB] common [TAB] S. Ioannis a Deo Conf.
2025\-12\-01 [TAB] ef\-advent\-sunday\-1 [TAB] preceding\-sunday [TAB] false [TAB] false [TAB] common [TAB] Dominica I Adventus
.fi
.RE
.PP
Like
.B day
and
.BR readings ,
.B rubrics
resolves the formulary slug to a display name under
.BR \-\-lang / \-\-raw :
appended as a trailing 8th field, present only when it differs from the
slug already shown \(em the identical append\-only rule those two commands
use, so
.B \-\-raw
(or a language with no entry for that day) is byte\-identical to the
seven\-field row shown above. It resolves no
.I citation
of its own, though, so
.B \-\-sigla\-*
stays refused \(em the same discipline
.B \-\-overlay
gets on
.B easter
and
.BR temporal .
.PP
All three reports are one line per day and ordered by date, so they compose
with
.BR grep (1),
.BR awk (1)
and
.BR join (1)
in the ordinary way. Pass
.B \-\-raw
to restore the pre\-naming byte\-exact output of any of the three \(em no
trailing field at all \(em for a script written against one before its own
naming feature existed.
.SH EMIT
.BI "colitur emit " \-\-format " FMT " \-\-from " YEAR " \-\-to " YEAR"
renders the same resolved day \(em season, week, slug, rank, colour,
subject, the resolved display name in the active language, citations,
commemorations \(em through one of five emitters, for every day in the
inclusive civil\-year range
.IR FROM .. TO .
Every emitter consumes one shared view of the data, so all five describe
exactly the same fields.
.TP
.B csv
RFC 4180. One header row for the whole run, not one per year, so a
multi\-year range still has exactly one header and
.BR wc (1)
or
.B "awk 'NR>1'"
behave as expected.
.RS
.nf
.B colitur emit \-\-format csv \-\-from 2026 \-\-to 2026 | head \-2
date,rite,season,season_name,week,slug,name,weekday,rank,rank_name,colour,colour_name,subject,first,gospel,comms
2026\-01\-01,ef,christmastide,Tempus Nativitatis,,ef\-circumcision,In Octava Nativitatis Domini,Feria V,class\-1,I classis,white,albus,temporal,Titus 2:11\-15,Luke 2:21,
.fi
.RE
.PP
.IR name ", " season_name ", " rank_name " and " colour_name
are the resolved display strings in the active language (see
.B NAMING
below);
.IR slug ", " season ", " rank " and " colour
stay the kernel's own unlocalised keys, unaffected by
.BR \-\-lang / \-\-raw ,
so a script can key off the stable machine value while a human reads the
localised one beside it.
.PP
The header is
.B \-\-rite
dependent. EF's 16 columns above are unchanged from before
.B \-\-rite
existed on
.B emit
at all; any other rite
.RB ( of
today) gets a 17th column,
.IR second ,
between
.I first
and
.IR gospel :
present, and usually empty, because a Sunday or solemnity genuinely
carries a Second reading (OLM 1981 Praenotanda n. 66.1) and a
feria/feast/memorial does not (n. 69.1).
.RS
.nf
.B colitur emit \-\-rite of \-\-format csv \-\-from 2026 \-\-to 2026 | head \-1
date,rite,season,season_name,week,slug,name,weekday,rank,rank_name,colour,colour_name,subject,first,second,gospel,comms
.fi
.RE
.TP
.B json
One JSON object per requested year, concatenated. Shape pinned by
.IR schema/day\-v1.json .
.RS
.nf
.B colitur emit \-\-format json \-\-from 2026 \-\-to 2026 | head \-c 40
{"rite":"ef","year":"2026","months":[{...
.fi
.RE
.TP
.B sexp
One S\-expression per day, one per line \(em the same
.I Liturgical_day.t
shape used internally, printed with
.IR sexplib "'s " to_string_hum .
.TP
.B xml
Element\-per\-field, one
.I <calendar>
document per requested year, concatenated. Attributes carry identity only
(rite, year, date); everything else is an element. Shape pinned by
.IR schema/colitur\-v1.xsd ,
checked by
.B make check\-schema
when
.BR xmllint (1)
is installed.
.TP
.B ics
RFC 5545. One
.I VCALENDAR
per requested year, concatenated, one all\-day
.I VEVENT
per day. Lines are folded at 75 octets and end
.RI ( CRLF ),
matching the protocol exactly \(em
.RB \(lq " cat \-A " \(rq
on the output shows
.B ^M$
at each line end.
.RS
.nf
.B colitur emit \-\-format ics \-\-from 2026 \-\-to 2026 | head \-1
BEGIN:VCALENDAR
.fi
.RE
.PP
.B \-\-dtstamp
fixes the feed's own
.I DTSTAMP
field, which RFC 5545 requires on every event. Without it the value defaults
to
.I YYYY0101T000000Z
for the emitted year \(em a fixed value, not a clock read \(em so two
.B emit \-\-format ics
runs over identical data are byte\-identical, which matters for a
reproducible build or a diffable published calendar file. Nothing in the
.B emit
path reads the wall clock, for any format.
.PP
.BR \-\-overlay
is accepted exactly as on
.B day
and
.BR readings :
applied on top of the shipped calendar, in order, before the range is
rendered. See
.B OVERLAYS
below.
.PP
.BR \-\-rite
selects the rite module exactly as on
.B day
and
.BR readings ;
see the
.B \-\-rite
entry under
.B COMMANDS
above for the full account, CSV's own
.I second
column included.
.SH RENDERING
.B "colitur table"
.RI [ YEAR ]
.RB [ \-\-year " YEAR" ]
.BI \-\-template " FILE"
and
.B "colitur render"
.BI \-\-template " FILE"
.RI [ YEAR ]
.RB [ \-\-year " YEAR" ]
are the
.I same
operation under two names: compute the resolved year, shape it into the
same view
.B emit
uses, and render it through
.I FILE
in one process.
.I YEAR
may be given positionally or as
.BR \-\-year ,
additively, the same either\-or\-both\-if\-they\-agree rule
.B day
and
.B readings
follow (see
.B \-\-year
under
.B COMMANDS
above). Both commands accept
.BR \-\-rite ", " \-\-flavour " and " \-\-overlay
identically.
.SS Why there is no stdin\-fed render
The design this project followed originally sketched a Unix pipe,
.BR "compute | render" ,
with
.B render
reading a serialised view back from standard input. That is deliberately
.I not
built.
Honouring the pipe would require a JSON
.I parser
inside
.B colitur
\(em a second hand\-rolled component, purely so this program could read back a
view it had just serialised itself, and a second place for the published
output schema to drift out of step with what the parser actually accepts.
That is a real cost for no benefit over calling the same view builder
directly in the same process, which is what
.B table
and
.B render
both do.
.PP
Unix composition is not abandoned, only narrowed to where it is cheap and
honest:
.B "colitur emit \-\-format json | jq"
still composes fine, because that JSON is the
.I output
of the pipeline, never something
.B colitur
itself has to parse back in.
.SS Templates
.I FILE
is a deliberately logic\-less, Mustache\-family template: it is
.I data,
never a program. The only constructs are
.BR {{placeholder}} ,
.BR {{#section}}...{{/section}} ,
.BR {{^inverted}}...{{/inverted}}
and
.BR {{!comment}} .
There are no partials, no lambdas, no expression evaluation, no arithmetic,
and no filesystem or process access from inside a template. There is
deliberately no "raw" or triple\-brace form either \(em a template cannot opt
out of its flavour's escaping.
.PP
The template renders against the same schema
.B emit
uses (season, week, slug, rank, colour, subject, the resolved display name,
citations, commemorations), reshaped for two artefacts from one model: a
flat booklet
(the
.B days
list, one entry per day of the year) and a month grid (the
.B weeks
list, with padding cells flagged for the leading and trailing blanks a grid
needs and a booklet does not). A key absent on a given day (an optional field
a rite does not always set) renders as the empty string rather than an error
\(em the one deliberate silence, so a template survives a day that does not
carry every optional field. This is also what happens, harmlessly, when a
template written for one rite is pointed at the other's year with
.BR \-\-rite :
an EF\-era template that never references
.B {{second}}
(OF's own Sunday/solemnity Second reading) simply does not show it, neither
crashing nor dropping any other field, because both rites expose the
identical key
.I set
and differ only in the resolved
.I values
(e.g. season names) underneath it.
.PP
See
.BR colitur\-templates (5)
for the full syntax, the escaping table per flavour, the complete
view\-model field reference, and \(em before writing a template of any
complexity \(em its
.B SCOPE AND LOOKUP
section: a
.B month
and a
.B week
both carry a
.I num
field, and a bare
.B {{num}}
read from inside
.B {{#days}}
silently climbs to the enclosing week's own value, not the month's. A
similar hazard around
.B name
existed before the view model's naming rework and is now unrepresentable
\(em
.I name
is a plain resolved string, with no dotted path left for a partial match to
fall back through.
.SS Flavours
.BI \-\-flavour
controls how interpolated
.I values
are escaped for the target format. It never touches the template's own
literal markup, which is the author's and is trusted as\-is. One of:
.RS
.nf
latex typst groff html xml ics none
.fi
.RE
.PP
When
.B \-\-flavour
is omitted it is inferred from
.BR \-\-template 's
own file extension:
.RS
.nf
.I .tex -> latex
.I .typ -> typst
.I .ms .mom .me -> groff
.I .html .htm -> html
.I .xml -> xml
.I .ics -> ics
.I .md .adoc .txt -> none
.fi
.RE
.PP
.B none
escapes nothing: Markdown, AsciiDoc and plain text have no fixed
metacharacter set, so escaping them here would produce worse output than
leaving them alone.
.PP
An extension
.B colitur
does not recognise is a hard error naming the seven flavours above; it is
.I never
a silent fallback to
.BR none .
Guessing the flavour wrong produces output that looks fine right up until
the metacharacters it silently failed to escape show up in a rendered
document.
.RS
.nf
.B colitur table \-\-year 2027 \-\-template invite.wat
colitur: cannot infer a flavour from ".wat"; pass \-\-flavour latex|typst|groff|html|xml|ics|none
.fi
.RE
.PP
A malformed template reports the parser's own reason and exits 2, never a
crash \(em a template is user input, exactly like an overlay file.
.RS
.nf
.B colitur table \-\-year 2027 \-\-template bad.txt
colitur: template bad.txt: unclosed section {{#days}}
.fi
.RE
.SH PUBLISH
.BI "colitur publish " \-\-from " YEAR " \-\-to " YEAR " \-\-out " DIR"
writes the static tree that
.I is
this program's API: every file a civil\-year range can be asked for,
computed once and written out, so any web server or git repository can
serve the result as\-is and nothing runs at request time.
.RS
.nf
<rite>/<year>.json one civil year, all days, whole\-year emitters
<rite>/<year>.csv
<rite>/<year>.xml
<rite>/<year>.ics
<rite>/<year>/<mm>/<dd>.json one file per day
schema/day\-v1.json the published JSON contract
index.html a generated index page, not a template
\&.colitur\-manifest every path this run wrote, one per line
.fi
.RE
.PP
.I <rite>
is
.B ef
or
.BR of ,
selected by
.BR \-\-rite
exactly as on every other command (default
.BR ef ).
A single
.B \-\-out
directory can hold both rites' own trees side by side, across two separate
invocations \(em but
.I not
safely combined with
.BR \-\-prune :
the manifest and
.I index.html
publish writes describe the
.I whole
tree, not one rite's own slice of it, so a
.B \-\-rite of
run's own manifest never mentions an earlier EF run's files, and
.B \-\-prune
would delete them as stale. Publish a single rite per
.BR \-\-out ,
or omit
.B \-\-prune
when deliberately layering both.
.PP
Every emitted file goes through the same emitters
.B emit
uses; a published
.I .ics
file for a given year is byte\-for\-byte what
.B "colitur emit \-\-format ics"
would print for that year, and
.B \-\-dtstamp
means exactly what it means there. The per\-day JSON files carry the same
shape as the whole\-year one, scoped to a single day \(em
.B "colitur table"
and template authors needing one day's data can read either.
.PP
.B Deterministic.
Publishing the same
.B \-\-from / \-\-to
range into an empty directory twice produces a byte\-identical tree. Nothing
in the publish path reads the wall clock; the
.I .ics
files' own DTSTAMP defaults to a fixed value derived from the emitted year,
exactly as it does under
.B emit
(see
.B EMIT
above), and
.B \-\-dtstamp
overrides it the same way. This is what makes publishing into a git
repository safe:
.B git status
shows only genuine change, and you review an actual diff before pushing,
never a rewrite of files that did not change.
.PP
.B Non\-destructive.
.B publish
writes only files it owns, and records the relative path of every one of
them in
.IR out /.colitur\-manifest
(itself never subject to pruning). A file you put in the output directory
yourself \(em by hand, or from some other tool \(em is never named in that
manifest, so it is never touched,
.I whether or not
.B \-\-prune
is given.
.RS
.nf
.B "touch out/MY\-NOTES.txt"
.B "colitur publish \-\-from 2027 \-\-to 2027 \-\-out out \-\-prune"
.B "test \-f out/MY\-NOTES.txt && echo kept"
kept
.fi
.RE
.PP
.B \-\-prune
removes exactly the entries a
.I previous
publish into the same
.B \-\-out
wrote that this run did not rewrite \(em typically an earlier year's own
per\-day files, when a later
.B publish
targets a different
.B \-\-from / \-\-to
range into the same directory. A directory a stale entry's removal leaves
empty is removed too (so, for example,
.I out/ef/2027/
itself goes away once every file under it is gone), but nothing above
.B \-\-out
is ever touched, and
.B \-\-out
itself is never removed even when nothing is left in it. Without
.BR \-\-prune ,
old entries are left in place, and only the manifest is rewritten to
describe the current run.
.PP
.BR \-\-overlay
is accepted exactly as on
.BR day ", " readings " and " emit :
applied on top of the shipped calendar, in order, before each year in the
range is rendered. See
.B OVERLAYS
below.
.PP
.BR \-\-rite
selects the rite module and its own output subtree
.RI ( <rite>/ ,
above) exactly as on every other command; see the
.B \-\-rite
entry under
.B COMMANDS
for the full account.
.SH OVERLAYS
.TP
.BI \-\-overlay " FILE"
.RB ( \-o )
Apply a user\-supplied calendar on top of the shipped universal one. Repeatable
and ordered.
.PP
Overlays are applied
.I on top of
the 1962 universal calendar, never instead of it. The shipped adjustments \(em
which carry the inseparable Peter/Paul commemoration, the Major Litanies, St
Barbara and Rogation Wednesday \(em are applied first, then each
.B \-\-overlay
in the order given. Last writer wins, so a later file may deliberately override
an earlier one, or a universal entry, by naming its slug.
.PP
The workflow:
.RS
.nf
.B colitur new\-overlay > my\-parish.sexp
.B $EDITOR my\-parish.sexp
.B colitur check my\-parish.sexp
.B colitur day 2026 \-\-overlay my\-parish.sexp
.fi
.RE
.PP
The format is documented in full in
.BR colitur\-overlay (5).
In brief, an overlay is an S\-expression file with an
.I id
and a list of directives:
.BR Add ", " Suppress ", " Replace " and " Edit .
An added entry carries its own date specification, which may be a fixed
.RI ( month ", " day )
pair, an
.I Easter_offset
in days (signed; Easter itself is 0), or an
.I Nth_weekday
of a month \(em the
.I nth
may be negative to count from the end, so
.B \-1
is the last \(em so a patronal feast on "the first Sunday of October" or a
dedication anniversary reckoned from Easter are both expressible.
.PP
In an added celebration the
.I citations
and
.I layer
fields may be omitted: they default to empty and to the overlay's own
.IR id .
The remaining six are required, and each is a closed set \(em
.I rank
is
.BR Class1 ", " Class2 ", " Class3 " or " Class4 ,
.I status
is
.B Feast
or
.BR Commemoration_only ,
.I colour
is
.BR White ", " Red ", " Violet ", " Green ", " Black " or " Rose ,
and
.I subject
is
.BR Lord ", " Bvm ", " Saint " or " Temporal .
See
.I <prefix>/share/colitur/examples/diocesan\-example.sexp
for a worked, runnable example of all four directives and all three date
shapes:
.RS
.nf
.B colitur day 2026 \-\-overlay <prefix>/share/colitur/examples/diocesan\-example.sexp
.fi
.RE
.PP
Accepted on
.BR day ", " readings ", " rubrics ", " emit ", " table ", " render " and " publish .
.BR easter " and " temporal
read no sanctoral data at all, so the flag would have no effect there and is
.I refused
rather than silently ignored.
.PP
.B An overlay is applied, not validated.
This program's test layers \(em properties over every year in the domain, a
differential against a sibling engine, three published\-calendar oracles, and
hand\-verified pins \(em assert things about the
.I shipped
calendar. None of them can vouch for a file you supply. A directive naming a
slug that does not exist prints a warning to standard error and the run
continues, so a typo in a local calendar is visible rather than silent; a file
that fails to load is fatal.
.SH NAMING
.TP
.BI \-\-lang " CODE\(brFILE"
Resolve every display name \(em a day's
.IR name ,
its localised
.IR weekday / rank_name / colour_name / season_name ,
each month's own name, and the fixed
.I term
vocabulary a template routes through \(em through this language instead of
the default. Accepted on
.BR day ", " readings ", " rubrics ", " emit ", " table ", " render " and " publish
(on
.BR rubrics ,
it resolves the formulary slug rather than the observed day's own \(em see
.B OUTPUT FORMAT
above); refused elsewhere, the same discipline
.B \-\-overlay
gets.
.I CODE
(e.g.
.BR la ", " en )
is looked up as
.IR <lang\-dir> / CODE .ini ;
a value containing
.B /
or ending
.B .ini
is read as a literal file path instead. Default
.BR la ,
overridable by
.I lang
in the config file (see
.BR colitur\-config (5)),
itself overridden by
.BR \-\-lang .
.PP
.B An unknown language is a hard error naming what is available, never a
.B silent fallback to Latin:
a booklet quietly printed in the wrong language is worse than one that
refuses to print.
.RS
.nf
.B colitur day 2027 \-\-lang xx
colitur: no language "xx" (looked in .../share/colitur/lang); try: colitur lang \-\-list
.fi
.RE
.PP
A language file may declare
.B fallback " = " CODE
in its
.I [meta]
section (both shipped files show the shape;
.I lang/en.ini
declares
.BR "fallback = la" ).
A slug the active language does not itself name still resolves through the
fallback chain, so a partial translation is usable from its first line
rather than only once it is complete.
.TP
.B \-\-raw
Restore every command's pre\-naming output: a day's
.I name
(and every other localised field the
.B emit
schema carries) equals the bare machine
.IR slug ,
exactly as if no language had ever been resolved. This is not a special
case threaded through the naming code \(em the identity table under
.RB ( raw )
is an ordinary language table like any other, under which every lookup
echoes its key back unchanged, so
.B \-\-raw
and a real language file share the same code path throughout.
.BR day ", " readings " and " rubrics
under
.B \-\-raw
are byte\-identical to each command's own pre\-naming output; every existing
script built against that output therefore needs one flag, not a rewrite.
.B \-\-raw
also governs every reading citation, through a dedicated
.I verbatim
path rather than an identity language table \(em see
.B SIGLA
below for why that distinction matters.
.TP
.B lang \-\-list
.TQ
.BI lang " " \-\-dump " CODE"
.TQ
.BI lang " " \-\-check " FILE"
What make "anyone can write a language file" true rather than merely
permitted \(em the same idea the overlay system already established with
.B new\-overlay
and
.BR check .
.RS
.nf
.B colitur lang \-\-dump la > my\-lang.ini
.B $EDITOR my\-lang.ini
.B colitur lang \-\-check my\-lang.ini
.B colitur day 2026 \-\-lang ./my\-lang.ini
.fi
.RE
.PP
.B \-\-check
reports what is
.B MISSING
(a real slug the engine can produce, with no entry for it in the file) and,
separately, any entry naming a slug that does not exist at all \(em a typo,
which would otherwise be silently dead, its author never learning why their
own name never appears. Exits
.B 1
if anything is unknown, so it composes into a Makefile or a pre\-commit
hook. The reference slug set is the same one
.BR "colitur lang \-\-check" 's
own coverage test walks: the observed office AND every commemoration and
transfer the engine can produce, over a fixed multi\-year window \(em not
merely a hand\-picked sample.
.TP
.B config \-\-show
Print every effective setting \(em
.IR lang ", " overlay ", " template ", " format ", " sigla_style ", "
.IR sigla_book " and " sigla_tradition
\(em its resolved value, and where it came from:
.BR flag ", " config " or " default ,
via the same resolver every other command uses (there is deliberately no
separate "provenance" function, so the two cannot disagree). Also prints
the config file's own path and whether it exists. See
.BR colitur\-config (5)
for the file's location, its precedence in full, and every setting it
recognises (as of this writing that page still describes the original four;
.BR sigla_style / sigla_book / sigla_tradition
are the same
.B [defaults]
mechanism, documented in full here in
.B SIGLA
below).
.SH SIGLA
A Mass reading citation
.RB ( "Jn 3:16" )
is parsed into structure \(em book, chapter, verses \(em and re\-rendered, so
its book names, its punctuation and abbreviation convention, and its
numbering tradition are each a file a reader can edit, not something baked
into the engine. This section covers the three flags, the two language\-file
sections that drive them, and
.IR lang/traditions.ini .
.SS Two different questions
Getting a citation right involves two independent questions that are easy
to conflate:
.RS
.nf
what is the book CALLED? -- a language file's [bible] section
what book does it DENOTE? -- lang/traditions.ini
.fi
.RE
.PP
Naming varies by language: the third book of Kings is
.I "Liber Regum III"
in
.I lang/la.ini
and
.I "3 Kings"
in
.IR lang/en.ini .
Denoting does not: "modern numbering" renumbers the SAME book the SAME way
whether the citation is rendered in Latin, English or any other language, so
it lives in one file, not one section per language. Conflating the two is
how a citation ends up naming the
.I wrong
book \(em correct punctuation, correct language, wrong reference.
.SS "[sigla] -- how a citation is written"
A language file's
.I [sigla]
section is a citation
.I style :
.RS
.nf
book = abbr ; or full
book_sep = " "
chapter_verse = {chapter}:{verses}
range = {first}\-{last}
part_sep = "; "
verse_sep = ", "
.fi
.RE
.PP
.BR book " and " book_sep
control the book name and what separates it from the reference proper.
.BR chapter_verse " and " range
are templates: the placeholders
.BR {chapter} ", " {verses} " (in " chapter_verse )
and
.BR {first} ", " {last} " (in " range )
are substituted; an unrecognised
.B {placeholder}
is left in the output literally, so a typo in a hand\-written style file is
visible rather than silently swallowed.
.B {chapter_roman}
is also available in
.BR chapter_verse ,
an alternative to
.B {chapter}
that prints the chapter as a Roman numeral \(em set
.RI ( "chapter_verse = {chapter_roman}, {verses}" )
and the Missal's own idiom
("Feria IV", "Hebdomada I") extends to citations too:
.RS
.nf
$ colitur readings 2026 | grep 2026\-06\-21
2026\-06\-21 ef\-time\-after\-pentecost\-sunday\-4 | Rom 8:18\-23 | Luc 5:1\-11 | \e
Dominica IV post Pentecosten
$ colitur readings 2026 \-\-sigla\-style my\-roman\-style.ini | grep 2026\-06\-21
2026\-06\-21 ef\-time\-after\-pentecost\-sunday\-4 | Rom VIII, 18\-23 | Luc V, 1\-11 | \e
Dominica IV post Pentecosten
.fi
.RE
.PP
(where
.I my\-roman\-style.ini
carries only
.RI ( "chapter_verse = {chapter_roman}, {verses}" )
under its own
.IR [sigla] ).
.PP
.BR part_sep " and " verse_sep
separate multiple readings within one citation and multiple verse ranges
within one reading, respectively \(em what makes
.I "Ecclus 51:1\-8, 12"
and
.I "Ioel 2:23\-24; 2:26\-27"
render correctly.
.PP
.B "book_sep and typeset output."
A booklet rendered to LaTeX or Typst may want a
.B non\-breaking
space here, so a line break can never fall between the book abbreviation and
its reference (\(lqLuc.\(rq stranded at the end of one line, \(lq5, 12\-14\(rq
starting the next). Set
.B book_sep
to a literal
.B U+00A0
character \(em typed directly into the INI file, not a LaTeX tie
.RB ( "~" ) :
the flavour escapers match ASCII bytes only, so a real U+00A0 (a two\-byte
UTF\-8 sequence) passes through every flavour untouched, but a literal
.B "~"
does
.I not
survive the LaTeX escaper, which turns it into
.BR \etextasciitilde{} .
.B "U+00A0 is invisible in a terminal" \(em
it looks exactly like an ordinary space in an editor, in
.BR "cat colitur.ini" ,
and in a diff that does not mark whitespace \(em so a careless copy\-paste
can silently replace it with a normal space, or vice versa. Verify what is
actually in the file, not what it looks like:
.RS
.nf
$ grep \-o 'book_sep.*' my\-style.ini | xxd | head \-1
00000000: 626f 6f6b 5f73 6570 203d 2022 c2a0 220a book_sep = "...
.fi
.RE
.PP
.RB ( c2 " " a0
is U+00A0 in UTF\-8;
.B 20
would be a plain space instead.)
.SS "[bible] -- what a book is called"
A language file's
.I [bible]
section supplies every book's display name, one
.B full
and one
.B abbr
form per id:
.RS
.nf
luke.full = Evangelium secundum Lucam
luke.abbr = Luc
.fi
.RE
.PP
.B \-\-sigla\-book
selects which of the two forms
.RB ( "full" " or " "abbr" )
a citation uses; the style's own
.B book
setting is the default when neither the flag nor the config key is given.
Unlike
.IR [celebration] " (deliberately partial for a new translation, per " NAMING
above),
.I [bible]
is expected complete: a missing entry degrades to the citation data's own
built\-in spelling (the pre\-naming form), never to another language's name
via the
.B fallback
chain \(em a book name silently borrowed from the wrong language would be
worse than one left untranslated.
.SS "lang/traditions.ini -- what a book denotes"
.I lang/traditions.ini
is a second file, separate from every language file, naming
.B traditions :
sections that remap a Vulgate\-numbered book id onto the id a modern reader
would expect. The shipped file:
.RS
.nf
[vulgate]
; identity -- deliberately empty
[modern]
kings_3 = kings_1
kings_4 = kings_2
esdras_2 = nehemiah
ecclesiasticus = sirach
osee = hosea
jonas = jonah
apocalypse = revelation
.fi
.RE
.PP
.B \-\-sigla\-tradition
names a section by its header; the default,
.BR vulgate ,
is shipped deliberately empty, so a citation is never renumbered unless a
tradition is chosen explicitly \(em the 1962 Missal on which this engine's
data is built is Vulgate\-numbered throughout.
.B modern
renders the Vulgate id but with the OTHER tradition's name and numbering, so
.I "3 Kings 19:3\-8"
becomes
.IR "1 Kings 19:3\-8" ,
via this mapping, not via a second copy of the reading data:
.RS
.nf
$ colitur readings 2026 \-\-lang en | grep 2026\-02\-25
2026\-02\-25 ef\-lent\-ember\-wed | 3 Kgs. 19:3\-8 | Matt 12:38\-50 | \e
Lenten Ember Wednesday
$ colitur readings 2026 \-\-lang en \-\-sigla\-tradition modern | grep 2026\-02\-25
2026\-02\-25 ef\-lent\-ember\-wed | 1 Kgs 19:3\-8 | Matt 12:38\-50 | \e
Lenten Ember Wednesday
.fi
.RE
.PP
An unrecognised
.B \-\-sigla\-tradition
degrades to
.B vulgate
with a warning on standard error, never a hard error \(em asking for a
renumbering is optional, unlike asking for a language:
.RS
.nf
colitur: .../lang/traditions.ini: no tradition "bogus"; falling back to the Vulgate
.fi
.RE
.SS "--raw is byte-exact"
.B \-\-raw
does not merely reformat a citation with an identity style \(em that would
still parse it and reprint its punctuation, which is not the same as
leaving it untouched. Under
.BR \-\-raw ,
every citation is emitted
.B exactly
as stored, with no parsing step at all. Two reasons this matters, both
load\-bearing:
.RS
.nf
1. diffing this program's output against lectio (the sibling Go engine
colitur's citation data is bootstrapped from) is only meaningful
byte\-for\-byte -- a reformatted citation would show spurious diffs
even where the two engines fully agree.
2. the raw view must not depend on the citation PARSER being correct --
if a parser bug ever mis\-renders a citation, the raw output used to
diagnose that bug must not itself have gone through the same parser.
.fi
.RE
.SS Config keys
.BR sigla_style ", " sigla_book " and " sigla_tradition
in a config file's
.B [defaults]
section are the config\-file counterpart of
.BR \-\-sigla\-style ", " \-\-sigla\-book " and " \-\-sigla\-tradition ,
resolved with the identical flag > config > default precedence as
.BR lang ,
and reported the same way by
.BR "colitur config \-\-show" .
See
.B COMMANDS
above for each flag's own default and error behaviour, and
.BR colitur\-config (5)
for the config file's format, location and the four settings it currently
documents in full.
.SS Sourcing discipline
.IR lang/la.ini "'s own "
.I [bible]
rows are transcribed from the 1962 Missal's own reading incipits, each
citing a scan line \(em the same discipline
.I [celebration]
already follows. Two rows are marked where that was not straightforwardly
possible, so a reader can tell a sourced name from one that is not at a
glance rather than trusting silently:
.RS
.nf
; UNSOURCED no instance of the book's own title was found in either
scan; the entry falls back to the citation data's own
built\-in spelling (e.g. Proverbs, Song of Songs).
; CONSTRUCTED composed from two separately\-sourced parts, because their
COMBINATION does not appear verbatim in the Missal (the
two Books of Kings: the shared incipit "Lectio libri
Regum" is sourced, the volume numeral comes from the
sourced chapter:verse locator, but no scan line spells
out "Liber Regum III" as such).
.fi
.RE
.PP
An unmarked row is transcribed verbatim (case aside). This is not an
apology for incompleteness \(em it is what lets a reader trust every
.I sourced
row precisely because the unsourced ones are labelled rather than blended
in silently.
.SH ENVIRONMENT
.TP
.B COLITUR_DATA_DIR
Read the calendar data from this directory instead of the installed or
build\-tree location. If it is set and contains no
.IR sanctoral.sexp ,
.B colitur
exits 2 naming the directory; it does
.I not
fall back to another copy. Naming a directory states an intent, and quietly
computing a calendar from different data than the one requested is a failure
mode this program refuses.
.SH FILES
.TP
.I <prefix>/share/colitur/ef/
The installed calendar data: the sanctoral calendar, its one hand\-authored
overlay, the temporal lectionary and the Commons. Four S\-expression files.
.TP
.I <prefix>/share/colitur/of/
The installed OF calendar data, read only when
.B \-\-rite of
is given: the 2002 General Roman Calendar, its thirteen decree\-chronological
amendment overlays, and the temporal + sanctoral lectionary. Not consulted
by
.BR COLITUR_DATA_DIR ,
which is EF\-only; see below.
.TP
.I <prefix>/share/colitur/examples/diocesan\-example.sexp
A worked example overlay, shipped as runnable documentation. Every
celebration in it is invented; copy it and put your own calendar in its place.
.TP
.I <exedir>/../data/ef/
The build\-tree location, used when running from a source checkout.
.PP
Resolution order is
.B COLITUR_DATA_DIR
first, then the installed directory, then the build tree. A directory counts
only if it actually contains
.IR sanctoral.sexp ,
so a failed or half\-removed installation falls through to a working checkout
instead of shadowing it.
.SH EXIT STATUS
.TP
.B 0
Success.
.TP
.B 2
Bad usage, a year outside 1583..9999, or the calendar data could not be read.
.SH EXAMPLES
Easter and its dependent feasts:
.RS
.nf
.B colitur easter 2026
.fi
.RE
.PP
One date:
.RS
.nf
.B colitur day 2026 | grep '^2026\-12\-25'
.fi
.RE
.PP
Every first\-class day of a year:
.RS
.nf
.B colitur day 2026 | awk '$6 == "class\-1"'
.fi
.RE
.PP
Days carrying at least one commemoration:
.RS
.nf
.B colitur day 2027 | grep '+'
.fi
.RE
.PP
Names are Latin by default; render in English instead, or fall back to the
pre\-naming, slugs\-only output a script written before this feature existed
still expects:
.RS
.nf
.B colitur day 2026 \-\-lang en | head \-1
.B colitur day 2026 \-\-raw | head \-1
.fi
.RE
.PP
A local calendar on top of the universal one:
.RS
.nf
.B colitur day 2026 \-\-overlay ~/calendars/diocese.sexp
.B colitur day 2026 \-\-overlay ~/calendars/diocese.sexp \-\-overlay ~/calendars/parish.sexp
.fi
.RE
.PP
Run against a checkout's data rather than the installed copy:
.RS
.nf
.B COLITUR_DATA_DIR=~/git/projects/colitur/data/ef colitur day 2026
.fi
.RE
.PP
Render a year through a template, flavour inferred from the extension:
.RS
.nf
.B colitur table \-\-year 2026 \-\-template booklet.tex > booklet.tex.out
.fi
.RE
.PP
Publish a year range as a static tree, then keep it in step with
.B \-\-prune
as the range moves:
.RS
.nf
.B colitur publish \-\-from 2026 \-\-to 2027 \-\-out ~/public/colitur
.B colitur publish \-\-from 2027 \-\-to 2028 \-\-out ~/public/colitur \-\-prune
.fi
.RE
.SH SOURCES
The calendar is computed against the 1962
.I Missale Romanum
and its
.IR "Rubricae Generales" ,
which are the sole authority for what
.B colitur
emits. Published calendars \(em missalemeum, Divinum Officium, gcatholic \(em
are used as comparison oracles in the test suite only: a divergence from one
is flagged loudly and adjudicated against the Missal, never silently adopted.
Several such divergences have been resolved in this engine's favour.
Missalemeum's own data derives from Divinum Officium, so those two are one
lineage rather than two independent witnesses; a printed
.I Ordo
from the Latin Mass Society of England and Wales, compiled directly from the
Missal and never passed through that lineage, is used as a genuinely
independent oracle for one liturgical year (Advent 2024 through the end of
1962's 2025) \(em the Creed rubric, the Saturday votive Mass of Our Lady's
own seasonal selection, and which Mass a day borrows, each compared against
it in full. It covers only the universal calendar (its own diocesan propers
and local patrons are excluded from every comparison), one civil year, and
one publisher's transcription \(em a divergence against it is a question,
not a verdict, the same discipline applied to every other oracle here.
.SH LIMITATIONS
Two rites are implemented, selected with
.BR \-\-rite " (see above)."
The Extraordinary Form (EF, 1962) is the default and the more thoroughly
validated of the two, against five independent layers including a
published Ordo witness. The Ordinary Form (OF, the post\-1970 Missal, base
calendar the 2002
.I Missale Romanum )
is younger: it has no published\-ordo witness yet, and a handful of dates are
known\-wrong and pinned rather than fixed (St Joseph anticipated onto Palm
Sunday, Normae n. 56(f); the Holy Family Sunday fallback of Normae n. 35(a)).
.PP
EF emits the Epistle and the Gospel only \(em its own
.I citations
are always exactly that pair, on every day of every year 1583..9999. OF
also emits a Second reading (the Apostle) on the Sundays and solemnities
its own shipped lectionary carries one for (OLM 1981 Praenotanda n. 66.1
vs n. 69.1: a Sunday/solemnity Mass has three readings, a feria/feast/
memorial two) \(em 183 of 1725 emitted citation fields in
.I data/of/lectionary.sexp
today, every one from a Sunday\-cycle entry, never a weekday\-cycle one; the
responsorial Psalm itself (present in the underlying pastoral source) is
deliberately NOT extracted \(em a chant, not a reading, and named in
neither rite's own well\-formed citation shapes. The chants proper \(em
Psalm, Gradual, Tract, Alleluia, Sequence \(em are deliberately not
computed for either rite: they have no source in this engine's data and no
oracle to validate them against, and the engine rejects any citation part
outside its own rite's well\-formed shapes rather than emit one it cannot
stand behind.
.PP
The votive Office of the Blessed Virgin Mary on Saturday is kept, but the
seasonal selection among its five Masses is not yet implemented, so its
reading citations fall back to the day's ordinary ones.
.SH SEE ALSO
.BR colitur\-overlay (5)
for the overlay file format \(em every directive, every field, the three date
shapes and worked examples.
.PP
.BR colitur\-templates (5)
for the template format used by
.BR table ", " render " and " publish
\(em the four syntax forms, the seven flavours and their escaping, the full
view\-model field reference, and the one remaining scope hazard a template
author can still hit.
.PP
.BR colitur\-config (5)
for the config file's location, the flag > config > default precedence, and
every setting it recognises.
.PP
.BR lectio (1)
.SH LICENSE
AGPL\-3.0\-or\-later.
|