diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-04-18 20:48:41 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 69c906fc8cffc841fc33ab6f9bdeafcf1d8f3b82 (patch) | |
tree | 9c809898d0cd5221df2d13b0995671befb3111c3 /src/sdp/abstraction.d | |
parent | 0.13.9 sisupod & epub3, zipped output (diff) |
section keys sequencedoc-reform_v0.0.13
Diffstat (limited to 'src/sdp/abstraction.d')
-rw-r--r-- | src/sdp/abstraction.d | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/sdp/abstraction.d b/src/sdp/abstraction.d index 65bb5cd..714ab41 100644 --- a/src/sdp/abstraction.d +++ b/src/sdp/abstraction.d @@ -70,16 +70,13 @@ template SiSUabstraction() { static assert(!isTypeTuple!(da)); static assert(da.length==4); auto doc_abstraction = da[docAbst.doc_abstraction]; // head ~ toc ~ body ~ endnotes_seg ~ glossary ~ bibliography ~ bookindex ~blurb; - string[][string] _document_section_keys_sequenced = da[docAbst.section_keys]; + auto _document_section_keys_sequenced = da[docAbst.section_keys]; string[] _doc_html_segnames = da[docAbst.segnames]; auto _images = da[docAbst.images]; struct DocumentMatters { - string[] keys_seq_seg() { - string[] _k = _document_section_keys_sequenced["seg"]; - return _k; - } - string[] keys_seq_scroll() { - string[] _k = _document_section_keys_sequenced["scroll"]; + auto keys_seq() { + /+ contains .seg & .scroll sequences +/ + auto _k = _document_section_keys_sequenced; return _k; } string[] segnames() { |