aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-11-16 12:16:08 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2019-11-22 09:54:26 -0500
commit2731b33fe2d05fe3ebc3e2f98d39eacf7295d1e4 (patch)
treee10aa1e0685d03deeb62c36e643e9300e144990e /org/output_hub.org
parentname changes (diff)
module & src renamingdoc-reform_v0.9.0
Diffstat (limited to 'org/output_hub.org')
-rw-r--r--org/output_hub.org38
1 files changed, 19 insertions, 19 deletions
diff --git a/org/output_hub.org b/org/output_hub.org
index a8b9e01..90464a3 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -20,12 +20,12 @@
* output hub [#A]
** _module template_ :module:
-#+BEGIN_SRC d :tangle "../src/doc_reform/output/hub.d"
+#+BEGIN_SRC d :tangle "../src/doc_reform/io_out/hub.d"
/++
output hub<BR>
check & generate output types requested
+/
-module doc_reform.output.hub;
+module doc_reform.io_out.hub;
template outputHub() {
<<output_imports>>
import std.parallelism;
@@ -68,11 +68,11 @@ template outputHubOp() {
#+name: output_imports
#+BEGIN_SRC d
-import doc_reform.output,
- doc_reform.output.xmls,
- doc_reform.output.odt,
- doc_reform.output.create_zip_file,
- doc_reform.output.paths_output;
+import doc_reform.io_out,
+ doc_reform.io_out.xmls,
+ doc_reform.io_out.odt,
+ doc_reform.io_out.create_zip_file,
+ doc_reform.io_out.paths_output;
#+END_SRC
** outputs
@@ -89,7 +89,7 @@ if (sched == outTask.source_or_pod) {
if (doc_matters.opt.action.pod) {
msg.v("spine (doc reform) source pod processing... ");
}
- import doc_reform.output.source_pod;
+ import doc_reform.io_out.source_pod;
spinePod!()(doc_matters);
if (doc_matters.opt.action.source) {
msg.vv("spine (doc reform) source done");
@@ -106,7 +106,7 @@ if (sched == outTask.source_or_pod) {
#+BEGIN_SRC d
if (sched == outTask.epub) {
msg.v("epub3 processing... ");
- import doc_reform.output.epub3;
+ import doc_reform.io_out.epub3;
doc_abstraction.outputEPub3!()(doc_matters);
msg.vv("epub3 done");
}
@@ -119,7 +119,7 @@ if (sched == outTask.epub) {
#+BEGIN_SRC d
if (sched == outTask.html_scroll) {
msg.v("html scroll processing... ");
- import doc_reform.output.html;
+ import doc_reform.io_out.html;
outputHTML!().scroll(doc_abstraction, doc_matters);
msg.vv("html scroll done");
}
@@ -131,7 +131,7 @@ if (sched == outTask.html_scroll) {
#+BEGIN_SRC d
if (sched == outTask.html_seg) {
msg.v("html seg processing... ");
- import doc_reform.output.html;
+ import doc_reform.io_out.html;
outputHTML!().seg(doc_abstraction, doc_matters);
msg.vv("html seg done");
}
@@ -142,7 +142,7 @@ if (sched == outTask.html_seg) {
#+name: output_scheduled_task
#+BEGIN_SRC d
if (sched == outTask.html_stuff) {
- import doc_reform.output.html;
+ import doc_reform.io_out.html;
outputHTML!().css(doc_matters);
outputHTML!().images_cp(doc_matters);
msg.vv("html css & images done");
@@ -155,7 +155,7 @@ if (sched == outTask.html_stuff) {
#+BEGIN_SRC d
if (sched == outTask.latex) {
msg.v("latex processing... (available for downstream processing & pdf output");
- import doc_reform.output.latex;
+ import doc_reform.io_out.latex;
outputLaTeX!()(doc_abstraction, doc_matters);
msg.vv("latex done");
}
@@ -167,7 +167,7 @@ if (sched == outTask.latex) {
#+BEGIN_SRC d
if (sched == outTask.odt) {
msg.v("odf:odt processing... ");
- import doc_reform.output.odt;
+ import doc_reform.io_out.odt;
outputODT!()(doc_abstraction, doc_matters);
msg.vv("odf:odt done");
}
@@ -179,7 +179,7 @@ if (sched == outTask.odt) {
#+BEGIN_SRC d
if (sched == outTask.sqlite) {
msg.v("sqlite processing... ");
- import doc_reform.output.sqlite;
+ import doc_reform.io_out.sqlite;
doc_abstraction.SQLiteHubDiscreteBuildTablesAndPopulate!()(doc_matters);
msg.vv("sqlite done");
}
@@ -193,12 +193,12 @@ if (sched == outTask.sqlite) {
#+BEGIN_SRC d
if (doc_matters.opt.action.sqlite_update) {
msg.v("sqlite update processing...");
- import doc_reform.output.sqlite;
+ import doc_reform.io_out.sqlite;
doc_abstraction.SQLiteHubBuildTablesAndPopulate!()(doc_matters);
msg.vv("sqlite update done");
} else if (doc_matters.opt.action.sqlite_delete) {
msg.v("sqlite delete processing...");
- import doc_reform.output.sqlite;
+ import doc_reform.io_out.sqlite;
doc_abstraction.SQLiteHubBuildTablesAndPopulate!()(doc_matters);
msg.vv("sqlite delete done");
}
@@ -213,7 +213,7 @@ if ((opt_action.sqlite_db_drop)) {
if ((opt_action.verbose)) {
writeln("sqlite drop db...");
}
- import doc_reform.output.sqlite;
+ import doc_reform.io_out.sqlite;
SQLiteDbDrop!()(opt_action);
if ((opt_action.very_verbose)) {
writeln("sqlite drop db done");
@@ -229,7 +229,7 @@ if ((opt_action.sqlite_db_create)) {
if ((opt_action.verbose)) {
writeln("sqlite create table...");
}
- import doc_reform.output.sqlite;
+ import doc_reform.io_out.sqlite;
SQLiteTablesCreate!()(env, opt_action);
if ((opt_action.very_verbose)) {
writeln("sqlite create table done");