aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-04-10 22:24:34 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-04-10 23:08:18 -0400
commit90873fabd7451e1dd8c4b39303906e19bdc481f7 (patch)
tree2dbb0e41f3e9c761645c8b37dafe979a01d38d32 /org/output_hub.org
parent0.15.0 (diff)
0.16.0 sisudoc (src/sisudoc sisudoc spine)
- src/sisudoc (replaces src/doc_reform) - sisudoc spine (used more)
Diffstat (limited to 'org/output_hub.org')
-rw-r--r--org/output_hub.org50
1 files changed, 25 insertions, 25 deletions
diff --git a/org/output_hub.org b/org/output_hub.org
index a6a2db1..b73c582 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -1,5 +1,5 @@
-*- mode: org -*-
-#+TITLE: spine(doc_reform) output hub
+#+TITLE: sisudoc spine(doc_reform) output hub
#+DESCRIPTION: documents - structuring, publishing in multiple formats & search
#+FILETAGS: :spine:output:hub:
#+AUTHOR: Ralph Amissah
@@ -20,7 +20,7 @@
* output hub [#A]
** _module template_ :module:
-#+HEADER: :tangle "../src/doc_reform/io_out/hub.d"
+#+HEADER: :tangle "../src/sisudoc/io_out/hub.d"
#+HEADER: :noweb yes
#+BEGIN_SRC d
<<doc_header_including_copyright_and_license>>
@@ -28,7 +28,7 @@
output hub<BR>
check & generate output types requested
+/
-module doc_reform.io_out.hub;
+module sisudoc.io_out.hub;
@safe:
template outputHub() {
<<output_imports>>
@@ -69,9 +69,9 @@ template outputHub() {
}
template outputHubInitialize() {
import std.file;
- import doc_reform.io_out,
- doc_reform.io_out.metadata,
- doc_reform.io_out.paths_output;
+ import sisudoc.io_out,
+ sisudoc.io_out.metadata,
+ sisudoc.io_out.paths_output;
string _bespoke_homepage = "./spine-bespoke-output/html/homepage.index.html";
@system void outputHubInitialize(O,I)(
O opt_action,
@@ -96,7 +96,7 @@ template outputHubInitialize() {
&& opt_action.output_dir_set.length > 0
&& !(isValidPath(opt_action.output_dir_set ~ "/latex/sty")))
) { // .sty need to be produced only once (if unchanged per output-dir of which there usually will be only one)
- import doc_reform.io_out.latex;
+ import sisudoc.io_out.latex;
outputLaTeXstyInit!()(
opt_action.output_dir_set,
opt_action.generated_by,
@@ -120,11 +120,11 @@ template outputHubOp() {
#+NAME: output_imports
#+BEGIN_SRC d
-import doc_reform.io_out,
- doc_reform.io_out.metadata,
- doc_reform.io_out.xmls,
- doc_reform.io_out.create_zip_file,
- doc_reform.io_out.paths_output;
+import sisudoc.io_out,
+ sisudoc.io_out.metadata,
+ sisudoc.io_out.xmls,
+ sisudoc.io_out.create_zip_file,
+ sisudoc.io_out.paths_output;
#+END_SRC
** outputs
@@ -139,7 +139,7 @@ if (sched == outTask.source_or_pod) {
if (doc_matters.opt.action.pod) {
msg.v("spine (doc reform) source pod processing... ");
}
- import doc_reform.io_out.source_pod;
+ import sisudoc.io_out.source_pod;
spinePod!()(doc_matters);
if (doc_matters.opt.action.source) {
msg.vv("spine (doc reform) source done");
@@ -156,7 +156,7 @@ if (sched == outTask.source_or_pod) {
#+BEGIN_SRC d
if (sched == outTask.epub) {
msg.v("epub3 processing... ");
- import doc_reform.io_out.epub3;
+ import sisudoc.io_out.epub3;
doc_abstraction.outputEPub3!()(doc_matters);
msg.vv("epub3 done");
}
@@ -179,7 +179,7 @@ if (sched == outTask.html_stuff) {
#+BEGIN_SRC d
if (sched == outTask.html_scroll) {
msg.v("html scroll processing... ");
- import doc_reform.io_out.html;
+ import sisudoc.io_out.html;
outputHTML!().scroll(doc_abstraction, doc_matters);
msg.vv("html scroll done");
}
@@ -191,7 +191,7 @@ if (sched == outTask.html_scroll) {
#+BEGIN_SRC d
if (sched == outTask.html_seg) {
msg.v("html seg processing... ");
- import doc_reform.io_out.html;
+ import sisudoc.io_out.html;
outputHTML!().seg(doc_abstraction, doc_matters);
msg.vv("html seg done");
}
@@ -202,7 +202,7 @@ if (sched == outTask.html_seg) {
#+NAME: output_scheduled_task_html_out
#+BEGIN_SRC d
if (sched == outTask.html_stuff) {
- import doc_reform.io_out.html;
+ import sisudoc.io_out.html;
outputHTML!().css(doc_matters);
outputHTML!().images_cp(doc_matters);
msg.vv("html css & images done");
@@ -224,7 +224,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.io_out.latex;
+ import sisudoc.io_out.latex;
import std.file;
if ((isValidPath(doc_matters.output_path ~ "/latex/sty"))
&& (!(exists(doc_matters.output_path ~ "/latex/sty")))
@@ -247,7 +247,7 @@ if (sched == outTask.latex) {
#+BEGIN_SRC d
if (sched == outTask.odt) {
msg.v("odf:odt processing... ");
- import doc_reform.io_out.odt;
+ import sisudoc.io_out.odt;
outputODT!()(doc_abstraction, doc_matters);
msg.vv("odf:odt done");
}
@@ -259,7 +259,7 @@ if (sched == outTask.odt) {
#+BEGIN_SRC d
if (sched == outTask.sqlite) {
msg.v("sqlite processing... ");
- import doc_reform.io_out.sqlite;
+ import sisudoc.io_out.sqlite;
doc_abstraction.SQLiteHubDiscreteBuildTablesAndPopulate!()(doc_matters);
msg.vv("sqlite done");
}
@@ -273,12 +273,12 @@ if (sched == outTask.sqlite) {
#+BEGIN_SRC d
if (doc_matters.opt.action.sqlite_update) {
msg.v("sqlite update processing...");
- import doc_reform.io_out.sqlite;
+ import sisudoc.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.io_out.sqlite;
+ import sisudoc.io_out.sqlite;
doc_abstraction.SQLiteHubBuildTablesAndPopulate!()(doc_matters);
msg.vv("sqlite delete done");
}
@@ -293,7 +293,7 @@ if ((opt_action.sqlite_db_drop)) {
if ((opt_action.vox_gt1)) {
writeln("sqlite drop db...");
}
- import doc_reform.io_out.sqlite;
+ import sisudoc.io_out.sqlite;
SQLiteDbDrop!()(opt_action, config);
if ((opt_action.vox_gt2)) {
writeln("sqlite drop db done");
@@ -310,7 +310,7 @@ if ((opt_action.sqlite_db_create)) {
auto pth_sqlite_db = spinePathsSQLite!()(opt_action.cgi_sqlite_search_filename, opt_action.output_dir_set);
writeln("sqlite create table...");
}
- import doc_reform.io_out.sqlite;
+ import sisudoc.io_out.sqlite;
SQLiteTablesCreate!()(env, opt_action, config);
if ((opt_action.vox_gt2)) {
writeln("sqlite create table done");
@@ -323,7 +323,7 @@ if ((opt_action.sqlite_db_create)) {
#+NAME: doc_header_including_copyright_and_license
#+HEADER: :noweb yes
#+BEGIN_SRC emacs-lisp
-<<./spine_version_info_and_doc_header_including_copyright_and_license.org:spine_doc_header_including_copyright_and_license()>>
+<<./sisudoc_spine_version_info_and_doc_header_including_copyright_and_license.org:spine_doc_header_including_copyright_and_license()>>
#+END_SRC
* __END__