diff options
author | Ralph Amissah <ralph@amissah.com> | 2020-02-04 17:10:57 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2020-02-26 09:59:18 -0500 |
commit | 0ce4e986fcd5af430d9f7bfdd625da7a58a1527e (patch) | |
tree | fdc5efbe568b60af7dd8e8ac4f828b4705ad3765 /org/out_xmls.org | |
parent | code ctRegex calls, tidying (diff) |
imports related, mostly cosmetic
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r-- | org/out_xmls.org | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org index 9f51e84..c76d6ab 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -24,7 +24,7 @@ #+BEGIN_SRC d :tangle "../src/doc_reform/io_out/xmls.d" module doc_reform.io_out.xmls; template outputXHTMLs() { - <<output_imports>> + <<output_imports_xml>> mixin spineRgxOut; struct outputXHTMLs { static auto rgx = RgxO(); @@ -35,18 +35,34 @@ template outputXHTMLs() { #+END_SRC *** output imports +**** xml html -#+NAME: output_imports +#+NAME: output_imports_xml +#+BEGIN_SRC d +import + std.file, + std.outbuffer, + std.uri, + std.conv : to; +import + doc_reform.io_out, + doc_reform.io_out.create_zip_file, + doc_reform.io_out.xmls, + doc_reform.io_out.xmls_css; +#+END_SRC + +**** epub3 + +#+NAME: output_imports_epub #+BEGIN_SRC d -import doc_reform.io_out; import - std.digest.sha, std.file, std.outbuffer, std.uri, std.zip, std.conv : to; import + doc_reform.io_out, doc_reform.io_out.create_zip_file, doc_reform.io_out.xmls, doc_reform.io_out.xmls_css; @@ -1508,7 +1524,7 @@ align="left|right|center" #+BEGIN_SRC d :tangle "../src/doc_reform/io_out/html.d" module doc_reform.io_out.html; template outputHTML() { - <<output_imports>> + <<output_imports_xml>> mixin outputXHTMLs; <<output_html_scroll>> <<output_html_seg>> @@ -2170,7 +2186,7 @@ template outputHTML() { #+BEGIN_SRC d :tangle "../src/doc_reform/io_out/epub3.d" module doc_reform.io_out.epub3; template outputEPub3() { - <<output_imports>> + <<output_imports_epub>> mixin InternalMarkup; mixin outputXHTMLs; <<output_epub3_fixed>> |