diff options
author | Chris Little <chrislit@crosswire.org> | 2012-08-06 08:52:01 +0000 |
---|---|---|
committer | Chris Little <chrislit@crosswire.org> | 2012-08-06 08:52:01 +0000 |
commit | 3a0af4cece03660820450c4ff615241d474d7b8d (patch) | |
tree | 06ab8cf7b7299e83ab9733e83005fc5f2f3517ef /modules/python | |
parent | 10204484fc86c565e704657f7c93ce716354c0d7 (diff) | |
download | sword-tools-3a0af4cece03660820450c4ff615241d474d7b8d.tar.gz |
Fixed typo; moved remaining tags to 'supported' lines
git-svn-id: https://www.crosswire.org/svn/sword-tools/trunk@366 07627401-56e2-0310-80f4-f8cd0041bdcd
Diffstat (limited to 'modules/python')
-rwxr-xr-x | modules/python/usfm2osis.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/python/usfm2osis.py b/modules/python/usfm2osis.py index 688cd8e..eb3c40d 100755 --- a/modules/python/usfm2osis.py +++ b/modules/python/usfm2osis.py @@ -667,8 +667,7 @@ def convertToOSIS(sFile): def cvtSpecialFeatures(osis, relaxedConformance): """ Special Features - supported: - unsupported: \fig...\fig*, \ndx...\ndx*, \pro...\pro*, \w...\w*, \wg...\wg*, \wh...\wh* + supported: \fig...\fig*, \ndx...\ndx*, \pro...\pro*, \w...\w*, \wg...\wg*, \wh...\wh* """ # \fig DESC|FILE|SIZE|LOC|COPY|CAP|REF\fig* def makeFigure(matchObject): @@ -704,7 +703,7 @@ def convertToOSIS(sFile): osis = re.sub(r'([^\s]+)(\s*)\\pro\s+(.+?)(\s*)\\pro\*', r'<w xlit="\3">\1</w>\2\4', osis, flags=re.DOTALL) # \w_...\w* - osis = re.sub(r'\\w\s+(.+?)(\s*)\\w\*', r'\1<index index="Glossay" level1="\1"/>\2', osis, flags=re.DOTALL) + osis = re.sub(r'\\w\s+(.+?)(\s*)\\w\*', r'\1<index index="Glossary" level1="\1"/>\2', osis, flags=re.DOTALL) # \wg_...\wg* osis = re.sub(r'\\wg\s+(.+?)(\s*)\\wg\*', r'\1<index index="Greek" level1="\1"/>\2', osis, flags=re.DOTALL) @@ -718,8 +717,7 @@ def convertToOSIS(sFile): def cvtPeripherals(osis, relaxedConformance): """ Peripherals - supported: - unsupported: \periph + supported: \periph """ # \periph def tagPeriph(matchObject): |