From 0079c34ce7a524d4b93ed56191b5e7cf6a380975 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 1 Nov 2016 10:06:47 -0400 Subject: 0.8.0 the document parts (& org babel tangle) --- src/sdp/output_hub.d | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'src/sdp/output_hub.d') diff --git a/src/sdp/output_hub.d b/src/sdp/output_hub.d index e7c0c9e..336e7b3 100644 --- a/src/sdp/output_hub.d +++ b/src/sdp/output_hub.d @@ -14,6 +14,7 @@ template SiSUoutputHub() { bool[string] opt_action_bool ) { auto rgx = Rgx(); + string[] document_parts; if (opt_action_bool["source"]) { writeln("sisupod source"); } @@ -28,8 +29,25 @@ template SiSUoutputHub() { if (opt_action_bool["html"]) { mixin SiSUoutputHTML; auto html=SDPoutputHTML(); + document_parts = [ + "head", + "toc_scroll", + "body", + "endnotes_scroll", + "bibliography", + "bookindex_scroll" + ]; html.css_write; - html.scroll(contents, bookindex_unordered_hashes, biblio, dochead_make, dochead_meta, fn_src, opt_action_bool); + html.scroll( + contents, + document_parts, + bookindex_unordered_hashes, + biblio, + dochead_make, + dochead_meta, + fn_src, + opt_action_bool + ); } if (opt_action_bool["epub"]) { writeln("epub processing"); -- cgit v1.2.3