diff options
author | Ralph Amissah <ralph@amissah.com> | 2016-11-01 10:06:47 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:13 -0400 |
commit | 0079c34ce7a524d4b93ed56191b5e7cf6a380975 (patch) | |
tree | af9d3fad63937e1b8d5eefa2bdabbcea2325ce91 /src/sdp.d | |
parent | sync, fix level :A split info (diff) |
0.8.0 the document parts (& org babel tangle)
Diffstat (limited to 'src/sdp.d')
-rwxr-xr-x | src/sdp.d | 24 |
1 files changed, 16 insertions, 8 deletions
@@ -199,17 +199,25 @@ void main(string[] args) { /+ ↓ document abstraction: process document, return abstraction as tuple +/ auto t = abs.abstract_doc_source(content_body, dochead_make, dochead_meta); static assert(!isTypeTuple!(t)); - auto doc_ao_contents = t[0]; // contents ~ endnotes ~ bookindex; + auto doc_ao_contents = t[0]; // head ~ toc ~ contents ~ endnotes_seg ~ [glossary] ~ bibliography ~ bookindex; // static assert(!isIterable!(doc_ao_contents)); - auto doc_ao_bookindex_unordered_hashes = t[1]; - auto doc_ao_biblio = t[2]; + auto doc_ao_bookindex_unordered_hashes = t[1]; // redundant? + auto doc_ao_biblio = t[2]; // redundant? // destroy(t); /+ ↓ debugs +/ debug(checkdoc) { // checkbook & dumpdoc + auto doc_ao_contents_view = ( + doc_ao_contents["head"] ~ + doc_ao_contents["toc_seg"] ~ + doc_ao_contents["body"] ~ + doc_ao_contents["endnotes_seg"] ~ + doc_ao_contents["bibliography"] ~ + doc_ao_contents["bookindex_seg"] + ); dbg.abstract_doc_source_debugs( - doc_ao_contents, - doc_ao_bookindex_unordered_hashes, - doc_ao_biblio, + doc_ao_contents_view, + doc_ao_bookindex_unordered_hashes, // redundant? + doc_ao_biblio, // redundant? dochead_make, dochead_meta, fn_src, @@ -219,8 +227,8 @@ void main(string[] args) { /+ ↓ output hub +/ output.hub( doc_ao_contents, - doc_ao_bookindex_unordered_hashes, - doc_ao_biblio, + doc_ao_bookindex_unordered_hashes, // redundant? + doc_ao_biblio, // redundant? dochead_make, dochead_meta, fn_src, |