aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/metadoc_from_src.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/meta/metadoc_from_src.d')
-rw-r--r--src/doc_reform/meta/metadoc_from_src.d58
1 files changed, 9 insertions, 49 deletions
diff --git a/src/doc_reform/meta/metadoc_from_src.d b/src/doc_reform/meta/metadoc_from_src.d
index 042a57e..4e0120f 100644
--- a/src/doc_reform/meta/metadoc_from_src.d
+++ b/src/doc_reform/meta/metadoc_from_src.d
@@ -1851,12 +1851,7 @@ template DocReformDocAbstraction() {
obj.metainfo.object_number_type = OCNtype.ocn;
}
/+ dom structure (marked up & collapsed) +/
- if ((opt_action.html)
- || (opt_action.html_scroll)
- || (opt_action.html_seg)
- || (opt_action.epub)
- || (opt_action.sqlite_discrete)
- || (opt_action.sqlite_update)) {
+ if (opt_action.meta_processing_xml_dom) {
obj = obj.obj_dom_structure_set_markup_tags(dom_structure_markedup_tags_status, obj.metainfo.heading_lev_markup);
obj = obj.obj_dom_set_collapsed_tags(dom_structure_collapsed_tags_status, obj.metainfo.heading_lev_collapsed);
}
@@ -1879,12 +1874,7 @@ template DocReformDocAbstraction() {
}
}
/+ dom structure (marked up & collapsed) +/
- if ((opt_action.html)
- || (opt_action.html_scroll)
- || (opt_action.html_seg)
- || (opt_action.epub)
- || (opt_action.sqlite_discrete)
- || (opt_action.sqlite_update)) {
+ if (opt_action.meta_processing_xml_dom) {
obj = obj.obj_dom_structure_set_markup_tags(dom_structure_markedup_tags_status, obj.metainfo.heading_lev_markup);
obj = obj.obj_dom_set_collapsed_tags(dom_structure_collapsed_tags_status, obj.metainfo.heading_lev_collapsed);
}
@@ -1923,12 +1913,7 @@ template DocReformDocAbstraction() {
}
}
/+ dom structure (marked up & collapsed) +/
- if ((opt_action.html)
- || (opt_action.html_scroll)
- || (opt_action.html_seg)
- || (opt_action.epub)
- || (opt_action.sqlite_discrete)
- || (opt_action.sqlite_update)) {
+ if (opt_action.meta_processing_xml_dom) {
obj = obj.obj_dom_structure_set_markup_tags(dom_structure_markedup_tags_status, obj.metainfo.heading_lev_markup);
obj = obj.obj_dom_set_collapsed_tags(dom_structure_collapsed_tags_status, obj.metainfo.heading_lev_collapsed);
}
@@ -1967,12 +1952,7 @@ template DocReformDocAbstraction() {
}
}
/+ dom structure (marked up & collapsed) +/
- if ((opt_action.html)
- || (opt_action.html_scroll)
- || (opt_action.html_seg)
- || (opt_action.epub)
- || (opt_action.sqlite_discrete)
- || (opt_action.sqlite_update)) {
+ if (opt_action.meta_processing_xml_dom) {
obj = obj.obj_dom_structure_set_markup_tags(dom_structure_markedup_tags_status, obj.metainfo.heading_lev_markup);
obj = obj.obj_dom_set_collapsed_tags(dom_structure_collapsed_tags_status, obj.metainfo.heading_lev_collapsed);
}
@@ -2003,12 +1983,7 @@ template DocReformDocAbstraction() {
}
}
/+ dom structure (marked up & collapsed) +/
- if ((opt_action.html)
- || (opt_action.html_scroll)
- || (opt_action.html_seg)
- || (opt_action.epub)
- || (opt_action.sqlite_discrete)
- || (opt_action.sqlite_update)) {
+ if (opt_action.meta_processing_xml_dom) {
obj = obj.obj_dom_structure_set_markup_tags(dom_structure_markedup_tags_status, obj.metainfo.heading_lev_markup);
obj = obj.obj_dom_set_collapsed_tags(dom_structure_collapsed_tags_status, obj.metainfo.heading_lev_collapsed);
}
@@ -2043,12 +2018,7 @@ template DocReformDocAbstraction() {
}
}
/+ dom structure (marked up & collapsed) +/
- if ((opt_action.html)
- || (opt_action.html_scroll)
- || (opt_action.html_seg)
- || (opt_action.epub)
- || (opt_action.sqlite_discrete)
- || (opt_action.sqlite_update)) {
+ if (opt_action.meta_processing_xml_dom) {
obj = obj.obj_dom_structure_set_markup_tags(dom_structure_markedup_tags_status, obj.metainfo.heading_lev_markup);
obj = obj.obj_dom_set_collapsed_tags(dom_structure_collapsed_tags_status, obj.metainfo.heading_lev_collapsed);
}
@@ -2089,12 +2059,7 @@ template DocReformDocAbstraction() {
}
}
/+ dom structure (marked up & collapsed) +/
- if ((opt_action.html)
- || (opt_action.html_scroll)
- || (opt_action.html_seg)
- || (opt_action.epub)
- || (opt_action.sqlite_discrete)
- || (opt_action.sqlite_update)) {
+ if (opt_action.meta_processing_xml_dom) {
obj = obj.obj_dom_structure_set_markup_tags(dom_structure_markedup_tags_status, obj.metainfo.heading_lev_markup);
obj = obj.obj_dom_set_collapsed_tags(dom_structure_collapsed_tags_status, obj.metainfo.heading_lev_collapsed);
}
@@ -2135,12 +2100,7 @@ template DocReformDocAbstraction() {
}
}
/+ dom structure (marked up & collapsed) +/
- if ((opt_action.html)
- || (opt_action.html_scroll)
- || (opt_action.html_seg)
- || (opt_action.epub)
- || (opt_action.sqlite_discrete)
- || (opt_action.sqlite_update)) {
+ if (opt_action.meta_processing_xml_dom) {
obj = obj.obj_dom_structure_set_markup_tags(dom_structure_markedup_tags_status, obj.metainfo.heading_lev_markup);
obj = obj.obj_dom_set_collapsed_tags(dom_structure_collapsed_tags_status, obj.metainfo.heading_lev_collapsed);
}
@@ -2293,7 +2253,7 @@ template DocReformDocAbstraction() {
string[][string] document_section_keys_sequenced = [
"scroll": ["head", "toc", "body",],
"seg": ["head", "toc", "body",],
- "sql": ["head", "body",]
+ "sql": ["head", "body",],
];
if (document_the["endnotes"].length > 1) {
document_section_keys_sequenced["scroll"] ~= "endnotes";