aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
Diffstat (limited to 'org')
-rw-r--r--org/output.org58
1 files changed, 29 insertions, 29 deletions
diff --git a/org/output.org b/org/output.org
index 259d4dd..e0cf35b 100644
--- a/org/output.org
+++ b/org/output.org
@@ -25,24 +25,24 @@ template outputHub() {
void outputHub(C,D)(C contents, D doc_matters) {
auto rgx = Rgx();
if (doc_matters.opt_action_bool["source"]) {
- /+ mixin SiSUoutputSource; +/
+ /+ mixin outputSource; +/
writeln("source");
}
if (doc_matters.opt_action_bool["sisupod"]) {
mixin SiSUpod;
- auto sisupod=SDPsisupod();
+ auto sisupod=SiSUpod();
sisupod.sisupod_assemble(doc_matters.source_filename);
writeln("sisupod source");
}
if (doc_matters.opt_action_bool["text"]) {
- /+ mixin SiSUoutputText; +/
+ /+ mixin outputText; +/
writeln("text processing");
// auto text=SDPoutput_text();
// text.scroll(contents, bookindex_unordered_hashes, biblio, dochead_make, dochead_meta, fn_src, opt_action_bool);
}
if (doc_matters.opt_action_bool["html"]) {
- mixin SiSUoutputHTML;
- auto html=SDPoutputHTML();
+ mixin outputHTML;
+ auto html=outputHTML();
html.css_write;
html.scroll(
contents,
@@ -53,16 +53,16 @@ template outputHub() {
doc_matters,
);
} else if(doc_matters.opt_action_bool["html_seg"]) {
- mixin SiSUoutputHTML;
- auto html=SDPoutputHTML();
+ mixin outputHTML;
+ auto html=outputHTML();
html.css_write;
html.seg(
contents,
doc_matters,
);
} else if(doc_matters.opt_action_bool["html_scroll"]) {
- mixin SiSUoutputHTML;
- auto html=SDPoutputHTML();
+ mixin outputHTML;
+ auto html=outputHTML();
html.css_write;
html.scroll(
contents,
@@ -70,8 +70,8 @@ template outputHub() {
);
}
if (doc_matters.opt_action_bool["epub"]) {
- mixin SiSUoutputEPub;
- auto epub=SDPoutputEPub();
+ mixin outputEPub;
+ auto epub=outputEPub();
epub.doc_content( // consolidate
contents,
doc_matters,
@@ -80,19 +80,19 @@ template outputHub() {
// writeln("epub processing");
}
if (doc_matters.opt_action_bool["pdf"]) {
- /+ mixin SiSUoutputPDF; +/
+ /+ mixin outputPDF; +/
writeln("pdf processing");
}
if (doc_matters.opt_action_bool["odt"]) {
- /+ mixin SiSUoutputODT; +/
+ /+ mixin outputODT; +/
writeln("odt processing");
}
if (doc_matters.opt_action_bool["sqlite"]) {
- /+ mixin SiSUoutputSQLite; +/
+ /+ mixin outputSQLite; +/
writeln("sqlite processing");
}
if (doc_matters.opt_action_bool["postgresql"]) {
- /+ mixin SiSUoutputPostgreSQL; +/
+ /+ mixin outputPostgreSQL; +/
writeln("pgsql processing");
}
}
@@ -104,7 +104,7 @@ template outputHub() {
#+BEGIN_SRC d :tangle ../src/sdp/source_sisupod.d
template SiSUpod() {
- struct SDPsisupod {
+ struct SiSUpod {
<<source_sisupod_mkdirs>>
<<source_sisupod_config>>
<<source_sisupod_text>>
@@ -117,8 +117,8 @@ template SiSUpod() {
*** xhtml common
#+BEGIN_SRC d :tangle ../src/sdp/output_xhtmls.d
-template SiSUoutputXHTMLs() {
- struct SDPoutputXHTMLs {
+template outputXHTMLs() {
+ struct outputXHTMLs {
<<xhtml_format_objects>>
<<xhtml_format_objects_code>>
}
@@ -128,9 +128,9 @@ template SiSUoutputXHTMLs() {
*** html
#+BEGIN_SRC d :tangle ../src/sdp/output_html.d
-template SiSUoutputHTML() {
- struct SDPoutputHTML {
- mixin SiSUoutputXHTMLs;
+template outputHTML() {
+ struct outputHTML {
+ mixin outputXHTMLs;
<<output_html>>
<<output_html_scroll>>
<<output_html_seg>>
@@ -142,10 +142,10 @@ template SiSUoutputHTML() {
*** epub
#+BEGIN_SRC d :tangle ../src/sdp/output_epub.d
-template SiSUoutputEPub() {
- struct SDPoutputEPub {
+template outputEPub() {
+ struct outputEPub {
mixin InternalMarkup;
- mixin SiSUoutputXHTMLs;
+ mixin outputXHTMLs;
<<output_epub_fixed>>
<<output_epub_constructs>>
<<output_epub_xhtml>>
@@ -566,7 +566,7 @@ void scroll(C,T)(
auto ref const C contents,
auto ref T doc_matters,
) {
- auto xhtml_format = SDPoutputXHTMLs();
+ auto xhtml_format = outputXHTMLs();
auto rgx = Rgx();
string[] doc_html;
string[] doc;
@@ -693,7 +693,7 @@ void seg_write_output_files(Fn,FnS,D)(
}
mixin SiSUpaths;
auto pth_html = HtmlPaths();
- auto xhtml_format = SDPoutputXHTMLs();
+ auto xhtml_format = outputXHTMLs();
auto m = matchFirst(fn_src, rgx.src_fn);
try {
mkdirRecurse(pth_html.seg(fn_src));
@@ -721,7 +721,7 @@ void seg(C,T)(
auto ref const C contents,
auto ref T doc_matters,
) {
- auto xhtml_format = SDPoutputXHTMLs();
+ auto xhtml_format = outputXHTMLs();
auto rgx = Rgx();
string[][string] doc_html;
string[] doc;
@@ -2356,7 +2356,7 @@ void doc_content(C,T)(
auto ref const C contents,
auto ref T doc_matters,
) {
- auto xhtml_format = SDPoutputXHTMLs();
+ auto xhtml_format = outputXHTMLs();
auto rgx = Rgx();
// string[] toc;
string[][string] doc_epub;
@@ -2551,7 +2551,7 @@ void epub_write_output_files(Fn,FnS,De,Mt,Mic,Ot,Oc)(
mixin SiSUpaths;
auto pth_epub = EpubPaths();
// doc = xhtml_format.scroll_head ~ doc_epub ~ xhtml_format.tail;
- auto xhtml_format = SDPoutputXHTMLs();
+ auto xhtml_format = outputXHTMLs();
try {
mkdirRecurse(pth_epub.doc_meta_inf(fn_src));
mkdirRecurse(pth_epub.doc_oebps_css(fn_src));