diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/python/usfm2osis.py | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/modules/python/usfm2osis.py b/modules/python/usfm2osis.py index 19f9f8f..dea21ac 100755 --- a/modules/python/usfm2osis.py +++ b/modules/python/usfm2osis.py @@ -209,6 +209,56 @@ canonicalOrder = [ 'INDEX', 'GAZETTEER', 'X-OTHER' ] +sfmNumericOrder = [ + # Front Matter + 'FRONT', 'INTRODUCTION', + + # OT 01-39 + 'Gen', 'Exod', 'Lev', 'Num', 'Deut', 'Josh', 'Judg', 'Ruth', + '1Sam', '2Sam', '1Kgs', '2Kgs', '1Chr', '2Chr', 'Ezra', 'Neh', + 'Esth', 'Job', 'Ps', 'Prov', 'Eccl', 'Song', 'Isa', 'Jer', + 'Lam', 'Ezek', 'Dan', 'Hos', 'Joel', 'Amos', 'Obad', 'Jonah', + 'Mic', 'Nah', 'Hab', 'Zeph', 'Hag', 'Zech', 'Mal', + + # NT 41-67 + 'Matt', 'Mark', 'Luke', 'John', 'Acts', 'Rom', '1Cor', '2Cor', + 'Gal', 'Eph', 'Phil', 'Col', '1Thess', '2Thess', '1Tim', '2Tim', + 'Titus', 'Phlm', 'Heb', 'Jas', '1Pet', '2Pet', '1John', '2John', + '3John', 'Jude', 'Rev', + + # Apocrypha 68-87 (plus AddEsth, inserted after EsthGr) + 'Tob', 'Jdt', 'EsthGr', 'AddEsth', 'Wis', 'Sir', 'Bar', 'EpJer', + 'PrAzar', 'Sus', 'Bel', '1Macc', '2Macc', '3Macc', '4Macc', + '1Esd', '2Esd', 'PrMan', 'AddPs', 'Odes', 'PssSol', + + # Esdrae A4-A6 + '4Ezra', '5Ezra', '6Ezra', + + # Gk. Daniel, Syriac additions, Ethiopic additions, Laodiceans B2-C2 + 'DanGr', '5ApocSyrPss', '2Bar', 'EpBar', 'Jub', '1En', + '1Meq', '2Meq', '3Meq', 'Reproof', '4Bar', 'EpLao', + + # Books not currently adopted into USFM, in order given by BFBS + # Metrical Psalms + 'PsMet', + # Vulgate + 'PrSol', 'PrJer', + # Armenian + 'WSir', 'EpCorPaul', '3Cor', 'PrEuth', 'DormJohn', + # NT Codices + '1Clem', '2Clem', 'Herm', 'Barn', 'Did', + + # Books not currently adopted into USFM, recommended for removal by BFBS + 'JoshA', 'JudgB', 'TobS', 'DanTh', 'SusTh', 'BelTh', + + # Private-Use Extensions + 'XXA', 'XXB', 'XXC', 'XXD', 'XXE', 'XXF', 'XXG', + + # Back Matter + 'BACK', 'CONCORDANCE', 'GLOSSARY', + 'INDEX', 'GAZETTEER', 'X-OTHER' + ] + specialBooks = ['FRONT', 'INTRODUCTION', 'BACK', 'CONCORDANCE', 'GLOSSARY', 'INDEX', 'GAZETTEER', 'X-OTHER'] peripherals = { |