diff options
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>> |