diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-12 23:11:45 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-14 12:18:51 -0400 |
| commit | 4af9d673346d558b47bd113c5ca20dd61e33b8cb (patch) | |
| tree | 10835684f27806d4a0b8144bc0ac2350da608730 | |
| parent | epub, html: document heads and ids, fixes (diff) | |
epub, html: reference issues fixes
- _part_eof.xhtml was declared in the manifest and never written.
- image_sys/bullet_09.png was referenced as a background image, a
throwback to the Ruby version of sisu, never used here.
(assisted by Claude-Code)
| -rw-r--r-- | org/out_xmls.org | 4 | ||||
| -rw-r--r-- | org/out_xmls_css.org | 8 | ||||
| -rw-r--r-- | src/sisudoc/outputs/io_out/epub3.d | 4 | ||||
| -rw-r--r-- | src/sisudoc/outputs/io_out/xmls_css.d | 24 |
4 files changed, 16 insertions, 24 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org index 5b989df..786d164 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -3122,6 +3122,10 @@ case "backmatter": is not listed again. +/ if (obj.metainfo.is_a == "heading" + /+ ↓ "tail" is the end of document marker, and no file is written for it (the + writing loop skips the section), so it is not in the manifest either. + +/ + && section != "tail" && obj.metainfo.heading_lev_markup <= 4 && obj.tags.segment_anchor_tag_epub.length > 0 && !(obj.tags.segment_anchor_tag_epub in _segment_files_seen) diff --git a/org/out_xmls_css.org b/org/out_xmls_css.org index 4e17d1a..095926a 100644 --- a/org/out_xmls_css.org +++ b/org/out_xmls_css.org @@ -678,9 +678,7 @@ ul, li { margin-top : 3px; margin-bottom : 3px; } -li { - background : url(../image_sys/bullet_09.png) no-repeat 0px 6px; -} +li { } /* bullets are rendered as text; the background image was never shipped */ ul { } #+END_SRC @@ -1611,9 +1609,7 @@ ul, li { margin-top : 3px; margin-bottom : 3px; } -li { - background : (../image_sys/bullet_09.png) no-repeat 0px 6px; -} +li { } /* bullets are rendered as text; the background image was never shipped */ ul { } #+END_SRC diff --git a/src/sisudoc/outputs/io_out/epub3.d b/src/sisudoc/outputs/io_out/epub3.d index 1c08bab..b606e7a 100644 --- a/src/sisudoc/outputs/io_out/epub3.d +++ b/src/sisudoc/outputs/io_out/epub3.d @@ -565,6 +565,10 @@ template outputEPub3() { is not listed again. +/ if (obj.metainfo.is_a == "heading" + /+ ↓ "tail" is the end of document marker, and no file is written for it (the + writing loop skips the section), so it is not in the manifest either. + +/ + && section != "tail" && obj.metainfo.heading_lev_markup <= 4 && obj.tags.segment_anchor_tag_epub.length > 0 && !(obj.tags.segment_anchor_tag_epub in _segment_files_seen) diff --git a/src/sisudoc/outputs/io_out/xmls_css.d b/src/sisudoc/outputs/io_out/xmls_css.d index 21f9f59..7a13885 100644 --- a/src/sisudoc/outputs/io_out/xmls_css.d +++ b/src/sisudoc/outputs/io_out/xmls_css.d @@ -915,9 +915,7 @@ ul, li { margin-top : 3px; margin-bottom : 3px; } -li { - background : url(../image_sys/bullet_09.png) no-repeat 0px 6px; -} +li { } /* bullets are rendered as text; the background image was never shipped */ ul { } h0, h1, h2, h3, h4, h5, h6, h7 { font-weight : bold; @@ -1705,9 +1703,7 @@ ul, li { margin-top : 3px; margin-bottom : 3px; } -li { - background : (../image_sys/bullet_09.png) no-repeat 0px 6px; -} +li { } /* bullets are rendered as text; the background image was never shipped */ ul { } h0, h1, h2, h3, h4, h5, h6, h7 { font-weight : bold; @@ -2506,9 +2502,7 @@ ul, li { margin-top : 3px; margin-bottom : 3px; } -li { - background : url(../image_sys/bullet_09.png) no-repeat 0px 6px; -} +li { } /* bullets are rendered as text; the background image was never shipped */ ul { } h0, h1, h2, h3, h4, h5, h6, h7 { font-weight : bold; @@ -3222,9 +3216,7 @@ ul, li { margin-top : 3px; margin-bottom : 3px; } -li { - background : (../image_sys/bullet_09.png) no-repeat 0px 6px; -} +li { } /* bullets are rendered as text; the background image was never shipped */ ul { } h0, h1, h2, h3, h4, h5, h6, h7 { font-weight : bold; @@ -3949,9 +3941,7 @@ ul, li { margin-top : 3px; margin-bottom : 3px; } -li { - background : url(../image_sys/bullet_09.png) no-repeat 0px 6px; -} +li { } /* bullets are rendered as text; the background image was never shipped */ ul { } h0, h1, h2, h3, h4, h5, h6, h7 { font-weight : bold; @@ -4505,9 +4495,7 @@ ul, li { margin-top : 3px; margin-bottom : 3px; } -li { - background : (../image_sys/bullet_09.png) no-repeat 0px 6px; -} +li { } /* bullets are rendered as text; the background image was never shipped */ ul { } h0, h1, h2, h3, h4, h5, h6, h7 { font-weight : bold; |
