From 1c73ddf3894085c646b55d63e61a2483e03a3b4d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 9 Feb 2018 22:03:10 -0500 Subject: 0.24.0 toml or sdlang for configuration --- org/meta_abstraction.org | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'org/meta_abstraction.org') diff --git a/org/meta_abstraction.org b/org/meta_abstraction.org index b1464b5..aa79d9a 100644 --- a/org/meta_abstraction.org +++ b/org/meta_abstraction.org @@ -1907,7 +1907,8 @@ if (the_table_of_contents_section["scroll"].length > 1) { segnames_0_4 ~= obj.segment_anchor_tag; if (obj.heading_lev_markup == 4) { obj.segname_next = html_segnames[obj.ptr_html_segnames + 1]; - assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]); + assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames], + obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]); } } /+ dom structure (marked up & collapsed) +/ @@ -1936,7 +1937,8 @@ if (the_table_of_contents_section["scroll"].length > 1) { segnames_0_4 ~= obj.segment_anchor_tag; if (obj.heading_lev_markup == 4) { obj.segname_next = html_segnames[obj.ptr_html_segnames + 1]; - assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]); + assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames], + obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]); } } if ((opt_action.html) @@ -1971,7 +1973,8 @@ if (the_document_body_section.length > 1) { if (html_segnames.length > obj.ptr_html_segnames + 1) { obj.segname_next = html_segnames[obj.ptr_html_segnames + 1]; } - assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]); + assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames], + obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]); } } /+ dom structure (marked up & collapsed) +/ @@ -2019,7 +2022,8 @@ if (the_endnotes_section.length > 1) { if (html_segnames.length > obj.ptr_html_segnames + 1) { obj.segname_next = html_segnames[obj.ptr_html_segnames + 1]; } - assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]); + assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames], + obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]); } } /+ dom structure (marked up & collapsed) +/ @@ -2060,7 +2064,8 @@ if (the_glossary_section.length > 1) { if (html_segnames.length > obj.ptr_html_segnames + 1) { obj.segname_next = html_segnames[obj.ptr_html_segnames + 1]; } - assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]); + assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames], + obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]); } } /+ dom structure (marked up & collapsed) +/ @@ -2105,7 +2110,8 @@ if (the_bibliography_section.length > 1) { if (html_segnames.length > obj.ptr_html_segnames + 1) { obj.segname_next = html_segnames[obj.ptr_html_segnames + 1]; } - assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]); + assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames], + obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]); } } /+ dom structure (marked up & collapsed) +/ @@ -2155,7 +2161,8 @@ if (the_bookindex_section["scroll"].length > 1) { if (html_segnames.length > obj.ptr_html_segnames + 1) { obj.segname_next = html_segnames[obj.ptr_html_segnames + 1]; } - assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]); + assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames], + obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]); } } /+ dom structure (marked up & collapsed) +/ @@ -2194,7 +2201,8 @@ if (the_bookindex_section["scroll"].length > 1) { if (html_segnames.length > obj.ptr_html_segnames + 1) { obj.segname_next = html_segnames[obj.ptr_html_segnames + 1]; } - assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]); + assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames], + obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]); } } /+ dom structure (marked up & collapsed) +/ @@ -2243,7 +2251,8 @@ if (the_blurb_section.length > 1) { if (html_segnames.length > obj.ptr_html_segnames + 1) { obj.segname_next = html_segnames[obj.ptr_html_segnames + 1]; } - assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames]); + assert(obj.segment_anchor_tag == html_segnames[obj.ptr_html_segnames], + obj.segment_anchor_tag ~ "!=" ~ html_segnames[obj.ptr_html_segnames]); } } /+ dom structure (marked up & collapsed) +/ @@ -3784,7 +3793,7 @@ void _block_flag_line_empty_(B,N,CMM)( comp_obj_block = comp_obj_block.init; obj_cite_digits = ocn_emit(OCNstatus.on); an_object["bookindex_nugget"] - =("bookindex_nugget" in an_object) ? an_object["bookindex_nugget"] : ""; + = ("bookindex_nugget" in an_object) ? an_object["bookindex_nugget"] : ""; bookindex_unordered_hashes = bookindex_extract_hash.bookindex_nugget_hash( an_object["bookindex_nugget"], -- cgit v1.2.3