interlinear 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {interlinear-0.1.0 → interlinear-0.1.1}/PKG-INFO +1 -1
- {interlinear-0.1.0 → interlinear-0.1.1}/pyproject.toml +1 -1
- {interlinear-0.1.0 → interlinear-0.1.1}/setup.py +1 -1
- {interlinear-0.1.0 → interlinear-0.1.1}/src/interlinear/interlinear.py +15 -15
- {interlinear-0.1.0 → interlinear-0.1.1}/src/interlinear.egg-info/PKG-INFO +1 -1
- {interlinear-0.1.0 → interlinear-0.1.1}/LICENSE +0 -0
- {interlinear-0.1.0 → interlinear-0.1.1}/README.md +0 -0
- {interlinear-0.1.0 → interlinear-0.1.1}/setup.cfg +0 -0
- {interlinear-0.1.0 → interlinear-0.1.1}/src/interlinear/__init__.py +0 -0
- {interlinear-0.1.0 → interlinear-0.1.1}/src/interlinear.egg-info/SOURCES.txt +0 -0
- {interlinear-0.1.0 → interlinear-0.1.1}/src/interlinear.egg-info/dependency_links.txt +0 -0
- {interlinear-0.1.0 → interlinear-0.1.1}/src/interlinear.egg-info/requires.txt +0 -0
- {interlinear-0.1.0 → interlinear-0.1.1}/src/interlinear.egg-info/top_level.txt +0 -0
|
@@ -130,21 +130,21 @@ def chapter_range(chapters):
|
|
|
130
130
|
start, end = chapters.split('-')
|
|
131
131
|
return list(range(int(start), int(end)+1))
|
|
132
132
|
|
|
133
|
-
def chapter_interlinear_html(chapter_contents):
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
def chapters_interlinear_html(chapters):
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
133
|
+
# def chapter_interlinear_html(chapter_contents):
|
|
134
|
+
# """Return the expressionive structure for an interlinear text."""
|
|
135
|
+
# return T.table(class_="interlinear_chapter")[
|
|
136
|
+
# [[T.tr[[T.th(class_="verse_number")[str(vnumber)],
|
|
137
|
+
# [[T.td(class_=("verse_text_%d" % colno))[emphasize_word(text)]
|
|
138
|
+
# for colno, text in enumerate(verse)]]
|
|
139
|
+
# ]]]
|
|
140
|
+
# for vnumber, verse in enumerate(
|
|
141
|
+
# chapter_contents,
|
|
142
|
+
# start=1)]]
|
|
143
|
+
|
|
144
|
+
# def chapters_interlinear_html(chapters):
|
|
145
|
+
# """Return the expressionive structure for a list of Bible chapters."""
|
|
146
|
+
# return [[T.h3[chapter_number], chapter_interlinear_html(chapter_contents)]
|
|
147
|
+
# for chapter_number, chapter_contents in chapters]
|
|
148
148
|
|
|
149
149
|
def interlinear_html(data, filename):
|
|
150
150
|
"""Output the text as HTML."""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|