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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: interlinear
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Interlinear text handling.
5
5
  Author: John C. G. Sturdy
6
6
  Author-email: "John C. G. Sturdy" <jcg.sturdy@gmail.com>
@@ -7,6 +7,6 @@ name = "interlinear"
7
7
  authors = [{name = "John C. G. Sturdy", email = "jcg.sturdy@gmail.com"}]
8
8
  readme = "README.md"
9
9
  license = "GPL-3.0-or-later"
10
- version = "0.1.0"
10
+ version = "0.1.1"
11
11
  description = "Interlinear text handling."
12
12
  dynamic = ["dependencies"]
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="interlinear",
5
- version="0.1.0",
5
+ version="0.1.1",
6
6
  description="Interlinear text system",
7
7
  author="John C. G. Sturdy",
8
8
  author_email="jcg.sturdy@gmail.com",
@@ -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
- """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]
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."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: interlinear
3
- Version: 0.1.0
3
+ Version: 0.1.1
4
4
  Summary: Interlinear text handling.
5
5
  Author: John C. G. Sturdy
6
6
  Author-email: "John C. G. Sturdy" <jcg.sturdy@gmail.com>
File without changes
File without changes
File without changes