aboutsummaryrefslogtreecommitdiff
path: root/lang/traditions.ini
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 19:05:13 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-20 19:05:13 +0200
commit7dbd16cdf5880c0006dffacd09214ee607050b64 (patch)
tree01e1ee37a2be97a0b06fad70de975d8007beb702 /lang/traditions.ini
parent1aeca948c2a2a82bffaaec65077140aa05f7b3f4 (diff)
parent1da70dc7ac03fe33fb92b172a0e26932764170d6 (diff)
downloadcolitur-7dbd16cdf5880c0006dffacd09214ee607050b64.tar.gz
colitur-7dbd16cdf5880c0006dffacd09214ee607050b64.zip
Merge branch 'citations-and-sigla'
Citations are parsed into structure and re-rendered, so book names, abbreviations, punctuation style and numbering tradition become files a user edits rather than strings frozen in the data. New lib/citation (Book, Parse, Render, Sigla); [bible] and [sigla] sections in language files; lang/traditions.ini for numbering; three config keys and CLI flags. --raw emits every citation byte-for-byte as stored, bypassing the whole pipeline, so output stays diffable against lectio and the raw view does not depend on the parser being correct.
Diffstat (limited to 'lang/traditions.ini')
-rw-r--r--lang/traditions.ini22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/traditions.ini b/lang/traditions.ini
new file mode 100644
index 0000000..46f6ee7
--- /dev/null
+++ b/lang/traditions.ini
@@ -0,0 +1,22 @@
+; lang/traditions.ini -- which book a reference DENOTES.
+;
+; Separate from a language file's [bible] section, which decides what a book
+; is CALLED: naming varies by language, this does not. "Modern numbering" is
+; the same decision in Latin, Polish and English.
+;
+; The DEFAULT is [vulgate], as the 1962 Missal prints it. colitur never
+; renumbers unless a tradition is chosen explicitly.
+;
+; Ids follow the Vulgate structure, because that is what the shipped data is.
+
+[vulgate]
+; identity -- deliberately empty
+
+[modern]
+kings_3 = kings_1
+kings_4 = kings_2
+esdras_2 = nehemiah
+ecclesiasticus = sirach
+osee = hosea
+jonas = jonah
+apocalypse = revelation