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/output_hub.d | |
parent | sync, fix level :A split info (diff) |
0.8.0 the document parts (& org babel tangle)
Diffstat (limited to 'src/sdp/output_hub.d')
-rw-r--r-- | src/sdp/output_hub.d | 20 |
1 files changed, 19 insertions, 1 deletions
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"); |