diff --git a/scripts/generate_test_epub.py b/scripts/generate_test_epub.py index 99868cf6..9b714512 100644 --- a/scripts/generate_test_epub.py +++ b/scripts/generate_test_epub.py @@ -1014,6 +1014,7 @@ def main():
Normal paragraph after pre/code block.
+""", + ), + [], + ), + ( + "4. Superscript and Subscript", + make_chapter( + "Superscript and Subscript", + """ +E = mc2 is Einstein's mass-energy equivalence.
+The area of a circle is πr2.
+210 = 1024.
+xn + yn = zn
+ +Water is H2O.
+Carbon dioxide is CO2.
+The sequence a1, a2, a3, ..., an.
+Glucose: C6H12O6.
+ +The pH of water is 7, meaning [H3O+] = 10-7 mol/L.
+Footnote reference1 and another2 in the same sentence.
+ +On the 1st of January, the 2nd quarter begins on the 3rd month.
+ +Speed of light: c = 2.998 × 108 m/s.
+Avogadro: 6.022 × 1023 mol-1.
+Bold superscript: x2 and italic subscript: Hn.
+ +This wordhas a rather long superscript attached to it continuing normally.
+This wordhas a rather long subscript attached to it continuing normally.
""", ), [], diff --git a/test/epubs/test_jpeg_images.epub b/test/epubs/test_jpeg_images.epub index a99251f0..c2142b7c 100644 Binary files a/test/epubs/test_jpeg_images.epub and b/test/epubs/test_jpeg_images.epub differ