aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/out_xmls.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2019-12-20 09:19:30 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2020-02-11 13:07:30 -0500
commitcef88dc6ce96abb8fb0db3d8fd723fef3636695d (patch)
tree817659b608c7511d69eaf537f043bf86f7050ccd /org/out_xmls.org
parentlatex, footnotes only (endnotes section removed) (diff)
bugfix toc endnotes links in xmls, other minor
Diffstat (limited to 'org/out_xmls.org')
-rw-r--r--org/out_xmls.org12
1 files changed, 8 insertions, 4 deletions
diff --git a/org/out_xmls.org b/org/out_xmls.org
index 5cbe430..112f294 100644
--- a/org/out_xmls.org
+++ b/org/out_xmls.org
@@ -607,7 +607,7 @@ Tuple!(string, string[]) inline_notes_seg(O,M)(
/+ need markup for text, and separated footnote +/
foreach(m; _txt.matchAll(rgx.inline_notes_al_special_char_note)) {
_endnotes ~= format(
- "%s%s%s%s\n %s%s%s%s%s\n %s\n%s",
+ "%s%s%s%s\n %s%s%s%s%s %s\n%s",
"<p class=\"endnote\">",
"<a href=\"#noteref_",
m.captures[1],
@@ -631,7 +631,7 @@ Tuple!(string, string[]) inline_notes_seg(O,M)(
/+ need markup for text, and separated footnote +/
foreach(m; _txt.matchAll(rgx.inline_notes_al_regular_number_note)) {
_endnotes ~= format(
- "%s%s%s%s\n %s%s%s%s%s\n %s\n%s",
+ "%s%s%s%s\n %s%s%s%s%s %s\n%s",
"<p class=\"endnote\">",
"<a href=\"#noteref_",
m.captures[1],
@@ -960,7 +960,7 @@ string para(O,M)(
assert(obj.metainfo.is_of_part == "body" || "frontmatter" || "backmatter");
assert(obj.metainfo.is_of_section == "body" || "toc" || "endnotes" || "glossary" || "bibliography" || "bookindex" || "blurb");
assert(obj.metainfo.is_of_type == "para");
- assert(obj.metainfo.is_a == "para" || "toc" || "endnotes" || "glossary" || "bibliography" || "bookindex" || "blurb");
+ assert(obj.metainfo.is_a == "para" || "toc" || "endnote" || "glossary" || "bibliography" || "bookindex" || "blurb");
string tags = _xhtml_anchor_tags(obj);
_txt = font_face(_txt);
string o;
@@ -975,7 +975,11 @@ string para(O,M)(
</p>
</div>┃",
obj.metainfo.identifier,
- (doc_matters.opt.action.ocn_off) ? "" : ((obj.metainfo.object_number.empty) ? "" : obj.metainfo.identifier),
+ (doc_matters.opt.action.ocn_off)
+ ? ""
+ : ((obj.metainfo.object_number.empty)
+ ? ""
+ : obj.metainfo.identifier),
obj.metainfo.is_a,
obj.attrib.indent_hang,
obj.attrib.indent_base,