From 0ce4e986fcd5af430d9f7bfdd625da7a58a1527e Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 4 Feb 2020 17:10:57 -0500 Subject: imports related, mostly cosmetic --- org/out_xmls.org | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'org/out_xmls.org') 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() { - <> + <> 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() { - <> + <> mixin outputXHTMLs; <> <> @@ -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() { - <> + <> mixin InternalMarkup; mixin outputXHTMLs; <> -- cgit v1.2.3