aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_xmls.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-04-13 13:31:16 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-04-13 13:31:16 -0400
commit294cc379872379aa5263a67a57ce9d800ff2e40d (patch)
tree250e78aa80725a50b623b49dc7ebe7e0831a217e /org/out_xmls.org
parentdoc summary reinstated (org fix) (diff)
epub, minor adjustments
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r--org/out_xmls.org12
1 files changed, 6 insertions, 6 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org
index db7e648..3646132 100644
--- a/org/out_xmls.org
+++ b/org/out_xmls.org
@@ -431,7 +431,7 @@ import
<meta name="generator" content="%s" />
<link rel="generator" href="%s" />
<link rel="shortcut icon" href="../_dr/image/dr.ico" />
- <link rel="stylesheet" href="css/epub.css" type="text/css" id="main-css" />
+ <link rel="stylesheet" href="Styles/epub.css" type="text/css" id="main-css" />
</head>
<body lang="%s">
<a name="top" id="top"></a>┃",
@@ -2293,7 +2293,7 @@ template outputEPub3() {
#+BEGIN_SRC d
@safe string epub3_container_xml() {
string o;
- o = format(q"┃<?xml version='1.0' encoding='utf-8'?>┃") ~ "\n";
+ o = format(q"┃<?xml version="1.0" encoding="UTF-8"?>┃") ~ "\n";
o ~= format(q"┃<container version="1.0"
xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
<rootfiles>
@@ -2317,8 +2317,8 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
auto xhtml_format = outputXHTMLs();
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">
+ string content = format(q"┃ <?xml version="1.0" encoding="UTF-8"?>
+<package version="2.0" xmlns="http://www.idpf.org/2007/opf" unique-identifier="EPB-UUID">
<metadata
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
xmlns:dcterms="https://purl.org/dc/terms/"
@@ -2513,13 +2513,13 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
auto markup = InlineMarkup();
static auto rgx = RgxO();
enum DomTags { none, open, close, close_and_open, open_still, }
- string toc = format(q"┃<?xml version='1.0' encoding='utf-8'?>
+ string toc = format(q"┃<?xml version="1.0" encoding="UTF-8"?>
<ncx xmlns="https://www.daisy.org/z3986/2005/ncx/" version="2005-1">
<head>
<!-- four required metadata items (for all NCX documents,
(including the relaxed constraints of OPS 2.0) -->
<title>%s%s</title>
- <link rel="stylesheet" href="css/epub.css" type="text/css" id="main-css" />
+ <link rel="stylesheet" href="Styles/epub.css" type="text/css" id="main-css" />
<meta name="dtb:uid" content="urn:uuid:%s" />
<meta name="dtb:depth" content="%s" />
<meta name="dtb:totalPageCount" content="0" />