summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/python/usfm2osis.py8
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):