diff options
Diffstat (limited to 'src/sdp/abstraction.d')
-rw-r--r-- | src/sdp/abstraction.d | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sdp/abstraction.d b/src/sdp/abstraction.d index c799fb7..d358f33 100644 --- a/src/sdp/abstraction.d +++ b/src/sdp/abstraction.d @@ -70,10 +70,11 @@ template SiSUabstraction() { opts ); static assert(!isTypeTuple!(da)); - static assert(da.length==3); + static assert(da.length==4); auto doc_abstraction = da[0]; // head ~ toc ~ contents ~ endnotes_seg ~ glossary ~ bibliography ~ bookindex ~blurb; string[][string] _document_section_keys_sequenced = da[1]; string[] _doc_html_segnames = da[2]; + auto _images = da[3]; struct DocumentMatters { string[] keys_seq_seg() { string[] _k = _document_section_keys_sequenced["seg"]; @@ -103,6 +104,10 @@ template SiSUabstraction() { string[] _k = _0_header_1_body_content_2_insert_filelist_tuple[2]; return _k; } + auto image_list() { + auto _k = _images; + return _k; + } auto opt_action_bool() { bool[string] _k = opts; return _k; @@ -111,7 +116,6 @@ template SiSUabstraction() { auto _k = env; return _k; } - /+ add a list of images +/ } auto doc_matters = DocumentMatters(); auto t = tuple(doc_abstraction, doc_matters); |