From 4bf61c31fac50313753246e76993739fff3bfa14 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 3 Feb 2017 15:42:31 -0500 Subject: doc_matters, add image list --- org/sdp.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'org/sdp.org') diff --git a/org/sdp.org b/org/sdp.org index cafb5d9..9cb677b 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -501,10 +501,11 @@ auto da = SiSUdocAbstraction!()( 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]; #+END_SRC ** 4. _document matters_ (compiled from various sources) @@ -540,6 +541,10 @@ struct DocumentMatters { 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; @@ -548,7 +553,6 @@ struct DocumentMatters { auto _k = env; return _k; } - /+ add a list of images +/ } auto doc_matters = DocumentMatters(); #+END_SRC -- cgit v1.2.3