aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_doc_abstraction.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/ao_doc_abstraction.org')
-rw-r--r--org/ao_doc_abstraction.org34
1 files changed, 17 insertions, 17 deletions
diff --git a/org/ao_doc_abstraction.org b/org/ao_doc_abstraction.org
index 33ebea3..e4f38d3 100644
--- a/org/ao_doc_abstraction.org
+++ b/org/ao_doc_abstraction.org
@@ -26,11 +26,11 @@ Process markup document, create document abstraction.
+/
template SiSUdocAbstraction() {
/+ ↓ abstraction imports +/
- <<abs_imports>>
+ <<abs_top_imports>>
/+ ↓ abstraction mixins +/
- <<abs_mixins>>
+ <<abs_top_mixins>>
/+ ↓ abstraction struct init +/
- <<abs_init_struct>>
+ <<abs_top_init_struct>>
/+ ↓ abstract marked up document +/
auto SiSUdocAbstraction(Src,Make,Meta,Opt)(
Src markup_sourcefile_content,
@@ -137,10 +137,9 @@ template SiSUdocAbstraction() {
** 1. _pre loop processing_ :pre:
*** imports :imports:
-
[[./ao_defaults.org][ao_defaults]]
-#+name: abs_imports
+#+name: abs_top_imports
#+BEGIN_SRC d
import
ao_object_setter,
@@ -170,7 +169,7 @@ private import
*** mixins :mixins:
-#+name: abs_mixins
+#+name: abs_top_mixins
#+BEGIN_SRC d
mixin ObjectSetter;
mixin InternalMarkup;
@@ -180,7 +179,7 @@ mixin SiSUrgxInit;
*** initialize :initialize:
**** initialize general
-#+name: abs_init_struct
+#+name: abs_top_init_struct
#+BEGIN_SRC d
/+ initialize +/
ObjGenericComposite[][string] the_table_of_contents_section;
@@ -240,7 +239,7 @@ enum DomTags { none, open, close, close_and_open, open_still, }
**** initialize heading ancestors
-#+name: abs_init_struct
+#+name: abs_top_init_struct
#+BEGIN_SRC d
void heading_ancestors(O)(
auto ref O obj,
@@ -298,7 +297,7 @@ void heading_ancestors(O)(
**** initialize dom markup tags
-#+name: abs_init_struct
+#+name: abs_top_init_struct
#+BEGIN_SRC d
auto dom_set_markup_tags(int[] dom, int lev) {
foreach (i; 0 .. 8) {
@@ -343,7 +342,7 @@ auto dom_set_markup_tags(int[] dom, int lev) {
**** initialize dom collapsed tags
-#+name: abs_init_struct
+#+name: abs_top_init_struct
#+BEGIN_SRC d
auto dom_set_collapsed_tags(int[] dom, int lev) {
foreach (i; 0 .. 8) {
@@ -388,7 +387,7 @@ auto dom_set_collapsed_tags(int[] dom, int lev) {
**** initialize ocn emit
-#+name: abs_init_struct
+#+name: abs_top_init_struct
#+BEGIN_SRC d
int ocn_emit(int ocn_status_flag) {
return object_citation_number.ocn_emitter(ocn_status_flag);
@@ -1172,10 +1171,10 @@ if (the_document_body_section.length > 0) {
type["blurb_section"] = State.off;
}
previous_length = to!int(the_document_body_section.length);
- if (
- match(the_document_body_section[$-1].text,
- rgx.inline_notes_delimiter_al_regular_number_note)
- ) {
+ if (match(
+ the_document_body_section[$-1].text,
+ rgx.inline_notes_delimiter_al_regular_number_note
+ )) {
previous_count=to!int(the_document_body_section.length -1);
note_section.gather_notes_for_endnote_section(
the_document_body_section,
@@ -1962,7 +1961,7 @@ if (the_blurb_section.length > 1) {
#+END_SRC
** 4. _return document tuple_ :post:
-*** the document :document:
+*** _the document_ :document:
#+name: abs_post
#+BEGIN_SRC d
@@ -2026,8 +2025,9 @@ if ((opt_action_bool["html"])
*** clean out structure
#+name: abs_post
+#+BEGIN_SRC d
destroy(the_document_head_section);
-destroy(the_document_table_of_contents_section);
+destroy(the_table_of_contents_section);
destroy(the_document_body_section);
destroy(the_endnotes_section);
destroy(the_glossary_section);