diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2019-11-15 23:58:15 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2019-11-22 09:54:24 -0500 |
commit | 96b03396ddb487816ebd85d1c6f30400019702fc (patch) | |
tree | 4519db10b3f50efa07e5f9f34783c9b7e7eaa114 /src/doc_reform/output/epub3.d | |
parent | org renaming (diff) |
name changes
Diffstat (limited to 'src/doc_reform/output/epub3.d')
-rw-r--r-- | src/doc_reform/output/epub3.d | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/doc_reform/output/epub3.d b/src/doc_reform/output/epub3.d index 2bdb8a9..f46ff6e 100644 --- a/src/doc_reform/output/epub3.d +++ b/src/doc_reform/output/epub3.d @@ -32,7 +32,7 @@ template outputEPub3() { } 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"┃ <?xml version='1.0' encoding='utf-8'?> <package xmlns="http://www.idpf.org/2007/opf" version="2.0" unique-identifier="EPB-UUID"> @@ -221,7 +221,7 @@ template outputEPub3() { <title>%s%s</title> <link rel="stylesheet" href="css/epub.css" type="text/css" id="main-css" /> <meta name="dtb:uid" content="urn:uuid:%s" /> - <!-- <meta name="epub-creator" content="DocReform http://www.jus.uio.no/sisu (this copy)" /> --> + <!-- <meta name="epub-creator" content="spine http://www.jus.uio.no/sisu (this copy)" /> --> <meta name="dtb:depth" content="%s" /> <meta name="dtb:totalPageCount" content="0" /> <meta name="dtb:maxPageNumber" content="0" /> @@ -301,7 +301,7 @@ template outputEPub3() { const D doc_abstraction, I doc_matters, ) { - mixin DocReformOutputRgxInit; + mixin spineOutputRgxInit; auto xhtml_format = outputXHTMLs(); auto rgx = Rgx(); string[] doc; @@ -619,7 +619,7 @@ template outputEPub3() { 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); @@ -774,7 +774,7 @@ template outputEPub3() { } } { /+ 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); |