From 96b03396ddb487816ebd85d1c6f30400019702fc Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 15 Nov 2019 23:58:15 -0500 Subject: name changes --- org/out_xmls.org | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'org/out_xmls.org') diff --git a/org/out_xmls.org b/org/out_xmls.org index ea1af4a..d29a993 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -26,7 +26,7 @@ module doc_reform.output.xmls; template outputXHTMLs() { <> - mixin DocReformOutputRgxInit; + mixin spineOutputRgxInit; struct outputXHTMLs { static auto rgx = Rgx(); <> @@ -169,7 +169,7 @@ string header_metadata(M)( ) { string _publisher="Publisher"; // TODO string o; - o = format(q"┃ + o = format(q"┃ @@ -184,7 +184,7 @@ string header_metadata(M)( -┃", +┃", doc_matters.conf_make_meta.meta.title_full, doc_matters.conf_make_meta.meta.creator_author, _publisher, @@ -241,7 +241,7 @@ string inline_search_form(M)( M doc_matters, ) { string _action="http://www.sisudoc.org/cgi-bin/search.cgi"; - string _db="DocReform.7a.manual"; + string _db="spine.7a.manual"; string o; string _form; if (doc_matters.opt.action.workon) { @@ -1535,7 +1535,7 @@ void scroll(D,M)( const D doc_abstraction, M doc_matters, ) { - mixin DocReformOutputRgxInit; + mixin spineOutputRgxInit; auto xhtml_format = outputXHTMLs(); auto rgx = Rgx(); string[] doc_html; @@ -1744,7 +1744,7 @@ void scroll_write_output(D,M)( debug(asserts) { static assert(is(typeof(doc) == string[])); } - auto pth_html = DocReformPathsHTML!()(doc_matters.output_path, doc_matters.src.language); + auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language); try { if (!exists(pth_html.base)) { pth_html.base.mkdirRecurse; @@ -1771,7 +1771,7 @@ void seg(D,M)( const D doc_abstraction, M doc_matters, ) { - mixin DocReformOutputRgxInit; + mixin spineOutputRgxInit; auto rgx = Rgx(); auto xhtml_format = outputXHTMLs(); string[][string] doc_html; @@ -2076,9 +2076,9 @@ void seg_write_output(D,E,M)( debug(asserts) { static assert(is(typeof(doc_html) == string[][string])); } - mixin DocReformOutputRgxInit; + mixin spineOutputRgxInit; auto rgx = Rgx(); - auto pth_html = DocReformPathsHTML!()(doc_matters.output_path, doc_matters.src.language); + auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language); auto xhtml_format = outputXHTMLs(); auto m = doc_matters.src.filename.matchFirst(rgx.src_fn); try { @@ -2109,8 +2109,8 @@ void seg_write_output(D,E,M)( #+name: output_html_css #+BEGIN_SRC d void css(M)(M doc_matters) { - auto css = DocReformCss(doc_matters); - auto pth_html = DocReformPathsHTML!()(doc_matters.output_path, doc_matters.src.language); + auto css = spineCss(doc_matters); + auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language); try { if (!exists(pth_html.css)) { (pth_html.css).mkdirRecurse; @@ -2134,7 +2134,7 @@ void images_cp(M)( ) { { /+ (copy html images) +/ - auto pth_html = DocReformPathsHTML!()(doc_matters.output_path, doc_matters.src.language); + auto pth_html = spinePathsHTML!()(doc_matters.output_path, doc_matters.src.language); if (!exists(pth_html.image)) { pth_html.image.mkdirRecurse; } @@ -2235,7 +2235,7 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container"> #+BEGIN_SRC d string epub3_oebps_content(D,M,P)(D doc_abstraction, M doc_matters, P parts) { auto xhtml_format = outputXHTMLs(); - auto pth_epub3 = DocReformPathsEPUB!()(doc_matters.output_path, doc_matters.src.language); + auto pth_epub3 = spinePathsEPUB!()(doc_matters.output_path, doc_matters.src.language); string _uuid = "18275d951861c77f78acd05672c9906924c59f18a2e0ba06dad95959693e9bd8"; // TODO sort uuid in doc_matters! string content = format(q"┃ @@ -2441,7 +2441,7 @@ string epub2_oebps_toc_ncx(D,I)(D doc_abstraction, I doc_matters) { %s%s - + @@ -2527,7 +2527,7 @@ void outputEPub3(D,I)( const D doc_abstraction, I doc_matters, ) { - mixin DocReformOutputRgxInit; + mixin spineOutputRgxInit; auto xhtml_format = outputXHTMLs(); auto rgx = Rgx(); string[] doc; @@ -2893,7 +2893,7 @@ void epub3_write_output_files(W,M)( static assert(is(typeof(epub_write.oebps_content_opf) == string)); } static auto rgx = Rgx(); - auto pth_epub3 = DocReformPathsEPUB!()(doc_matters.output_path, doc_matters.src.language); + auto pth_epub3 = spinePathsEPUB!()(doc_matters.output_path, doc_matters.src.language); auto xhtml_format = outputXHTMLs(); /+ zip file +/ auto fn_epub = pth_epub3.epub_file(doc_matters.src.filename); @@ -3048,7 +3048,7 @@ void epub3_write_output_files(W,M)( } } { /+ OEBPS/epub.css +/ - auto css = DocReformCss(doc_matters); + auto css = spineCss(doc_matters); { /+ debug +/ if (doc_matters.opt.action.debug_do) { fn_dbg = pth_epub3.dbg_fn_oebps_css(doc_matters.src.filename); -- cgit v1.2.3