diff options
author | Chris Little <chrislit@crosswire.org> | 2012-08-06 08:50:15 +0000 |
---|---|---|
committer | Chris Little <chrislit@crosswire.org> | 2012-08-06 08:50:15 +0000 |
commit | 10204484fc86c565e704657f7c93ce716354c0d7 (patch) | |
tree | d4ae2ba891965cc4fda75dd2c798adb0b1257842 /modules/python | |
parent | a2dfb7bc57065fb469004d40ccd4edacbd0fd23b (diff) | |
download | sword-tools-10204484fc86c565e704657f7c93ce716354c0d7.tar.gz |
Added some additional peripherals from the USFM doc
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@365 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules/python')
-rwxr-xr-x | modules/python/usfm2osis.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/python/usfm2osis.py b/modules/python/usfm2osis.py index c9c8447..688cd8e 100755 --- a/modules/python/usfm2osis.py +++ b/modules/python/usfm2osis.py @@ -129,7 +129,9 @@ peripherals = { 'Table of Contents':'tableofContents', 'Alphabetical Contents':'x-alphabeticalContents', 'Table of Abbreviations':'x-tableofAbbreviations', 'Chronology':'x-chronology', 'Weights and Measures':'x-weightsAndMeasures', 'Map Index':'x-mapIndex', - 'NT Quotes from LXX':'x-ntQuotesFromLXX' + 'NT Quotes from LXX':'x-ntQuotesFromLXX', + 'Cover':'coverPage', + 'Spine':'x-spine' } introPeripherals = { @@ -137,7 +139,7 @@ introPeripherals = { 'Pentateuch Introduction':'pentateuch', 'History Introduction':'history', 'Poetry Introduction':'poetry', 'Prophecy Introduction':'prophecy', 'New Testament Introduction':'newTestament', 'Gospels Introduction':'gospels', 'Acts Introduction':'acts', 'Epistles Introduction':'epistles', - 'Revelation Introduction':'revelation', 'Deuterocanon Introduction':'deuterocanon' + 'Letters Introduction':'letters', 'Deuterocanon Introduction':'deuterocanon' } osis2locBk = dict() @@ -244,7 +246,7 @@ def convertToOSIS(sFile): """ Introductions supported: \imt#, \is#, \ip, \ipi, \im, \imi, \ipq, \imq, \ipr, \iq#, \ib, \ili, \iot, \io#, \ior...\ior*, \iex, \iqt...\iqt*, \imte, \ie - NB: tags are 'supported' to the degree that their non-introduction equivalents are supported + NB: tags are generally 'supported' to the degree that their non-introduction equivalents are supported """ # \imt# # \is# ###TESTED### |