aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_xmls.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r--org/out_xmls.org4
1 files changed, 4 insertions, 0 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)