From d0ec46764b6aa5fecf55760dc177c53411fcc735 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 1 Dec 2018 19:26:04 -0500 Subject: 0.3.3 org mode behavior --- org/output_hub.org | 54 +++++++++++++++++++++++++++--------------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'org/output_hub.org') diff --git a/org/output_hub.org b/org/output_hub.org index 9cad03e..3fa0cb8 100644 --- a/org/output_hub.org +++ b/org/output_hub.org @@ -4,11 +4,11 @@ #+AUTHOR: Ralph Amissah #+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] #+LANGUAGE: en -#+STARTUP: indent content +#+STARTUP: indent content hideblocks hidestars #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+PROPERTY: header-args :padline no :exports code :noweb yes +#+PROPERTY: header-args :padline no :exports code :cache no :noweb yes #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+TAGS: assert(a) class(c) debug(d) mixin(m) doc_reform(s) tangle(T) template(t) WEB(W) noexport(n) @@ -18,7 +18,7 @@ * 0. output hub [#A] ** module template :module: -#+BEGIN_SRC d :tangle ../src/doc_reform/output/hub.d +#+BEGIN_SRC d :tangle "../src/doc_reform/output/hub.d" /++ output hub
check & generate output types requested @@ -74,7 +74,8 @@ import doc_reform.output, #+END_SRC ** outputs -*** source: _sisusrc_ &/or _pod_ :source:pod: +*** files +**** source: _sisusrc_ &/or _pod_ :source:pod: - [[./output_pod.org][output_pod]] #+name: output_scheduled_task @@ -86,19 +87,7 @@ if (sched == outTask.pod) { } #+END_SRC -*** sqlite :sqlite: -**** discrete - -#+name: output_scheduled_task -#+BEGIN_SRC d -if (sched == outTask.sqlite) { - msg.v("sqlite processing... "); - SQLiteHubDiscreteBuildTablesAndPopulate!()(doc_matters, doc_abstraction); - msg.vv("sqlite done"); -} -#+END_SRC - -*** epub :epub: +**** epub :epub: #+name: output_scheduled_task #+BEGIN_SRC d @@ -109,8 +98,8 @@ if (sched == outTask.epub) { } #+END_SRC -*** html :html: -**** scroll :scroll: +**** html :html: +***** scroll :scroll: #+name: output_scheduled_task #+BEGIN_SRC d @@ -121,7 +110,7 @@ if (sched == outTask.html_scroll) { } #+END_SRC -**** seg :seg: +***** seg :seg: #+name: output_scheduled_task #+BEGIN_SRC d @@ -132,7 +121,7 @@ if (sched == outTask.html_seg) { } #+END_SRC -**** css, images etc :css:images: +***** css, images etc :css:images: #+name: output_scheduled_task #+BEGIN_SRC d @@ -143,9 +132,20 @@ if (sched == outTask.html_stuff) { } #+END_SRC -* output options -** sqlite collection :sqlite: -*** update / populate :update: +**** sqlite discrete :sqlite: + +#+name: output_scheduled_task +#+BEGIN_SRC d +if (sched == outTask.sqlite) { + msg.v("sqlite processing... "); + SQLiteHubDiscreteBuildTablesAndPopulate!()(doc_matters, doc_abstraction); + msg.vv("sqlite done"); +} +#+END_SRC + +*** db:sql +**** sqlite collection :sqlite: +***** update / populate :update: #+name: output_shared_sqlite_db #+BEGIN_SRC d @@ -160,8 +160,8 @@ if (doc_matters.opt.action.sqlite_update) { } #+END_SRC -*** no markup source files to process -**** drop :drop: +***** no markup source files to process +****** drop :drop: #+name: output_options_op #+BEGIN_SRC d @@ -176,7 +176,7 @@ if ((opt_action.sqlite_db_drop)) { } #+END_SRC -**** create :create: +****** create :create: #+name: output_options_op #+BEGIN_SRC d -- cgit v1.2.3