aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_hub.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/output_hub.org')
-rw-r--r--org/output_hub.org34
1 files changed, 31 insertions, 3 deletions
diff --git a/org/output_hub.org b/org/output_hub.org
index 6d62477..3129b72 100644
--- a/org/output_hub.org
+++ b/org/output_hub.org
@@ -29,6 +29,35 @@ template outputHub() {
void outputHub(D,I)(D doc_abstraction, I doc_matters) {
mixin SiSUoutputRgxInit;
static auto rgx = Rgx();
+ debug (substitutions) {
+ enum Substitute { match, markup, html, }
+ writeln(__LINE__, ":", __FILE__, ": DEBUG substitutions:");
+ writeln("Doc Title: ", doc_matters.conf_make_meta.meta.title_full);
+ if (doc_matters.conf_make_meta.make.bold) {
+ writeln("regex to match: ", doc_matters.conf_make_meta.make.bold[Substitute.match]);
+ writeln("substitution to make: ", doc_matters.conf_make_meta.make.bold[Substitute.html]);
+
+ auto _w = "1. Debian test string. Debian again. (the problem) do not use initialized only not repopulated"
+ .replaceAll(
+ regex(doc_matters.conf_make_meta.make.bold[Substitute.match]),
+ doc_matters.conf_make_meta.make.bold[Substitute.html]
+ );
+ writeln(_w);
+
+ writeln("2a. Debian test string. Debian again. (the problem) do not use initialized only not repopulated"
+ .replaceAll(
+ regex(doc_matters.conf_make_meta.make.bold[Substitute.match]),
+ doc_matters.conf_make_meta.make.bold[Substitute.html]
+ ));
+
+ auto _v = regex(doc_matters.conf_make_meta.make.bold[Substitute.match]);
+ writeln("2b. Debian test string. Debian again. (the problem) do not use initialized only not repopulated"
+ .replaceAll(
+ _v,
+ doc_matters.conf_make_meta.make.bold[Substitute.html]
+ ));
+ }
+ }
<<output_options>>
}
}
@@ -50,7 +79,6 @@ import sdp.output,
sdp.output.epub3,
sdp.output.html,
sdp.output.sqlite,
- sdp.output.sqlite_discrete,
sdp.output.xmls,
sdp.output.source_sisupod,
sdp.output.create_zip_file,
@@ -202,7 +230,7 @@ if (doc_matters.opt.action.sqlite_discrete) {
if ((doc_matters.opt.action.verbose)) {
writeln("sqlite processing... ");
}
- SQLiteDiscreteBuildTablesAndPopulate!()(doc_abstraction, doc_matters);
+ SQLiteHubDiscreteBuildTablesAndPopulate!()(doc_abstraction, doc_matters);
}
#+END_SRC
@@ -214,7 +242,7 @@ if (doc_matters.opt.action.sqlite_update) {
if ((doc_matters.opt.action.verbose)) {
writeln("sqlite processing... ");
}
- SQLiteBuildTablesAndPopulate!()(doc_abstraction, doc_matters);
+ SQLiteHubBuildTablesAndPopulate!()(doc_abstraction, doc_matters);
}
#+END_SRC