diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-04-18 20:48:41 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 69c906fc8cffc841fc33ab6f9bdeafcf1d8f3b82 (patch) | |
tree | 9c809898d0cd5221df2d13b0995671befb3111c3 /org/ao_doc_abstraction.org | |
parent | 0.13.9 sisupod & epub3, zipped output (diff) |
section keys sequencedoc-reform_v0.0.13
Diffstat (limited to 'org/ao_doc_abstraction.org')
-rw-r--r-- | org/ao_doc_abstraction.org | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/org/ao_doc_abstraction.org b/org/ao_doc_abstraction.org index 240b8df..e178575 100644 --- a/org/ao_doc_abstraction.org +++ b/org/ao_doc_abstraction.org @@ -224,6 +224,7 @@ template SiSUdocAbstraction() { <<abs_functions_assertions>> /+ abstraction functions assertions ↑ +/ } /+ ← closed: template SiSUdocAbstraction +/ +<<template_doc_sect_keys_seq>> #+END_SRC ** 1. _pre loop processing_ :pre: @@ -2210,7 +2211,7 @@ dom_collapsed_buffer = [ 0, 0, 0, 0, 0, 0, 0, 0, 0,]; #+BEGIN_SRC d auto t = tuple( document_the, - document_section_keys_sequenced, + docSectKeysSeq!()(document_section_keys_sequenced), segnames, images, ); @@ -3429,8 +3430,8 @@ void _block_flag_line_empty_(B)( ); auto substantive_obj_misc_tuple = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, dochead_make_aa); - an_object["substantive"] = substantive_obj_misc_tuple[sObj.content]; - anchor_tags = substantive_obj_misc_tuple[sObj.anchor_tags]; + an_object["substantive"] = substantive_obj_misc_tuple[sObj.content]; + anchor_tags = substantive_obj_misc_tuple[sObj.anchor_tags]; comp_obj_block = comp_obj_block.init; comp_obj_block.use = "body"; comp_obj_block.is_of = "block"; @@ -6785,6 +6786,25 @@ auto assertions_flag_types_block_status_none_or_closed(T)(T type) { } #+END_SRC +*** doc sect keys seq + +#+name: template_doc_sect_keys_seq +#+BEGIN_SRC d +template docSectKeysSeq() { + auto docSectKeysSeq(string[][string] document_section_keys_sequenced) { + struct doc_sect_keys_seq { + auto seg() { + return document_section_keys_sequenced["seg"]; + } + auto scroll() { + return document_section_keys_sequenced["scroll"]; + } + } + return doc_sect_keys_seq(); + } +} +#+END_SRC + * 2. Object Setter (Set Abstract Object) :abstract:object: set abstracted objects for downstream processing |