From 94f56fab73553aae75a9e92a7707c952c1e763fc Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 4 Feb 2022 23:50:19 -0500 Subject: epub, navigation --- org/out_xmls.org | 58 +++++++++++++++++++++++++------------------ src/doc_reform/io_out/epub3.d | 58 +++++++++++++++++++++++++------------------ src/doc_reform/io_out/xmls.d | 1 + 3 files changed, 69 insertions(+), 48 deletions(-) diff --git a/org/out_xmls.org b/org/out_xmls.org index 0e9bafe..a113832 100644 --- a/org/out_xmls.org +++ b/org/out_xmls.org @@ -160,6 +160,7 @@ import .replaceAll(rgx.xhtml_less_than, "<") // "<" .replaceAll(rgx.xhtml_greater_than, ">") // ">" .replaceAll(rgx.br_line, "
") + .replaceAll(rgx.br_newline_inline, "
") .replaceAll(rgx.nbsp_char, " "); return _txt; } @@ -2519,6 +2520,7 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container"> auto markup = InlineMarkup(); static auto rgx = RgxO(); string toc; + bool _new_title_set = false; string toc_head = format(q"┃ @@ -2530,7 +2532,7 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container">

Contents