From 22824ef50abfeb497f04e73f88d0f7ab2e164eaf Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Wed, 19 Aug 2026 14:35:36 +0200 Subject: fix(lang): correct two wrong citation lines, add check-citations Two of la.ini's LT.txt: citations pointed at the wrong line -- the Latin itself was right, only the pinned line was wrong: - advent cited LT.txt:8631 ("Tempus Nativitatis"); the real "Tempus Adventus" heading is at 8609. - ef-christ-the-king and [rank]'s own citation both pointed near "Dominica ultima Octobris" (12459) when the text they actually quote, "D.NI NOSTRI JESU CHRISTI REGIS" and "I classis", sits two and three lines further down, at 12461 and 12462. ef-christmas-sunday-0 was marked PATTERN but LT.txt:8644 is the identical string verbatim -- relabelled as a direct citation, not constructed. Added tools/check_citations.py and `make check-citations`: for every LT.txt: citation outside a PATTERN block, confirms a +-2-line window around line n actually contains the Latin text the citation claims, rather than trusting each of the 38 citations by hand. Follows check-schema/check-templates' own precedent -- docs/ is gitignored, so the target prints SKIPPED loudly and exits 0 when docs/research/LT.txt is absent, never a silent pass. The checker's own teeth are proven three ways: replayed against the pre-fix file it independently re-derives both corrections above; a fresh mutation (redirecting one citation to an unrelated line) is caught and reverted; the fixed file passes clean, 147 citations checked, 0 wrong. --- lang/la.ini | 46 ++++++++++++++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 16 deletions(-) (limited to 'lang/la.ini') diff --git a/lang/la.ini b/lang/la.ini index 9b1ccf7..570f843 100644 --- a/lang/la.ini +++ b/lang/la.ini @@ -73,7 +73,9 @@ saturday = Sabbatum ; align 1:1 with the Missal's own table-of-contents section boundaries, so ; not every colitur season has one clean matching heading. advent = Tempus Adventus -; LT.txt:8631. +; LT.txt:8609. CORRECTED (fix round 1): previously cited LT.txt:8631, which +; is "Tempus Nativitatis", not this heading -- an off-by-22-line slip. The +; Latin itself was always right; only the pinned line was wrong. christmastide = Tempus Nativitatis ; NOT a direct match. LT.txt has "Tempus Epiphaniae" (LT.txt:8661, covering ; 6-13 January) for what colitur calls the tail of Christmastide, and a @@ -101,9 +103,12 @@ time-after-pentecost = Tempus per annum post Pentecosten [rank] ; RG 8's four classes. "I classis" is directly attested, not only in the -; Rubricae Generales but in a Mass propers heading itself -- -; LT.txt:12459, "D.NI NOSTRI JESU CHRISTI REGIS / I classis" (Christ the -; King). The other three ordinals follow the identical, standard pattern. +; Rubricae Generales but in a Mass propers heading itself -- LT.txt:12462, +; immediately under "D.ÑI NOSTRI JESU CHRISTI REGIS" (LT.txt:12461, Christ +; the King). The other three ordinals follow the identical, standard +; pattern. CORRECTED (fix round 1): previously cited LT.txt:12459, which is +; "Dominica ultima Octobris" -- neither "D.NI NOSTRI..." nor "I classis" +; appear there; both are 2-3 lines further down. class-1 = I classis class-2 = II classis class-3 = III classis @@ -323,11 +328,15 @@ ef-time-after-pentecost-sunday-22 = Dominica XXII post Pentecosten ef-time-after-pentecost-sunday-23 = Dominica XXIII post Pentecosten ef-time-after-pentecost-sunday-24 = Dominica XXIV et ultima post Pentecosten -; The Christmas Sunday within the Octave (26 Dec onward) -- colitur-only key -; (temporal_ef.ml's own comment: lectio has no narrower key here either); no -; direct LT.txt heading -- PATTERN, following the Nativity Octave's own -; "infra Octavam Nativitatis Domini" wording (LT.txt:8644's own general -; heading for that stretch, "Dominica infra Octavam Nativitatis Domini"). +; The Christmas Sunday within the Octave (26 Dec onward) -- colitur-only +; SLUG (temporal_ef.ml's own comment: lectio has no narrower key here +; either) but a DIRECT citation, not PATTERN: LT.txt:8644 is this exact +; string verbatim, "Dominica infra Octavam Nativitatis Domini", the TOC's +; own general heading for the whole 26 Dec-1 Jan stretch. CORRECTED (fix +; round 1): an earlier draft marked this PATTERN, describing the identical +; cited string as merely "following ... wording" rather than naming it as +; the direct quote it already was -- the name was always right, only the +; provenance label was wrong. ef-christmas-sunday-0 = Dominica infra Octavam Nativitatis Domini ; Trinity, Corpus Christi, Sacred Heart -- LT.txt:8786,8788-8789,8791-8792 @@ -341,13 +350,18 @@ ef-trinity = In Festo Sanctissimae Trinitatis ef-corpus-christi = In Festo Sanctissimi Corporis Christi ef-sacred-heart = In Festo Sacratissimi Cordis Iesu -; Christ the King -- LT.txt:12453,12457-12458, the Mass's own in-body -; heading (filed, unusually, in this transcription's Proprium Sanctorum -; section by calendar date rather than the Proprium de Tempore, even though -; RG 17(d) places it in the temporal cycle by rule): "Dominica ultima -; Octobris" / "D.NI NOSTRI JESU CHRISTI REGIS". "Jesu" normalised to -; "Iesu" and "D.ni" expanded to "D. N.", matching this file's own -; consonantal-i convention (see header). +; Christ the King -- LT.txt:12453 (the page's own title bar, carrying both +; "Dominica ultima Octobris" and "D.ni Nostri Jesu Christi Regis" on one +; line), LT.txt:12459 ("Dominica ultima Octobris" again, this time the +; Mass's own in-body heading) and LT.txt:12461 ("D.ÑI NOSTRI JESU CHRISTI +; REGIS", the line immediately below it) -- filed, unusually, in this +; transcription's Proprium Sanctorum section by calendar date rather than +; the Proprium de Tempore, even though RG 17(d) places it in the temporal +; cycle by rule. CORRECTED (fix round 1): previously cited "12457-12458" +; for the in-body heading; those two lines are "PROPRIUM SANCTORUM" and +; blank -- the real heading is one line further down, at 12459/12461. +; "Jesu" normalised to "Iesu" and "D.ni" expanded to "D. N.", matching this +; file's own consonantal-i convention (see header). ef-christ-the-king = Dominica ultima Octobris, D. N. Iesu Christi Regis ; Holy Name of Jesus, both shapes (RG 17(a)) -- temporal_ef.ml's own -- cgit v1.3