aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_abstract_doc_source.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-08-20 08:57:12 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-04 14:53:38 -0400
commitc7c6c121884feb55ae3964e6055ac8ca983458cd (patch)
treeb354f012dd41202081bdd5cbc8b3e18fc8f945f9 /org/ao_abstract_doc_source.org
parentminor move (diff)
step 0.6.3 includes fixes
Diffstat (limited to 'org/ao_abstract_doc_source.org')
-rw-r--r--org/ao_abstract_doc_source.org50
1 files changed, 15 insertions, 35 deletions
diff --git a/org/ao_abstract_doc_source.org b/org/ao_abstract_doc_source.org
index 75c581d..2fe674b 100644
--- a/org/ao_abstract_doc_source.org
+++ b/org/ao_abstract_doc_source.org
@@ -752,7 +752,7 @@ auto bookindex_section = bi_tuple[0];
obj_cite_number = bi_tuple[1];
debug(bookindex) { // bookindex
foreach (bi_entry; bookindex_section) {
- writeln(bi_entry["obj"]);
+ writeln(bi_entry);
}
}
#+END_SRC
@@ -2971,39 +2971,7 @@ struct BookIndexNuggetHash {
}
#+END_SRC
-**** book index report :report:
-
-#+name: ao_emitters
-#+BEGIN_SRC d
-struct BookIndexReport {
-// class BookIndexReport : AssertBookIndexReport {
- int mkn, skn;
- auto bookindex_report_sorted(
- string[][string][string] bookindex_unordered_hashes
- ) {
- auto mainkeys=bookindex_unordered_hashes.byKey.array.
- sort!("toLower(a) < toLower(b)", SwapStrategy.stable).release;
- foreach (mainkey; mainkeys) {
- auto subkeys=bookindex_unordered_hashes[mainkey].byKey.array.
- sort!("toLower(a) < toLower(b)", SwapStrategy.stable).release;
- foreach (subkey; subkeys) {
- debug(bookindex) {
- writeln(
- mainkey, ": ",
- subkey, ": ",
- to!string(bookindex_unordered_hashes[mainkey][subkey])
- );
- }
- ++skn;
- }
- ++mkn;
- }
- // return bookindex_the;
- }
-}
-#+END_SRC
-
-**** book index report indented :report:indented:
+**** book index (sort &) report indented :report:indented:
#+name: ao_emitters
#+BEGIN_SRC d
@@ -3036,7 +3004,7 @@ struct BookIndexReportIndent {
}
#+END_SRC
-**** book index report section :report:section:
+**** book index (sort &) report section :report:section:
#+name: ao_emitters
#+BEGIN_SRC d
@@ -3069,6 +3037,12 @@ struct BookIndexReportSection {
++mkn;
}
}
+#+END_SRC
+
+**** book index (sort &) build section :report:section:
+
+#+name: ao_emitters
+#+BEGIN_SRC d
auto bookindex_build_section(
string[][string][string] bookindex_unordered_hashes,
int obj_cite_number
@@ -3161,6 +3135,12 @@ struct BookIndexReportSection {
auto t = tuple(bookindex_section, obj_cite_number);
return t;
}
+#+END_SRC
+
+**** book index (sort &) build section :report:section:
+
+#+name: ao_emitters
+#+BEGIN_SRC d
auto bookindex_build_section_(
string[][string][string] bookindex_unordered_hashes
) {