aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-02-02 13:20:08 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit7f5b1a866e239b2137ede22235f7b69731b6e743 (patch)
treeb85205dfe9f6360a378090e307dcd5224b41e17d
parent0.12.2 ao_summary_and_debugs.org (ao_output_debugs.org moved and reorganised) (diff)
ao_doc_abstraction.org (moved/renamed ao_abstract_doc_source.org)
-rw-r--r--org/ao_doc_abstraction.org (renamed from org/ao_abstract_doc_source.org)72
-rw-r--r--org/ao_summary_and_debugs.org16
-rw-r--r--src/sdp/abstraction_summary.d6
-rw-r--r--src/sdp/ao_doc_debugs.d2
4 files changed, 50 insertions, 46 deletions
diff --git a/org/ao_abstract_doc_source.org b/org/ao_doc_abstraction.org
index e441b7d..6911b63 100644
--- a/org/ao_abstract_doc_source.org
+++ b/org/ao_doc_abstraction.org
@@ -135,7 +135,7 @@ template SiSUdocAbstraction() {
} /+ ← closed: template SiSUdocAbstraction +/
#+END_SRC
-** _1. pre loop processing_ :pre:
+** 1. _pre loop processing_ :pre:
*** imports :imports:
[[./ao_defaults.org][ao_defaults]]
@@ -520,7 +520,7 @@ auto munge = ObjInlineMarkupMunge();
string[][string] lev4_subtoc;
#+END_SRC
-** _2. loop: process document body_ [+6] :loop:
+** 2. _loop: process document body_ [+6] :loop:
*** loop scope :scope:
#+name: abs_in_loop_body_00
@@ -1154,7 +1154,6 @@ if ((type["heading"] == State.on)
}
#+END_SRC
-** close non code objects (regular text)
*** regular text objects :text:paragraph:
#+name: abs_in_loop_body_01
@@ -1188,7 +1187,7 @@ if (the_document_body_section.length > 0) {
}
#+END_SRC
-** _3. post main-loop processing_ :post:
+** 3. _post main-loop processing_ :post:
/+
Backmatter:
- endnotes
@@ -1647,7 +1646,8 @@ if (the_blurb_section.length > 1) {
**** 2. loop: all objects structural relationships (sections, segments, objects)
-needed for DOM structure, segnames & subtoc, backmatter pointers
+needed for DOM structure, segnames & subtoc, backmatter pointers & unique image
+list
if used minimally only for DOM structure, segnames, subtoc, could optimise by
- skipping second and third pass unless the output html seg or epub is being
@@ -1676,8 +1676,10 @@ foreach (ref obj; the_document_head_section) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1695,8 +1697,10 @@ if (the_table_of_contents_section["scroll"].length > 1) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1716,8 +1720,10 @@ if (the_table_of_contents_section["scroll"].length > 1) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1742,8 +1748,10 @@ if (the_document_body_section.length > 1) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1771,8 +1779,10 @@ if (the_endnotes_section.length > 1) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1796,8 +1806,10 @@ if (the_glossary_section.length > 1) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1821,8 +1833,10 @@ if (the_bibliography_section.length > 1) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1848,8 +1862,10 @@ if (the_bookindex_section["scroll"].length > 1) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1872,8 +1888,10 @@ if (the_bookindex_section["scroll"].length > 1) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1897,8 +1915,10 @@ if (the_blurb_section.length > 1) {
|| (opt_action_bool["html_scroll"])
|| (opt_action_bool["html_seg"])
|| (opt_action_bool["epub"])) {
- obj.dom_markedup = dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
- obj.dom_collapsed = dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
+ obj.dom_markedup =
+ dom_set_markup_tags(dom_markedup, obj.heading_lev_markup).dup;
+ obj.dom_collapsed =
+ dom_set_collapsed_tags(dom_collapsed, obj.heading_lev_collapsed).dup;
}
heading_ancestors(obj, lv_ancestors);
}
@@ -1930,7 +1950,7 @@ if (the_blurb_section.length > 1) {
}
#+END_SRC
-** _4. return document tuple_ :post:
+** 4. _return document tuple_ :post:
*** the document :document:
#+name: abs_post
diff --git a/org/ao_summary_and_debugs.org b/org/ao_summary_and_debugs.org
index c921700..2fc405e 100644
--- a/org/ao_summary_and_debugs.org
+++ b/org/ao_summary_and_debugs.org
@@ -13,8 +13,8 @@
#+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n)
[[./sdp.org][sdp]] [[./][org/]]
-* 1. abstraction summary [#A]
-** 0. code structure: :ao_doc_debugs:
+* 1. abstraction summary [#A] :summary:doc:abstraction:
+** 0. code structure: :abstraction_summary:
#+BEGIN_SRC d :tangle ../src/sdp/abstraction_summary.d
template SiSUabstractionSummary() {
@@ -40,15 +40,9 @@ import
ao_defaults,
ao_rgx;
import
- std.algorithm,
std.array,
- std.container,
std.exception,
- std.getopt,
std.stdio,
- std.file,
- std.path,
- std.range,
std.regex,
std.string,
std.traits,
@@ -139,8 +133,8 @@ markup.repeat_character_by_number_provided("-", 10)
markup.repeat_character_by_number_provided("-", (doc_matters.dochead_meta["title"]["full"].length))
markup.repeat_character_by_number_provided("-", (doc_matters.source_filename.length))
-* 2. abstraction debugs :debug:output:
-** 0. code structure: :ao_output_debugs:
+* 2. abstraction debugs :debug:doc:abstraction:
+** 0. code structure: :ao_doc_debugs:
#+BEGIN_SRC d :tangle ../src/sdp/ao_doc_debugs.d
/++
@@ -178,9 +172,7 @@ private import
std.array,
std.container,
std.exception,
- std.getopt,
std.json,
- std.process,
std.stdio,
std.file,
std.path,
diff --git a/src/sdp/abstraction_summary.d b/src/sdp/abstraction_summary.d
index d39e020..237d1e0 100644
--- a/src/sdp/abstraction_summary.d
+++ b/src/sdp/abstraction_summary.d
@@ -7,15 +7,9 @@ template SiSUabstractionSummary() {
ao_defaults,
ao_rgx;
import
- std.algorithm,
std.array,
- std.container,
std.exception,
- std.getopt,
std.stdio,
- std.file,
- std.path,
- std.range,
std.regex,
std.string,
std.traits,
diff --git a/src/sdp/ao_doc_debugs.d b/src/sdp/ao_doc_debugs.d
index c5f1486..adc8c53 100644
--- a/src/sdp/ao_doc_debugs.d
+++ b/src/sdp/ao_doc_debugs.d
@@ -10,9 +10,7 @@ template SiSUdebugs() {
std.array,
std.container,
std.exception,
- std.getopt,
std.json,
- std.process,
std.stdio,
std.file,
std.path,