From 650ab89ea68c7c9df94a035b7a8771c291489f30 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 12 Sep 2016 11:04:51 -0400 Subject: make header_make available in creating abstract objects --- org/ao_abstract_doc_source.org | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) (limited to 'org/ao_abstract_doc_source.org') diff --git a/org/ao_abstract_doc_source.org b/org/ao_abstract_doc_source.org index 12fd0a5..020d9ed 100644 --- a/org/ao_abstract_doc_source.org +++ b/org/ao_abstract_doc_source.org @@ -295,7 +295,7 @@ if ((matchFirst(line, rgx.heading_biblio) #+BEGIN_SRC d } else if (type["poem"] == TriState.on) { /+ within block object: poem +/ - poem_block(line, an_object, type, counter, obj_cite_number_poem); + poem_block(line, an_object, type, counter, obj_cite_number_poem, dochead_make_aa); continue; #+END_SRC @@ -514,7 +514,7 @@ if (matchFirst(line, rgx.block_open)) { #+BEGIN_SRC d } else if (type["blocks"] == TriState.closing) { /+ line empty, with blocks flag +/ - block_flag_line_empty(line, an_object, contents_the_objects, bookindex_unordered_hashes, obj_cite_number, node, counter, type, obj_cite_number_poem); // watch + block_flag_line_empty(line, an_object, contents_the_objects, bookindex_unordered_hashes, obj_cite_number, node, counter, type, obj_cite_number_poem, dochead_make_aa); // watch #+END_SRC ****** line empty [+1] @@ -563,7 +563,7 @@ if ((type["heading"] == State.on) an_object["is"] ); // heading an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); ++heading_pointer; @@ -611,7 +611,7 @@ if ((type["heading"] == State.on) an_object["is"] ); an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -700,7 +700,7 @@ debug(objectrelated2) { // check * references / bibliography * book index +/ -obj_im.obj_inline_markup("doc_end_reset", ""); +obj_im.obj_inline_markup("doc_end_reset", "", dochead_make_aa); #+END_SRC *** [#B] endnotes :endnotes: @@ -1313,7 +1313,8 @@ auto poem_block( ref string[string] an_object, ref int[string] type, ref long counter, - string[string] obj_cite_number_poem + string[string] obj_cite_number_poem, + string[string][string] dochead_make_aa, ) { if (type["curly_poem"] == TriState.on) { if (matchFirst(line, rgx.block_curly_poem_close)) { @@ -1346,7 +1347,7 @@ auto poem_block( } an_object["is"] = "verse"; an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -1395,7 +1396,7 @@ auto poem_block( an_object["is"] ); an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -1430,7 +1431,7 @@ auto poem_block( processing.remove("verse"); an_object["is"] = "verse"; an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -1479,7 +1480,7 @@ auto poem_block( an_object["is"] ); an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -1672,7 +1673,8 @@ auto block_flag_line_empty( ref string node, ref long counter, ref int[string] type, - string[string] obj_cite_number_poem + string[string] obj_cite_number_poem, + string[string][string] dochead_make_aa, ) { // line.empty, post contents, empty variables --------------- assert( @@ -1701,7 +1703,7 @@ auto block_flag_line_empty( an_object["is"] ); an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -1761,7 +1763,7 @@ auto block_flag_line_empty( an_object["is"] ); an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -1793,7 +1795,7 @@ auto block_flag_line_empty( an_object["is"] ); an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -1824,7 +1826,7 @@ auto block_flag_line_empty( an_object["is"] ); an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -1856,7 +1858,7 @@ auto block_flag_line_empty( an_object["is"] ); an_object["substantive"] = - obj_im.obj_inline_markup(an_object["is"], an_object["obj"]); + obj_im.obj_inline_markup(an_object["is"], an_object["obj"], dochead_make_aa); an_object["attrib"] = obj_att.obj_attributes(an_object["is"], an_object["obj"], node); contents_the_objects ~= @@ -2676,7 +2678,7 @@ struct ObjInlineMarkup { // struct ObjInlineMarkup : AssertObjInlineMarkup { auto munge = ObjInlineMarkupMunge(); string[string] obj_txt; - string obj_inline_markup(string obj_is_, string obj_raw) + string obj_inline_markup(string obj_is_, string obj_raw, string[string][string] dochead_make_aa) in { } body { obj_txt["munge"]=obj_raw.dup; -- cgit v1.2.3