aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sisudoc/ocda/meta/metadoc_from_src.d9
-rw-r--r--src/sisudoc/ocda/meta/metadoc_from_src_functions.d4
-rw-r--r--src/sisudoc/spine.d2
3 files changed, 7 insertions, 8 deletions
diff --git a/src/sisudoc/ocda/meta/metadoc_from_src.d b/src/sisudoc/ocda/meta/metadoc_from_src.d
index e104c94..7fcf3bb 100644
--- a/src/sisudoc/ocda/meta/metadoc_from_src.d
+++ b/src/sisudoc/ocda/meta/metadoc_from_src.d
@@ -136,6 +136,11 @@ template docAbstraction() {
"end" : ""
];
string[] lv_ancestors_txt = [ "", "", "", "", "", "", "", "", ];
+ /+ ↓ dom structure state, per document (not shared, parallel safe) +/
+ int[] dom_structure_markedup_tags_status = [ 0, 0, 0, 0, 0, 0, 0, 0,];
+ int[] dom_structure_markedup_tags_status_buffer = [ 0, 0, 0, 0, 0, 0, 0, 0,];
+ int[] dom_structure_collapsed_tags_status = [ 0, 0, 0, 0, 0, 0, 0, 0,];
+ int[] dom_structure_collapsed_tags_status_buffer = [ 0, 0, 0, 0, 0, 0, 0, 0,];
int[string] lv = [
"lv" : eN.bi.off,
"h0" : eN.bi.off,
@@ -1506,10 +1511,6 @@ template docAbstraction() {
html_segnames_ptr = 0;
html_segnames_ptr_cntr = 0;
content_non_header = "8";
- dom_structure_markedup_tags_status = [ 0, 0, 0, 0, 0, 0, 0, 0,];
- dom_structure_markedup_tags_status_buffer = [ 0, 0, 0, 0, 0, 0, 0, 0,];
- dom_structure_collapsed_tags_status = [ 0, 0, 0, 0, 0, 0, 0, 0,];
- dom_structure_collapsed_tags_status_buffer = [ 0, 0, 0, 0, 0, 0, 0, 0,];
lev_anchor_tag = "";
anchor_tag = "";
// identify parts
diff --git a/src/sisudoc/ocda/meta/metadoc_from_src_functions.d b/src/sisudoc/ocda/meta/metadoc_from_src_functions.d
index 9824d61..cf46fda 100644
--- a/src/sisudoc/ocda/meta/metadoc_from_src_functions.d
+++ b/src/sisudoc/ocda/meta/metadoc_from_src_functions.d
@@ -90,10 +90,6 @@ template docAbstractionFunctions() {
// ocn
OCNset obj_cite_digits;
int obj_cite_digit_, obj_cite_digit_off, obj_cite_digit_bkidx, obj_cite_digit_type;
- int[] dom_structure_markedup_tags_status = [ 0, 0, 0, 0, 0, 0, 0, 0, 0,];
- int[] dom_structure_markedup_tags_status_buffer = [ 0, 0, 0, 0, 0, 0, 0, 0, 0,];
- int[] dom_structure_collapsed_tags_status = [ 0, 0, 0, 0, 0, 0, 0, 0, 0,];
- int[] dom_structure_collapsed_tags_status_buffer = [ 0, 0, 0, 0, 0, 0, 0, 0, 0,];
static auto obj_im = ObjInlineMarkup();
static auto obj_att = ObjAttributes();
auto object_citation_number = OCNemitter();
diff --git a/src/sisudoc/spine.d b/src/sisudoc/spine.d
index c80814e..17950d0 100644
--- a/src/sisudoc/spine.d
+++ b/src/sisudoc/spine.d
@@ -821,6 +821,8 @@ string program_name = "spine";
@trusted bool meta_processing_xml_dom() {
return (
opts["abstraction"]
+ || show_abstraction
+ || show_abstraction_db
|| html
|| epub
|| odt