aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/meta_abstraction.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/meta_abstraction.org')
-rw-r--r--org/meta_abstraction.org410
1 files changed, 205 insertions, 205 deletions
diff --git a/org/meta_abstraction.org b/org/meta_abstraction.org
index 0caa15c..9f451e6 100644
--- a/org/meta_abstraction.org
+++ b/org/meta_abstraction.org
@@ -1091,8 +1091,8 @@ if ((obj_type_status["heading"] == State.on)
: ocn_emit(OCNstatus.on); // : ocn_emit(obj_type_status["ocn_status"]);
an_object["is"] = "heading";
an_object_key="body_nugget";
- auto substantive_object_and_anchor_tags_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_object_and_anchor_tags_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
an_object["substantive"] = substantive_object_and_anchor_tags_tuple[sObj.content];
anchor_tags = substantive_object_and_anchor_tags_tuple[sObj.anchor_tags];
if (an_object["lev_markup_number"].to!int == 4) {
@@ -1126,10 +1126,10 @@ if ((obj_type_status["heading"] == State.on)
break;
}
}
- 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"], obj_cite_digits, segment_anchor_tag_that_object_belongs_to);
+ 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"], obj_cite_digits, segment_anchor_tag_that_object_belongs_to);
/+ (incrementally build toc) table of contents here! +/
_anchor_tag=to!string(obj_cite_digits.on);
the_table_of_contents_section = obj_im.table_of_contents_gather_headings(
@@ -1145,8 +1145,8 @@ if ((obj_type_status["heading"] == State.on)
html_segnames_ptr = html_segnames_ptr_cntr;
html_segnames_ptr_cntr++;
}
- auto comp_obj_heading =
- node_construct.node_emitter_heading(
+ auto comp_obj_heading
+ = node_construct.node_emitter_heading(
an_object["substantive"], // string
an_object["lev"], // string
an_object["lev_markup_number"], // string
@@ -1186,13 +1186,13 @@ if ((obj_type_status["heading"] == State.on)
&& (line_occur["para"] > State.off)) {
/+ paragraph object (current line empty) +/
obj_cite_digits = ocn_emit(obj_type_status["ocn_status"]);
- 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"], obj_cite_digits, segment_anchor_tag_that_object_belongs_to);
+ 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"], obj_cite_digits, segment_anchor_tag_that_object_belongs_to);
an_object["is"] = "para";
- auto comp_obj_heading =
- node_construct.node_location_emitter(
+ auto comp_obj_heading
+ = node_construct.node_location_emitter(
content_non_header,
segment_anchor_tag_that_object_belongs_to,
obj_cite_digits,
@@ -1200,8 +1200,8 @@ if ((obj_type_status["heading"] == State.on)
heading_ptr-1,
an_object["is"],
);
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
an_object["substantive"] = substantive_obj_misc_tuple[sObj.content];
anchor_tags = substantive_obj_misc_tuple[sObj.anchor_tags];
comp_obj_para = comp_obj_para.init;
@@ -1306,8 +1306,8 @@ if (the_document_body_section.length > 0) {
#+name: abs_post
#+BEGIN_SRC d
-auto en_tuple =
- note_section.endnote_objects(obj_cite_digits, opt_action);
+auto en_tuple
+ = note_section.endnote_objects(obj_cite_digits, opt_action);
static assert(!isTypeTuple!(en_tuple));
auto the_endnotes_section = en_tuple[0];
obj_cite_digits = en_tuple[1];
@@ -1360,8 +1360,8 @@ debug(glossary) {
#+BEGIN_SRC d
auto biblio_unsorted_incomplete = biblio_arr_json.dup;
auto biblio = Bibliography();
-auto biblio_ordered =
- biblio._bibliography_(biblio_unsorted_incomplete, bib_arr_json);
+auto biblio_ordered
+ = biblio._bibliography_(biblio_unsorted_incomplete, bib_arr_json);
#+END_SRC
#+name: abs_post
@@ -1506,8 +1506,8 @@ auto biblio_entry_tags_jsonstr = `{
#+name: abs_post
#+BEGIN_SRC d
auto bi = BookIndexReportSection();
-auto bi_tuple =
- bi.bookindex_build_abstraction_section(
+auto bi_tuple
+ = bi.bookindex_build_abstraction_section(
bookindex_unordered_hashes,
obj_cite_digits,
opt_action,
@@ -2498,8 +2498,8 @@ static auto _check_ocn_status_(L,T)(
obj_type_status["ocn_status"] = OCNstatus.on;
}
} else {
- obj_type_status["ocn_status"] =
- obj_type_status["ocn_status_off_for_multiple_objects"];
+ obj_type_status["ocn_status"]
+ = obj_type_status["ocn_status_off_for_multiple_objects"];
}
}
} else if ((!line.empty) && (obj_type_status["ocn_status_off_for_multiple_objects"] > TriState.off)) {
@@ -2918,8 +2918,8 @@ void _biblio_block_(
}
switch (biblio_tag_name) {
case "author_raw": // author_arr author (fn sn)
- j["author_arr"] =
- header_tag_value.split(rgx.arr_delimiter);
+ j["author_arr"]
+ = header_tag_value.split(rgx.arr_delimiter);
string tmp;
biblioAuthorLoop:
foreach (au; j["author_arr"].array) {
@@ -2933,8 +2933,8 @@ void _biblio_block_(
j["author"].str = tmp;
goto default;
case "editor_raw": // editor_arr editor (fn sn)
- j["editor_arr"] =
- header_tag_value.split(rgx.arr_delimiter);
+ j["editor_arr"]
+ = header_tag_value.split(rgx.arr_delimiter);
string tmp;
biblioEditorLoop:
foreach (ed; j["editor_arr"].array) {
@@ -3184,8 +3184,8 @@ void _poem_block_(L,O,T,C,N,CMM)(
);
}
an_object["is"] = "verse";
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
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;
@@ -3242,8 +3242,8 @@ void _poem_block_(L,O,T,C,N,CMM)(
heading_ptr-1,
an_object["is"]
);
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
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;
@@ -3285,8 +3285,8 @@ void _poem_block_(L,O,T,C,N,CMM)(
}
processing.remove("verse");
an_object["is"] = "verse";
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
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;
@@ -3334,8 +3334,8 @@ void _poem_block_(L,O,T,C,N,CMM)(
}
processing.remove("verse");
an_object["is"] = "verse";
- auto comp_obj_location =
- node_construct.node_location_emitter(
+ auto comp_obj_location
+ = node_construct.node_location_emitter(
content_non_header,
segment_anchor_tag_that_object_belongs_to,
obj_cite_digits,
@@ -3343,8 +3343,8 @@ void _poem_block_(L,O,T,C,N,CMM)(
heading_ptr-1,
an_object["is"]
);
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
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;
@@ -3478,8 +3478,8 @@ void _table_closed_make_special_notation_table_(N,CMM)(
) {
comp_obj_block = comp_obj_block.init;
obj_cite_digits = ocn_emit(OCNstatus.on);
- auto comp_obj_location =
- node_construct.node_location_emitter(
+ auto comp_obj_location
+ = node_construct.node_location_emitter(
content_non_header,
segment_anchor_tag_that_object_belongs_to,
obj_cite_digits,
@@ -3488,8 +3488,8 @@ void _table_closed_make_special_notation_table_(N,CMM)(
"table"
);
an_object["is"] = "table";
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, "body_nugget", conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, "body_nugget", conf_make_meta);
an_object["substantive"] = substantive_obj_misc_tuple[sObj.content];
comp_obj_block.ocn = obj_cite_digits.on;
comp_obj_block.obj_cite_number = (obj_cite_digits.on==0) ? "" : obj_cite_digits.on.to!string;
@@ -3542,17 +3542,17 @@ void _block_flag_line_empty_(B,N,CMM)(
#+BEGIN_SRC d
if (obj_type_status["quote"] == TriState.closing) {
obj_cite_digits = ocn_emit(OCNstatus.on);
- 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"]
+ = ("bookindex_nugget" in an_object) ? an_object["bookindex_nugget"] : "";
+ bookindex_unordered_hashes
+ = bookindex_extract_hash.bookindex_nugget_hash(
an_object["bookindex_nugget"],
obj_cite_digits,
segment_anchor_tag_that_object_belongs_to
);
an_object["is"] = "quote";
- auto comp_obj_location =
- node_construct.node_location_emitter(
+ auto comp_obj_location
+ = node_construct.node_location_emitter(
content_non_header,
segment_anchor_tag_that_object_belongs_to,
obj_cite_digits,
@@ -3560,8 +3560,8 @@ void _block_flag_line_empty_(B,N,CMM)(
heading_ptr-1,
an_object["is"]
);
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
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;
@@ -3592,17 +3592,17 @@ void _block_flag_line_empty_(B,N,CMM)(
#+BEGIN_SRC d
} else if (obj_type_status["group"] == TriState.closing) {
obj_cite_digits = ocn_emit(OCNstatus.on);
- 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"]
+ = ("bookindex_nugget" in an_object) ? an_object["bookindex_nugget"] : "";
+ bookindex_unordered_hashes
+ = bookindex_extract_hash.bookindex_nugget_hash(
an_object["bookindex_nugget"],
obj_cite_digits,
segment_anchor_tag_that_object_belongs_to
);
an_object["is"] = "group";
- auto comp_obj_location =
- node_construct.node_location_emitter(
+ auto comp_obj_location
+ = node_construct.node_location_emitter(
content_non_header,
segment_anchor_tag_that_object_belongs_to,
obj_cite_digits,
@@ -3610,8 +3610,8 @@ void _block_flag_line_empty_(B,N,CMM)(
heading_ptr-1,
an_object["is"]
);
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
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;
@@ -3642,17 +3642,17 @@ void _block_flag_line_empty_(B,N,CMM)(
#+BEGIN_SRC d
} else if (obj_type_status["block"] == TriState.closing) {
obj_cite_digits = ocn_emit(OCNstatus.on);
- 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"]
+ = ("bookindex_nugget" in an_object) ? an_object["bookindex_nugget"] : "";
+ bookindex_unordered_hashes
+ = bookindex_extract_hash.bookindex_nugget_hash(
an_object["bookindex_nugget"],
obj_cite_digits,
segment_anchor_tag_that_object_belongs_to
);
an_object["is"] = "block";
- auto comp_obj_location =
- node_construct.node_location_emitter(
+ auto comp_obj_location
+ = node_construct.node_location_emitter(
content_non_header,
segment_anchor_tag_that_object_belongs_to,
obj_cite_digits,
@@ -3660,8 +3660,8 @@ void _block_flag_line_empty_(B,N,CMM)(
heading_ptr-1,
an_object["is"]
);
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
an_object["substantive"] = substantive_obj_misc_tuple[sObj.content];
comp_obj_block = comp_obj_block.init;
comp_obj_block.of_part = "body";
@@ -3690,17 +3690,17 @@ void _block_flag_line_empty_(B,N,CMM)(
#+name: abs_functions_block_line_status_empty
#+BEGIN_SRC d
} else if (obj_type_status["poem"] == TriState.closing) {
- 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"]
+ = ("bookindex_nugget" in an_object) ? an_object["bookindex_nugget"] : "";
+ bookindex_unordered_hashes
+ = bookindex_extract_hash.bookindex_nugget_hash(
an_object["bookindex_nugget"],
obj_cite_digits,
segment_anchor_tag_that_object_belongs_to
);
an_object["is"] = "verse";
- auto comp_obj_location =
- node_construct.node_location_emitter(
+ auto comp_obj_location
+ = node_construct.node_location_emitter(
content_non_header,
segment_anchor_tag_that_object_belongs_to,
obj_cite_digits,
@@ -3732,17 +3732,17 @@ void _block_flag_line_empty_(B,N,CMM)(
#+BEGIN_SRC d
} else if (obj_type_status["code"] == TriState.closing) {
obj_cite_digits = ocn_emit(OCNstatus.on);
- 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"]
+ = ("bookindex_nugget" in an_object) ? an_object["bookindex_nugget"] : "";
+ bookindex_unordered_hashes
+ = bookindex_extract_hash.bookindex_nugget_hash(
an_object["bookindex_nugget"],
obj_cite_digits,
segment_anchor_tag_that_object_belongs_to
);
an_object["is"] = "code";
- auto comp_obj_location =
- node_construct.node_location_emitter(
+ auto comp_obj_location
+ = node_construct.node_location_emitter(
content_non_header,
segment_anchor_tag_that_object_belongs_to,
obj_cite_digits,
@@ -3750,8 +3750,8 @@ void _block_flag_line_empty_(B,N,CMM)(
heading_ptr-1,
an_object["is"]
);
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
an_object["substantive"] = substantive_obj_misc_tuple[sObj.content];
anchor_tags = substantive_obj_misc_tuple[sObj.anchor_tags];
comp_obj_code = comp_obj_code.init;
@@ -3783,17 +3783,17 @@ void _block_flag_line_empty_(B,N,CMM)(
} else if (obj_type_status["table"] == TriState.closing) {
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_unordered_hashes =
- bookindex_extract_hash.bookindex_nugget_hash(
+ 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"],
obj_cite_digits,
segment_anchor_tag_that_object_belongs_to
);
an_object["is"] = "table";
- auto comp_obj_location =
- node_construct.node_location_emitter(
+ auto comp_obj_location
+ = node_construct.node_location_emitter(
content_non_header,
segment_anchor_tag_that_object_belongs_to,
obj_cite_digits,
@@ -3801,9 +3801,9 @@ void _block_flag_line_empty_(B,N,CMM)(
heading_ptr-1,
an_object["is"]
);
- auto substantive_obj_misc_tuple =
- obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
- an_object["substantive"] = substantive_obj_misc_tuple[sObj.content];
+ auto substantive_obj_misc_tuple
+ = obj_im.obj_inline_markup_and_anchor_tags_and_misc(an_object, an_object_key, conf_make_meta);
+ an_object["substantive"] = substantive_obj_misc_tuple[sObj.content];
comp_obj_block = comp_obj_block.init;
comp_obj_block.ocn = obj_cite_digits.on;
comp_obj_block.obj_cite_number = (obj_cite_digits.on==0) ? "" : obj_cite_digits.on.to!string;
@@ -3918,8 +3918,8 @@ auto _heading_found_(L,X,H,R,T)(
debug(headingsfound) {
writeln(dochead_make_identify_unmarked_headings);
}
- char[][] make_headings_spl =
- (cast(char[]) dochead_make_identify_unmarked_headings)
+ char[][] make_headings_spl
+ = (cast(char[]) dochead_make_identify_unmarked_headings)
.split(rgx.make_heading_delimiter);
debug(headingsfound) {
writeln(make_headings_spl.length);
@@ -3928,58 +3928,58 @@ auto _heading_found_(L,X,H,R,T)(
switch (make_headings_spl.length) {
case 7 :
if (!empty(make_headings_spl[6])) {
- heading_match_str["h_4"] =
- "^(" ~ make_headings_spl[6].to!string ~ ")";
- heading_match_rgx["h_4"] =
- regex(heading_match_str["h_4"]);
+ heading_match_str["h_4"]
+ = "^(" ~ make_headings_spl[6].to!string ~ ")";
+ heading_match_rgx["h_4"]
+ = regex(heading_match_str["h_4"]);
}
goto case;
case 6 :
if (!empty(make_headings_spl[5])) {
- heading_match_str["h_3"] =
- "^(" ~ make_headings_spl[5].to!string ~ ")";
- heading_match_rgx["h_3"] =
- regex(heading_match_str["h_3"]);
+ heading_match_str["h_3"]
+ = "^(" ~ make_headings_spl[5].to!string ~ ")";
+ heading_match_rgx["h_3"]
+ = regex(heading_match_str["h_3"]);
}
goto case;
case 5 :
if (!empty(make_headings_spl[4])) {
- heading_match_str["h_2"] =
- "^(" ~ make_headings_spl[4].to!string ~ ")";
- heading_match_rgx["h_2"] =
- regex(heading_match_str["h_2"]);
+ heading_match_str["h_2"]
+ = "^(" ~ make_headings_spl[4].to!string ~ ")";
+ heading_match_rgx["h_2"]
+ = regex(heading_match_str["h_2"]);
}
goto case;
case 4 :
if (!empty(make_headings_spl[3])) {
- heading_match_str["h_1"] =
- "^(" ~ make_headings_spl[3].to!string ~ ")";
- heading_match_rgx["h_1"] =
- regex(heading_match_str["h_1"]);
+ heading_match_str["h_1"]
+ = "^(" ~ make_headings_spl[3].to!string ~ ")";
+ heading_match_rgx["h_1"]
+ = regex(heading_match_str["h_1"]);
}
goto case;
case 3 :
if (!empty(make_headings_spl[2])) {
- heading_match_str["h_D"] =
- "^(" ~ make_headings_spl[2].to!string ~ ")";
- heading_match_rgx["h_D"] =
- regex(heading_match_str["h_D"]);
+ heading_match_str["h_D"]
+ = "^(" ~ make_headings_spl[2].to!string ~ ")";
+ heading_match_rgx["h_D"]
+ = regex(heading_match_str["h_D"]);
}
goto case;
case 2 :
if (!empty(make_headings_spl[1])) {
- heading_match_str["h_C"] =
- "^(" ~ make_headings_spl[1].to!string ~ ")";
- heading_match_rgx["h_C"] =
- regex(heading_match_str["h_C"]);
+ heading_match_str["h_C"]
+ = "^(" ~ make_headings_spl[1].to!string ~ ")";
+ heading_match_rgx["h_C"]
+ = regex(heading_match_str["h_C"]);
}
goto case;
case 1 :
if (!empty(make_headings_spl[0])) {
- heading_match_str["h_B"] =
- "^(" ~ make_headings_spl[0].to!string ~ ")";
- heading_match_rgx["h_B"] =
- regex(heading_match_str["h_B"]);
+ heading_match_str["h_B"]
+ = "^(" ~ make_headings_spl[0].to!string ~ ")";
+ heading_match_rgx["h_B"]
+ = regex(heading_match_str["h_B"]);
}
break;
default:
@@ -4104,8 +4104,8 @@ auto _heading_matched_(L,C,O,K,Lv,Lc,T,CMM)(
.replaceFirst(rgx.variable_doc_author,
conf_make_meta.meta.creator_author);
collapsed_lev["h0"] = 0;
- an_object["lev_collapsed_number"] =
- collapsed_lev["h0"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h0"].to!string;
lv["lv"] = DocStructMarkupHeading.h_sect_A;
++lv["h0"];
lv["h1"] = State.off;
@@ -4118,8 +4118,8 @@ auto _heading_matched_(L,C,O,K,Lv,Lc,T,CMM)(
goto default;
case "B":
collapsed_lev["h1"] = collapsed_lev["h0"] + 1;
- an_object["lev_collapsed_number"] =
- collapsed_lev["h1"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h1"].to!string;
lv["lv"] = DocStructMarkupHeading.h_sect_B;
++lv["h1"];
lv["h2"] = State.off;
@@ -4131,8 +4131,8 @@ auto _heading_matched_(L,C,O,K,Lv,Lc,T,CMM)(
goto default;
case "C":
collapsed_lev["h2"] = collapsed_lev["h1"] + 1;
- an_object["lev_collapsed_number"] =
- collapsed_lev["h2"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h2"].to!string;
lv["lv"] = DocStructMarkupHeading.h_sect_C;
++lv["h2"];
lv["h3"] = State.off;
@@ -4143,8 +4143,8 @@ auto _heading_matched_(L,C,O,K,Lv,Lc,T,CMM)(
goto default;
case "D":
collapsed_lev["h3"] = collapsed_lev["h2"] + 1;
- an_object["lev_collapsed_number"] =
- collapsed_lev["h3"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h3"].to!string;
lv["lv"] = DocStructMarkupHeading.h_sect_D;
++lv["h3"];
lv["h4"] = State.off;
@@ -4162,8 +4162,8 @@ auto _heading_matched_(L,C,O,K,Lv,Lc,T,CMM)(
} else if (lv["h0"] > State.off) {
collapsed_lev["h4"] = collapsed_lev["h0"] + 1;
}
- an_object["lev_collapsed_number"] =
- collapsed_lev["h4"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h4"].to!string;
lv["lv"] = DocStructMarkupHeading.h_text_1;
++lv["h4"];
lv["h5"] = State.off;
@@ -4172,12 +4172,12 @@ auto _heading_matched_(L,C,O,K,Lv,Lc,T,CMM)(
goto default;
case "2":
if (lv["h5"] > State.off) {
- an_object["lev_collapsed_number"] =
- collapsed_lev["h5"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h5"].to!string;
} else if (lv["h4"] > State.off) {
collapsed_lev["h5"] = collapsed_lev["h4"] + 1;
- an_object["lev_collapsed_number"] =
- collapsed_lev["h5"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h5"].to!string;
}
lv["lv"] = DocStructMarkupHeading.h_text_2;
++lv["h5"];
@@ -4186,12 +4186,12 @@ auto _heading_matched_(L,C,O,K,Lv,Lc,T,CMM)(
goto default;
case "3":
if (lv["h6"] > State.off) {
- an_object["lev_collapsed_number"] =
- collapsed_lev["h6"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h6"].to!string;
} else if (lv["h5"] > State.off) {
collapsed_lev["h6"] = collapsed_lev["h5"] + 1;
- an_object["lev_collapsed_number"] =
- collapsed_lev["h6"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h6"].to!string;
}
lv["lv"] = DocStructMarkupHeading.h_text_3;
++lv["h6"];
@@ -4199,12 +4199,12 @@ auto _heading_matched_(L,C,O,K,Lv,Lc,T,CMM)(
goto default;
case "4":
if (lv["h7"] > State.off) {
- an_object["lev_collapsed_number"] =
- collapsed_lev["h7"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h7"].to!string;
} else if (lv["h6"] > State.off) {
collapsed_lev["h7"] = collapsed_lev["h6"] + 1;
- an_object["lev_collapsed_number"] =
- collapsed_lev["h7"].to!string;
+ an_object["lev_collapsed_number"]
+ = collapsed_lev["h7"].to!string;
}
lv["lv"] = DocStructMarkupHeading.h_text_4;
++lv["h7"];
@@ -4752,8 +4752,8 @@ static struct ObjInlineMarkupMunge {
rgx.inline_notes_curly_sp_asterisk,
(mkup.en_a_o ~ "*" ~ " $1" ~ mkup.en_a_c)
);
- obj_txt_in =
- obj_txt_in.replaceAll(
+ obj_txt_in
+ = obj_txt_in.replaceAll(
rgx.inline_notes_curly_sp_plus,
(mkup.en_a_o ~ "+" ~ " $1" ~ mkup.en_a_c)
);
@@ -5375,7 +5375,7 @@ private:
heading_num_3 = 0;
} else if (
heading_num_top_level
- == obj_["lev_markup_number"].to!uint
+ == obj_["lev_markup_number"].to!uint
) {
heading_num_0 ++;
heading_num_1 = 0;
@@ -5383,26 +5383,26 @@ private:
heading_num_3 = 0;
} else if (
heading_num_top_level
- == (obj_["lev_markup_number"].to!uint - 1)
+ == (obj_["lev_markup_number"].to!uint - 1)
) {
heading_num_1 ++;
heading_num_2 = 0;
heading_num_3 = 0;
} else if (
heading_num_top_level
- == (obj_["lev_markup_number"].to!uint - 2)
+ == (obj_["lev_markup_number"].to!uint - 2)
) {
heading_num_2 ++;
heading_num_3 = 0;
} else if (
heading_num_top_level
- == (obj_["lev_markup_number"].to!uint - 3)
+ == (obj_["lev_markup_number"].to!uint - 3)
) {
heading_num_3 ++;
}
if (heading_num_3 > 0) {
- heading_number_auto_composite =
- (heading_num_depth == 3)
+ heading_number_auto_composite
+ = (heading_num_depth == 3)
? ( heading_num_0.to!string ~ "."
~ heading_num_1.to!string ~ "."
~ heading_num_2.to!string ~ "."
@@ -5410,8 +5410,8 @@ private:
)
: "";
} else if (heading_num_2 > 0) {
- heading_number_auto_composite =
- ((heading_num_depth >= 2)
+ heading_number_auto_composite
+ = ((heading_num_depth >= 2)
&& (heading_num_depth <= 3))
? ( heading_num_0.to!string ~ "."
~ heading_num_1.to!string ~ "."
@@ -5419,16 +5419,16 @@ private:
)
: "";
} else if (heading_num_1 > 0) {
- heading_number_auto_composite =
- ((heading_num_depth >= 1)
+ heading_number_auto_composite
+ = ((heading_num_depth >= 1)
&& (heading_num_depth <= 3))
? ( heading_num_0.to!string ~ "."
~ heading_num_1.to!string
)
: "";
} else if (heading_num_0 > 0) {
- heading_number_auto_composite =
- ((heading_num_depth >= 0)
+ heading_number_auto_composite
+ = ((heading_num_depth >= 0)
&& (heading_num_depth <= 3))
? (heading_num_0.to!string)
: "";
@@ -5870,10 +5870,10 @@ struct ObjAttributes {
oa_j.object["obj_cite_number"] = _comp_obj_heading.ocn;
oa_j.object["lev_markup_number"] = _comp_obj_heading.heading_lev_markup;
oa_j.object["lev_collapsed_number"] = _comp_obj_heading.heading_lev_collapsed;
- oa_j.object["heading_ptr"] =
- _comp_obj_heading.ptr_heading;
- oa_j.object["doc_object_ptr"] =
- _comp_obj_heading.ptr_doc_object;
+ oa_j.object["heading_ptr"]
+ = _comp_obj_heading.ptr_heading;
+ oa_j.object["doc_object_ptr"]
+ = _comp_obj_heading.ptr_doc_object;
}
oa_j.object["parent_obj_cite_number"] = _comp_obj_heading.parent_ocn;
oa_j.object["parent_lev_markup_number"] = _comp_obj_heading.parent_lev_markup;
@@ -5923,11 +5923,11 @@ struct BookIndexNuggetHash {
body {
static auto rgx = Rgx();
if (!bookindex_section.empty) {
- auto bi_main_terms_split_arr =
- bookindex_section.split(rgx.bi_main_terms_split);
+ auto bi_main_terms_split_arr
+ = bookindex_section.split(rgx.bi_main_terms_split);
foreach (bi_main_terms_content; bi_main_terms_split_arr) {
- auto bi_main_term_and_rest =
- bi_main_terms_content.split(rgx.bi_main_term_plus_rest_split);
+ auto bi_main_term_and_rest
+ = bi_main_terms_content.split(rgx.bi_main_term_plus_rest_split);
if (auto m = bi_main_term_and_rest[0].match(
rgx.bi_term_and_obj_cite_numbers_match)
) {
@@ -5944,8 +5944,8 @@ struct BookIndexNuggetHash {
bi[main_term]["_a"] ~= obj_cite_numbers;
obj_cite_numbers=null;
if (bi_main_term_and_rest.length > 1) {
- auto bi_sub_terms_split_arr =
- bi_main_term_and_rest[1].split(
+ auto bi_sub_terms_split_arr
+ = bi_main_term_and_rest[1].split(
rgx.bi_sub_terms_plus_obj_cite_number_offset_split
);
foreach (sub_terms_bits; bi_sub_terms_split_arr) {
@@ -5988,14 +5988,14 @@ struct BookIndexReportIndent {
debug(asserts) {
static assert(is(typeof(bookindex_unordered_hashes) == string[][string][string]));
}
- auto mainkeys=
- bookindex_unordered_hashes.byKey.array.sort().release;
+ auto mainkeys
+ = bookindex_unordered_hashes.byKey.array.sort().release;
foreach (mainkey; mainkeys) {
debug(bookindex1) {
writeln(mainkey);
}
- auto subkeys=
- bookindex_unordered_hashes[mainkey].byKey.array.sort().release;
+ auto subkeys
+ = bookindex_unordered_hashes[mainkey].byKey.array.sort().release;
foreach (subkey; subkeys) {
debug(bookindex1) {
writeln(" ", subkey);
@@ -6041,8 +6041,8 @@ struct BookIndexReportSection {
}
writeln(" \\\\");
bookindex_unordered_hashes[mainkey].remove("_a");
- auto subkeys=
- bookindex_unordered_hashes[mainkey].byKey.array.sort().release;
+ auto subkeys
+ = bookindex_unordered_hashes[mainkey].byKey.array.sort().release;
foreach (subkey; subkeys) {
write(" ", subkey, ", ");
foreach (ref_; bookindex_unordered_hashes[mainkey][subkey]) {
@@ -6078,8 +6078,8 @@ struct BookIndexReportSection {
int heading_lev_markup, heading_lev_collapsed;
string attrib;
int[string] indent;
- auto mainkeys =
- bookindex_unordered_hashes.byKey.array.sort().release;
+ auto mainkeys
+ = bookindex_unordered_hashes.byKey.array.sort().release;
ObjGenericComposite[][string] bookindex_section;
ObjGenericComposite comp_obj_heading_, comp_obj_para;
auto node_para_int_ = node_metadata_para_int;
@@ -6142,8 +6142,8 @@ struct BookIndexReportSection {
auto bkidx_lnk_seg(string locs) {
string markup = "";
if (auto m = locs.matchFirst(rgx.book_index_go_seg)) {
- markup =
- munge.url_links("{ " ~ m["link"] ~ " }"
+ markup
+ = munge.url_links("{ " ~ m["link"] ~ " }"
~ mkup.mark_internal_site_lnk ~ m["seg"] ~ ".fnSuffix"
~ "#" ~ m["ocn"] ~ ", ");
} else {
@@ -6154,8 +6154,8 @@ struct BookIndexReportSection {
auto bkidx_lnk_scroll(string locs) {
string markup = "";
if (auto m = locs.matchFirst(rgx.book_index_go)) {
- markup =
- munge.url_links("{ " ~ m["link"] ~ " }"
+ markup
+ = munge.url_links("{ " ~ m["link"] ~ " }"
~ mkup.mark_internal_site_lnk
~ "#" ~ m["ocn"] ~ ", ");
} else {
@@ -6170,8 +6170,8 @@ struct BookIndexReportSection {
bi_tmp_scroll ~= " \\\\\n ";
bi_tmp_seg ~= " \\\\\n ";
bookindex_unordered_hashes[mainkey].remove("_a");
- auto subkeys =
- bookindex_unordered_hashes[mainkey].byKey.array.sort().release;
+ auto subkeys
+ = bookindex_unordered_hashes[mainkey].byKey.array.sort().release;
foreach (subkey; subkeys) {
bi_tmp_scroll ~= subkey ~ ", ";
buffer.clear();
@@ -6462,8 +6462,8 @@ struct Bibliography {
}
}
body {
- JSONValue[] biblio_unsorted =
- _biblio_unsorted_complete_(biblio_unsorted_incomplete, bib_arr_json);
+ JSONValue[] biblio_unsorted
+ = _biblio_unsorted_complete_(biblio_unsorted_incomplete, bib_arr_json);
biblio_arr_json = [];
biblio_unsorted_incomplete = [];
JSONValue[] biblio_sorted__ = biblio_sort(biblio_unsorted);
@@ -6519,8 +6519,8 @@ struct Bibliography {
}
bib_arr_json ~= j;
}
- JSONValue[] biblio_unsorted_array_of_json_objects =
- bib_arr_json.dup;
+ JSONValue[] biblio_unsorted_array_of_json_objects
+ = bib_arr_json.dup;
destroy(bib_arr_json);
return biblio_unsorted_array_of_json_objects;
}
@@ -6535,8 +6535,8 @@ struct Bibliography {
static assert(is(typeof(biblio_unordered) == JSONValue[]));
}
JSONValue[] biblio_sorted_;
- biblio_sorted_ =
- sort!((a, b){
+ biblio_sorted_
+ = sort!((a, b){
return ((a["sortby_deemed_author_year_title"].str) < (b["sortby_deemed_author_year_title"].str));
})(biblio_unordered).array;
debug(bibliosorted) {
@@ -6716,24 +6716,24 @@ struct NodeStructureMetadata {
lv = DocStructMarkupHeading.h_sect_B;
lv1 = obj_cite_digit;
lv2=0; lv3=0; lv4=0; lv5=0; lv6=0; lv7=0;
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_sect_A;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_sect_A;
p_["obj_cite_number"] = lv0;
break;
case 2:
lv = DocStructMarkupHeading.h_sect_C;
lv2 = obj_cite_digit;
lv3=0; lv4=0; lv5=0; lv6=0; lv7=0;
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_sect_B;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_sect_B;
p_["obj_cite_number"] = lv1;
break;
case 3:
lv = DocStructMarkupHeading.h_sect_D;
lv3=obj_cite_digit;
lv4=0; lv5=0; lv6=0; lv7=0;
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_sect_C;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_sect_C;
p_["obj_cite_number"] = lv2;
break;
case 4:
@@ -6741,20 +6741,20 @@ struct NodeStructureMetadata {
lv4 = obj_cite_digit;
lv5=0; lv6=0; lv7=0;
if (lv3 > State.off) {
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_sect_D;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_sect_D;
p_["obj_cite_number"] = lv3;
} else if (lv2 > State.off) {
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_sect_C;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_sect_C;
p_["obj_cite_number"] = lv2;
} else if (lv1 > State.off) {
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_sect_B;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_sect_B;
p_["obj_cite_number"] = lv1;
} else {
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_sect_A;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_sect_A;
p_["obj_cite_number"] = lv0;
}
break;
@@ -6762,23 +6762,23 @@ struct NodeStructureMetadata {
lv = DocStructMarkupHeading.h_text_2;
lv5 = obj_cite_digit;
lv6=0; lv7=0;
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_text_1;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_text_1;
p_["obj_cite_number"] = lv4;
break;
case 6:
lv = DocStructMarkupHeading.h_text_3;
lv6 = obj_cite_digit;
lv7=0;
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_text_2;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_text_2;
p_["obj_cite_number"] = lv5;
break;
case 7:
lv = DocStructMarkupHeading.h_text_4;
lv7 = obj_cite_digit;
- p_["lev_markup_number"] =
- DocStructMarkupHeading.h_text_3;
+ p_["lev_markup_number"]
+ = DocStructMarkupHeading.h_text_3;
p_["obj_cite_number"] = lv6;
break;
default: