From 5f6caf585c7ccaac0a4310987c85fdcfd3bcff3d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 29 Jan 2019 17:00:31 -0500 Subject: =?UTF-8?q?format=20delimiter=20s/=C2=B6/=E2=94=8B/g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/doc_reform/output/epub3.d | 56 +++++++++++++++++++++---------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'src/doc_reform/output/epub3.d') diff --git a/src/doc_reform/output/epub3.d b/src/doc_reform/output/epub3.d index f57229b..97d8427 100644 --- a/src/doc_reform/output/epub3.d +++ b/src/doc_reform/output/epub3.d @@ -16,25 +16,25 @@ template outputEPub3() { mixin outputXHTMLs; string epub3_mimetypes() { string o; - o = format(q"¶application/epub+zip¶") ~ "\n"; + o = format(q"┋application/epub+zip┋") ~ "\n"; return o; } string epub3_container_xml() { string o; - o = format(q"¶¶") ~ "\n"; - o ~= format(q"¶┋") ~ "\n"; + o ~= format(q"┋ - ¶") ~ "\n\n"; + ┋") ~ "\n\n"; return o; } 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); string _uuid = "18275d951861c77f78acd05672c9906924c59f18a2e0ba06dad95959693e9bd8"; // TODO sort uuid in doc_matters! - string content = format(q"¶ + string content = format(q"┋ - ¶", + ┋", _uuid, xhtml_format.special_characters_text(doc_matters.conf_make_meta.meta.title_full), xhtml_format.special_characters_text(doc_matters.conf_make_meta.meta.title_main), @@ -86,8 +86,8 @@ template outputEPub3() { // TODO sort jpg & png content ~= " " ~ "" ~ "\n "; foreach (image; doc_matters.srcs.image_list) { - content ~= format(q"¶ - ¶", + content ~= format(q"┋ + ┋", image.baseName.stripExtension, (pth_epub3.doc_oebps_image(doc_matters.src.filename)).chompPrefix("OEBPS/"), image, @@ -213,7 +213,7 @@ template outputEPub3() { auto markup = InlineMarkup(); auto rgx = Rgx(); enum DomTags { none, open, close, close_and_open, open_still, } - string toc = format(q"¶ + string toc = format(q"┋