diff options
Diffstat (limited to 'src/sdp/output/hub.d')
-rw-r--r-- | src/sdp/output/hub.d | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/sdp/output/hub.d b/src/sdp/output/hub.d index fd64851..2a1221f 100644 --- a/src/sdp/output/hub.d +++ b/src/sdp/output/hub.d @@ -27,9 +27,11 @@ template outputHub() { { writeln("sisupod source processing... "); } SiSUpod!()(doc_matters); if ((doc_matters.opt_action["verbose"]) + && (doc_matters.opt_action["debug"]) && (doc_matters.opt_action["source"])) { writeln("sisu source done"); } if ((doc_matters.opt_action["verbose"]) + && (doc_matters.opt_action["debug"]) && (doc_matters.opt_action["sisupod"])) { writeln("sisupod done"); } } @@ -40,24 +42,27 @@ template outputHub() { if (doc_matters.opt_action["html"]) { if ((doc_matters.opt_action["verbose"])) { writeln("html scroll processing... "); } outputHTML!().scroll(doc_abstraction, doc_matters); - if ((doc_matters.opt_action["verbose"])) { writeln("html scroll done"); } + if ((doc_matters.opt_action["verbose"]) && (doc_matters.opt_action["debug"])) { writeln("html scroll done"); } if ((doc_matters.opt_action["verbose"])) { writeln("html seg processing... "); } outputHTML!().seg(doc_abstraction, doc_matters); - if ((doc_matters.opt_action["verbose"])) { writeln("html seg done"); } + if ((doc_matters.opt_action["verbose"]) && (doc_matters.opt_action["debug"])) { writeln("html seg done"); } + outputHTML!().css(doc_matters); } else if (doc_matters.opt_action["html-seg"]) { if ((doc_matters.opt_action["verbose"])) { writeln("html seg processing... "); } outputHTML!().seg(doc_abstraction, doc_matters); - if ((doc_matters.opt_action["verbose"])) { writeln("html seg done"); } + if ((doc_matters.opt_action["verbose"]) && (doc_matters.opt_action["debug"])) { writeln("html seg done"); } + outputHTML!().css(doc_matters); } else if (doc_matters.opt_action["html-scroll"]) { if ((doc_matters.opt_action["verbose"])) { writeln("html scroll processing... "); } outputHTML!().scroll(doc_abstraction, doc_matters); - if ((doc_matters.opt_action["verbose"])) { writeln("html scroll done"); } + if ((doc_matters.opt_action["verbose"]) && (doc_matters.opt_action["debug"])) { writeln("html scroll done"); } + outputHTML!().css(doc_matters); } if (doc_matters.opt_action["epub"]) { if ((doc_matters.opt_action["verbose"])) { writeln("epub3 processing... "); } outputEPub3!()(doc_abstraction, doc_matters); // epub.css_write; - if ((doc_matters.opt_action["verbose"])) { writeln("epub3 done"); } + if ((doc_matters.opt_action["verbose"]) && (doc_matters.opt_action["debug"])) { writeln("epub3 done"); } } if (doc_matters.opt_action["pdf"]) { /+ mixin outputPDF; +/ |