From 228d14579be7cd63fe3ffdea7a4da8e814c0905a Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 15 May 2018 20:33:35 -0400 Subject: org cosmetic, minor --- org/meta_abstraction.org | 5 +++-- org/output_hub.org | 15 +++++++++------ org/output_sisupod.org | 5 +++-- org/output_sqlite.org | 6 +++++- org/output_xmls.org | 4 ++-- org/output_xmls_css.org | 4 +++- org/output_zip.org | 4 +++- org/sdp.org | 1 - src/sdp/meta/metadoc_from_src.d | 2 +- 9 files changed, 29 insertions(+), 17 deletions(-) diff --git a/org/meta_abstraction.org b/org/meta_abstraction.org index 4acb481..43cd85d 100644 --- a/org/meta_abstraction.org +++ b/org/meta_abstraction.org @@ -14,7 +14,8 @@ #+FILETAGS: :sdp:rel:meta: #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) -[[./sdp.org][sdp]] [[./][org/]] +- [[./sdp.org][sdp]] [[./][org/]] + * 1. Document Abstraction :module:sdp:metadoc_from_src: Process markup document, create document abstraction. @@ -6690,7 +6691,7 @@ struct Bibliography { } JSONValue[] biblio_unsorted_array_of_json_objects = bib_arr_json.dup; - destroy(bib_arr_json); + destroy(bib_arr_json); return biblio_unsorted_array_of_json_objects; } #+END_SRC diff --git a/org/output_hub.org b/org/output_hub.org index bccfb01..9caf1a9 100644 --- a/org/output_hub.org +++ b/org/output_hub.org @@ -14,7 +14,8 @@ #+FILETAGS: :sdp:rel:output: #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) -[[./sdp.org][sdp]] [[./][org/]] +- [[./sdp.org][sdp]] [[./][org/]] + * 0. output hub [#A] :module:sdp:output_hub: ** module template @@ -96,7 +97,7 @@ if (doc_matters.opt.action.verbose) { #+END_SRC *** output source: _sisusrc_ &/or _sisupod_ -[[./output_sisupod.org][output_sisupod]] +- [[./output_sisupod.org][output_sisupod]] #+name: output_options #+BEGIN_SRC d @@ -138,7 +139,7 @@ if (doc_matters.opt.action.text) { #+END_SRC *** html -[[./output_xmls.org][output_xmls]] +- [[./output_xmls.org][output_xmls]] #+name: output_options #+BEGIN_SRC d @@ -187,7 +188,7 @@ if (doc_matters.opt.action.html) { #+END_SRC *** epub -[[./output_xmls.org][output_xmls]] +- [[./output_xmls.org][output_xmls]] #+name: output_options #+BEGIN_SRC d @@ -225,6 +226,8 @@ if (doc_matters.opt.action.odt) { #+END_SRC *** sqlite +- [[./output_sqlite.org][output_sqlite]] + **** discrete #+name: output_options @@ -238,6 +241,7 @@ if (doc_matters.opt.action.sqlite_discrete) { #+END_SRC **** collection +***** update / populate #+name: output_options #+BEGIN_SRC d @@ -249,9 +253,8 @@ if (doc_matters.opt.action.sqlite_update) { } #+END_SRC -*** sqlite (create, drop) +***** create, drop -**** collection #+name: output_options_op #+BEGIN_SRC d if ((opt_action.sqlite_create)) { diff --git a/org/output_sisupod.org b/org/output_sisupod.org index 931f80b..46e23e7 100644 --- a/org/output_sisupod.org +++ b/org/output_sisupod.org @@ -14,8 +14,9 @@ #+FILETAGS: :sdp:rel:output:sisupod: #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) -[[./sdp.org][sdp]] [[./][org/]] -[[./output_hub.org][output_hub]] +- [[./sdp.org][sdp]] [[./][org/]] +- [[./output_hub.org][output_hub]] + * sisupod :module:sdp:source_sisupod: ** module template diff --git a/org/output_sqlite.org b/org/output_sqlite.org index 566775b..fe76db4 100644 --- a/org/output_sqlite.org +++ b/org/output_sqlite.org @@ -14,6 +14,9 @@ #+FILETAGS: :sdp:niu:output: #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) +- [[./sdp.org][sdp]] [[./][org/]] +- [[./output_hub.org][output_hub]] + * sql ** 0. module, templates @@ -1083,7 +1086,7 @@ return _insert_doc_objects.join.to!(char[]).toUTF8; #+END_SRC ** 5. SQL statements -*** create tables +*** drop tables **** DROP INDEX IF EXISTS #+name: sqlite_statement_drop_existing_index @@ -1115,6 +1118,7 @@ DROP TABLE IF EXISTS doc_objects; DROP TABLE IF EXISTS urls; #+END_SRC +*** create tables **** CREATE TABLE metadata_and_text #+name: sqlite_statement_create_table_metadata_and_src_txt diff --git a/org/output_xmls.org b/org/output_xmls.org index 9a27bc7..18f5a61 100644 --- a/org/output_xmls.org +++ b/org/output_xmls.org @@ -14,8 +14,8 @@ #+FILETAGS: :sdp:rel:output:xmls: #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) -[[./sdp.org][sdp]] [[./][org/]] -[[./output_hub.org][output_hub]] +- [[./sdp.org][sdp]] [[./][org/]] +- [[./output_hub.org][output_hub]] * xml offspring (xhtml html epub) :module:sdp:output_xmls: ** format xhtml objects :format: diff --git a/org/output_xmls_css.org b/org/output_xmls_css.org index bd76e4d..82e5083 100644 --- a/org/output_xmls_css.org +++ b/org/output_xmls_css.org @@ -14,7 +14,9 @@ #+FILETAGS: :sdp:rel:output: #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) -[[./sdp.org][sdp]] [[./][org/]] +- [[./sdp.org][sdp]] [[./][org/]] +- [[./output_hub.org][output_hub]] + * 0. output css defaults :module:sdp:output_xmls_css: ** 0. module template diff --git a/org/output_zip.org b/org/output_zip.org index d392b38..05faf74 100644 --- a/org/output_zip.org +++ b/org/output_zip.org @@ -14,7 +14,9 @@ #+FILETAGS: :sdp:rel:output: #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) -[[./sdp.org][sdp]] [[./][org/]] +- [[./sdp.org][sdp]] [[./][org/]] +- [[./output_hub.org][output_hub]] + * _zip_ :module:sdp:create_zip_file: ** module template diff --git a/org/sdp.org b/org/sdp.org index a3ddf40..006b01f 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -741,7 +741,6 @@ debug(header_and_body) { #+END_SRC ** 2. _document metadata_ & _make instructions_ (struct from toml) >> -header: toml - [[./meta_conf_make_meta.org][meta_conf_make_meta]] - read _document header_, split into: diff --git a/src/sdp/meta/metadoc_from_src.d b/src/sdp/meta/metadoc_from_src.d index fb95a98..b5fd5ab 100644 --- a/src/sdp/meta/metadoc_from_src.d +++ b/src/sdp/meta/metadoc_from_src.d @@ -5411,7 +5411,7 @@ template SiSUdocAbstraction() { } JSONValue[] biblio_unsorted_array_of_json_objects = bib_arr_json.dup; - destroy(bib_arr_json); + destroy(bib_arr_json); return biblio_unsorted_array_of_json_objects; } final private JSONValue[] biblio_sort(BJ)(BJ biblio_unordered) { -- cgit v1.2.3