aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ocda_obj_setter.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/ocda_obj_setter.org')
-rw-r--r--org/ocda_obj_setter.org10
1 files changed, 10 insertions, 0 deletions
diff --git a/org/ocda_obj_setter.org b/org/ocda_obj_setter.org
index a6c25f2..e0e7363 100644
--- a/org/ocda_obj_setter.org
+++ b/org/ocda_obj_setter.org
@@ -216,6 +216,16 @@ struct DocObj_Tags_ {
string segment_anchor_tag_epub = "";
string html_segment_anchor_tag_is = "";
string epub_segment_anchor_tag_is = "";
+ /+ the html segment a cross reference to this heading lands on.
+ a heading above level 4 opens no html segment of its own, so a link to
+ it has to go to the level 4 heading that follows, which is not known
+ when the heading is read ("for html segname need following lv4 not yet
+ known", metadoc_from_src.d). It is resolved in a pass over the
+ finished sections and kept here, so that it is a property of the
+ object like any other and travels with the abstraction rather than
+ living only in the tag_associations map the parser builds.
+ +/
+ string segment_lv4_is = "";
string heading_lev_anchor_tag = "";
string segname_prev = "";
string segname_next = "";