aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/sdp.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-11-11 15:14:52 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:13 -0400
commita32c38eda635daa4f7bf00e971e8105bd7d25c57 (patch)
tree57758a74537400d31a640b41c84362691ac25852 /org/sdp.org
parent0.9.0 document sections (diff)
document sections
Diffstat (limited to 'org/sdp.org')
-rw-r--r--org/sdp.org29
1 files changed, 11 insertions, 18 deletions
diff --git a/org/sdp.org b/org/sdp.org
index c1157eb..d69262b 100644
--- a/org/sdp.org
+++ b/org/sdp.org
@@ -365,6 +365,7 @@ auto doc_ao_bookindex_unordered_hashes = t[1]; // redundant?
auto doc_ao_biblio = t[2]; // redundant?
#+END_SRC
+**** document section keys view
#+NAME: sdp_each_file_do_document_abstraction
#+BEGIN_SRC d
@@ -380,45 +381,37 @@ string[][string] document_section_keys_sequenced = [
"body",
]
];
-/+ seg +/
if (doc_ao_contents["endnotes_seg"].length > 1) {
document_section_keys_sequenced["seg"] =
document_section_keys_sequenced["seg"] ~= "endnotes_seg";
}
-if (doc_ao_contents["glossary"].length > 1) {
- document_section_keys_sequenced["seg"] =
- document_section_keys_sequenced["seg"] ~= "glossary";
-}
-if (doc_ao_contents["bibliography"].length > 1) {
- document_section_keys_sequenced["seg"] =
- document_section_keys_sequenced["seg"] ~= "bibliography";
-}
-if (doc_ao_contents["bookindex_seg"].length > 1) {
- document_section_keys_sequenced["seg"] =
- document_section_keys_sequenced["seg"] ~= "bookindex_seg";
-}
-if (doc_ao_contents["blurb"].length > 1) {
- document_section_keys_sequenced["seg"] =
- document_section_keys_sequenced["seg"] ~= "blurb";
-}
-/+ scroll +/
if (doc_ao_contents["endnotes_scroll"].length > 1) {
document_section_keys_sequenced["scroll"] =
document_section_keys_sequenced["scroll"] ~= "endnotes_scroll";
}
if (doc_ao_contents["glossary"].length > 1) {
+ document_section_keys_sequenced["seg"] =
+ document_section_keys_sequenced["seg"] ~= "glossary";
document_section_keys_sequenced["scroll"] =
document_section_keys_sequenced["scroll"] ~= "glossary";
}
if (doc_ao_contents["bibliography"].length > 1) {
+ document_section_keys_sequenced["seg"] =
+ document_section_keys_sequenced["seg"] ~= "bibliography";
document_section_keys_sequenced["scroll"] =
document_section_keys_sequenced["scroll"] ~= "bibliography";
}
+if (doc_ao_contents["bookindex_seg"].length > 1) {
+ document_section_keys_sequenced["seg"] =
+ document_section_keys_sequenced["seg"] ~= "bookindex_seg";
+}
if (doc_ao_contents["bookindex_scroll"].length > 1) {
document_section_keys_sequenced["scroll"] =
document_section_keys_sequenced["scroll"] ~= "bookindex_scroll";
}
if (doc_ao_contents["blurb"].length > 1) {
+ document_section_keys_sequenced["seg"] =
+ document_section_keys_sequenced["seg"] ~= "blurb";
document_section_keys_sequenced["scroll"] =
document_section_keys_sequenced["scroll"] ~= "blurb";
}