aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_hub.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-01-30 14:19:27 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit648492549fc290c416d870040c9097cc53335d44 (patch)
tree2f6b7f4b2cf6ae31fea4ca9f94b4b80f0445b42a /src/sdp/output_hub.d
parentorg file reorganise (diff)
screen output
Diffstat (limited to 'src/sdp/output_hub.d')
-rw-r--r--src/sdp/output_hub.d17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/sdp/output_hub.d b/src/sdp/output_hub.d
index 2ec11fe..c5c5510 100644
--- a/src/sdp/output_hub.d
+++ b/src/sdp/output_hub.d
@@ -32,30 +32,43 @@ template outputHub() {
void outputHub(C,D)(C contents, D doc_matters) {
mixin SiSUrgxInit;
auto rgx = Rgx();
+ if ((doc_matters.opt_action_bool["verbose"])) {
+ writeln(doc_matters.keys_seq_seg);
+ }
if (doc_matters.opt_action_bool["source"]) {
/+ mixin outputSource; +/
writeln("source");
}
if (doc_matters.opt_action_bool["sisupod"]) {
+ if ((doc_matters.opt_action_bool["verbose"])) {write("sisupod source processing... ");}
SiSUpod!()(doc_matters.source_filename);
- writeln("sisupod source");
+ if ((doc_matters.opt_action_bool["verbose"])) {writeln("sisupod done");}
}
if (doc_matters.opt_action_bool["text"]) {
/+ mixin outputText; +/
writeln("text processing");
}
if (doc_matters.opt_action_bool["html"]) {
+ if ((doc_matters.opt_action_bool["verbose"])) {write("html scroll processing... ");}
outputHTML!().scroll(contents,doc_matters);
+ if ((doc_matters.opt_action_bool["verbose"])) {writeln("html scroll done");}
+ if ((doc_matters.opt_action_bool["verbose"])) {write("html seg processing... ");}
outputHTML!().seg(contents,doc_matters);
+ if ((doc_matters.opt_action_bool["verbose"])) {writeln("html seg done");}
} else if(doc_matters.opt_action_bool["html_seg"]) {
+ if ((doc_matters.opt_action_bool["verbose"])) {write("html seg processing... ");}
outputHTML!().seg(contents,doc_matters);
+ if ((doc_matters.opt_action_bool["verbose"])) {writeln("html seg done");}
} else if(doc_matters.opt_action_bool["html_scroll"]) {
+ if ((doc_matters.opt_action_bool["verbose"])) {write("html scroll processing... ");}
outputHTML!().scroll(contents,doc_matters);
+ if ((doc_matters.opt_action_bool["verbose"])) {writeln("html scroll done");}
}
if (doc_matters.opt_action_bool["epub"]) {
+ if ((doc_matters.opt_action_bool["verbose"])) {write("epub processing... ");}
outputEPub!()(contents, doc_matters);
// epub.css_write;
- // writeln("epub processing");
+ if ((doc_matters.opt_action_bool["verbose"])) {writeln("epub done");}
}
if (doc_matters.opt_action_bool["pdf"]) {
/+ mixin outputPDF; +/