diff options
Diffstat (limited to 'org/sdp.org')
-rw-r--r-- | org/sdp.org | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/org/sdp.org b/org/sdp.org index 6ef3d06..19ec705 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -541,7 +541,7 @@ auto da = SiSUdocAbstraction!()( 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]; #+END_SRC @@ -554,12 +554,9 @@ auto _images = da[docAbst.images]; #+NAME: sdp_each_file_do_document_matters #+BEGIN_SRC d 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() { @@ -661,7 +658,7 @@ auto markup = InlineMarkup(); string[string] check = [ "last_obj_cite_number" : "NA [debug \"checkdoc\" not run]", ]; -foreach (k; doc_matters.keys_seq_seg) { +foreach (k; doc_matters.keys_seq.seg) { foreach (obj; doc_abstraction[k]) { if (obj.use != "empty") { if (!empty(obj.obj_cite_number)) { |