aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2026-09-11 08:20:27 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2026-09-12 12:14:39 -0400
commita341bb94c66807ab666d16810ee5f50a56844a59 (patch)
tree7606b51857d42c80ea2b13b0d7c32f700851ab37 /org
parentocda: get image from is internal image markup (diff)
ocda: .ssp should have all sections of abstraction
The abstraction has nine sections and includes "tail". Both artefact writers hardcoded a list of eight, so "tail" was silently dropped. (assisted by Claude-Code)
Diffstat (limited to 'org')
-rw-r--r--org/out_src_abstraction_ocda_peg_ssp.org6
-rw-r--r--org/out_src_abstraction_sqlite_db.org2
2 files changed, 5 insertions, 3 deletions
diff --git a/org/out_src_abstraction_ocda_peg_ssp.org b/org/out_src_abstraction_ocda_peg_ssp.org
index c1b1930..95efb93 100644
--- a/org/out_src_abstraction_ocda_peg_ssp.org
+++ b/org/out_src_abstraction_ocda_peg_ssp.org
@@ -535,9 +535,11 @@ template spineAbstractionTxt() {
output ~= " quotes: " ~ doc_matters.has.quotes.to!string;
output ~= "}";
output ~= "";
- /+ ↓ document sections +/
+ /+ ↓ document sections - every section the abstraction holds, in document order.
+ "tail" is the end-of-document used by some output writers
+ +/
string[] section_order = ["head", "toc", "body", "endnotes",
- "glossary", "bibliography", "bookindex", "blurb"];
+ "glossary", "bibliography", "bookindex", "blurb", "tail"];
foreach (section; section_order) {
if (section !in doc_abstraction) { continue; }
auto section_objs = doc_abstraction[section];
diff --git a/org/out_src_abstraction_sqlite_db.org b/org/out_src_abstraction_sqlite_db.org
index 6befb4f..ad719c7 100644
--- a/org/out_src_abstraction_sqlite_db.org
+++ b/org/out_src_abstraction_sqlite_db.org
@@ -370,7 +370,7 @@ template spineAbstractionDb() {
);
string[] section_order = ["head", "toc", "body", "endnotes",
- "glossary", "bibliography", "bookindex", "blurb"];
+ "glossary", "bibliography", "bookindex", "blurb", "tail"];
foreach (section; section_order) {
if (section !in doc_abstraction) continue;