aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
Diffstat (limited to 'org')
-rw-r--r--org/output_hub.org14
1 files changed, 10 insertions, 4 deletions
diff --git a/org/output_hub.org b/org/output_hub.org
index 3fa0cb8..51736ae 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -64,11 +64,7 @@ template outputHubOp() {
#+name: output_imports
#+BEGIN_SRC d
import doc_reform.output,
- doc_reform.output.epub3,
- doc_reform.output.html,
- doc_reform.output.sqlite,
doc_reform.output.xmls,
- doc_reform.output.source_pod,
doc_reform.output.create_zip_file,
doc_reform.output.paths_output;
#+END_SRC
@@ -82,6 +78,7 @@ import doc_reform.output,
#+BEGIN_SRC d
if (sched == outTask.pod) {
msg.v("sisu source processing... ");
+ import doc_reform.output.source_pod;
DocReformPod!()(doc_matters);
msg.vv("sisu source done");
}
@@ -93,6 +90,7 @@ if (sched == outTask.pod) {
#+BEGIN_SRC d
if (sched == outTask.epub) {
msg.v("epub3 processing... ");
+ import doc_reform.output.epub3;
outputEPub3!()(doc_abstraction, doc_matters);
msg.vv("epub3 done");
}
@@ -105,6 +103,7 @@ if (sched == outTask.epub) {
#+BEGIN_SRC d
if (sched == outTask.html_scroll) {
msg.v("html scroll processing... ");
+ import doc_reform.output.html;
outputHTML!().scroll(doc_abstraction, doc_matters);
msg.vv("html scroll done");
}
@@ -116,6 +115,7 @@ if (sched == outTask.html_scroll) {
#+BEGIN_SRC d
if (sched == outTask.html_seg) {
msg.v("html seg processing... ");
+ import doc_reform.output.html;
outputHTML!().seg(doc_abstraction, doc_matters);
msg.vv("html seg done");
}
@@ -126,6 +126,7 @@ if (sched == outTask.html_seg) {
#+name: output_scheduled_task
#+BEGIN_SRC d
if (sched == outTask.html_stuff) {
+ import doc_reform.output.html;
outputHTML!().css(doc_matters);
outputHTML!().images_cp(doc_matters);
msg.vv("html css & images done");
@@ -138,6 +139,7 @@ if (sched == outTask.html_stuff) {
#+BEGIN_SRC d
if (sched == outTask.sqlite) {
msg.v("sqlite processing... ");
+ import doc_reform.output.sqlite;
SQLiteHubDiscreteBuildTablesAndPopulate!()(doc_matters, doc_abstraction);
msg.vv("sqlite done");
}
@@ -151,10 +153,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;
SQLiteHubBuildTablesAndPopulate!()(doc_matters, doc_abstraction);
msg.vv("sqlite update done");
} else if (doc_matters.opt.action.sqlite_delete) {
msg.v("sqlite delete processing...");
+ import doc_reform.output.sqlite;
SQLiteHubBuildTablesAndPopulate!()(doc_matters, doc_abstraction);
msg.vv("sqlite delete done");
}
@@ -169,6 +173,7 @@ if ((opt_action.sqlite_db_drop)) {
if ((opt_action.verbose)) {
writeln("sqlite drop db...");
}
+ import doc_reform.output.sqlite;
SQLiteDbDrop!()(opt_action);
if ((opt_action.very_verbose)) {
writeln("sqlite drop db done");
@@ -184,6 +189,7 @@ if ((opt_action.sqlite_db_create)) {
if ((opt_action.verbose)) {
writeln("sqlite create table...");
}
+ import doc_reform.output.sqlite;
SQLiteTablesCreate!()(env, opt_action);
if ((opt_action.very_verbose)) {
writeln("sqlite create table done");