aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_xmls.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-08-05 04:13:53 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit0cdf764398b74a47744763e345b6a5a31e7bee69 (patch)
tree84eb1ab5a6be58a6b8d4ed1971d5620c1e84251c /org/output_xmls.org
parentnaming things (diff)
m_a, composite object, attributes, rename part & an addition
- of_part renamed from use (frontmatter, body, backmatter) - of_section added (toc, body, glossary, bibliography, bookindex, blurb)
Diffstat (limited to 'org/output_xmls.org')
-rw-r--r--org/output_xmls.org12
1 files changed, 6 insertions, 6 deletions
diff --git a/org/output_xmls.org b/org/output_xmls.org
index 19ed021..4050a5e 100644
--- a/org/output_xmls.org
+++ b/org/output_xmls.org
@@ -1309,7 +1309,7 @@ void scroll(D,I)(
foreach (part; doc_matters.keys_seq.scroll) {
foreach (obj; doc_abstraction[part]) {
string _txt = xhtml_format.special_characters(obj, obj.text);
- switch (obj.use) {
+ switch (obj.of_part) {
case "frontmatter": assert(part == "head" || "toc_scroll");
switch (obj.is_of) {
case "para":
@@ -1428,7 +1428,7 @@ void scroll(D,I)(
break;
default:
if ((doc_matters.opt_action["debug"])) {
- writeln(__FILE__, ":", __LINE__, ": ", obj.use);
+ writeln(__FILE__, ":", __LINE__, ": ", obj.of_part);
writeln(__FILE__, ":", __LINE__, ": ", obj.is_a);
writeln(__FILE__, ":", __LINE__, ": ", obj.text);
}
@@ -1561,7 +1561,7 @@ void seg(D,I)(
}
} else {
assert(part == "head" || "toc_seg" || "body" || "endnotes" || "glossary" || "bibliography" || "bookindex_seg" || "blurb" || "tail");
- switch (obj.use) {
+ switch (obj.of_part) {
case "frontmatter": assert(part == "head" || "toc_seg");
switch (obj.is_of) {
case "para":
@@ -1692,7 +1692,7 @@ void seg(D,I)(
break;
default:
if ((doc_matters.opt_action["debug"])) {
- writeln(__FILE__, ":", __LINE__, ": ", obj.use);
+ writeln(__FILE__, ":", __LINE__, ": ", obj.of_part);
}
break;
}
@@ -2206,7 +2206,7 @@ void outputEPub3(D,I)(
}
} else {
assert(part == "head" || "toc_seg" || "body" || "endnotes" || "glossary" || "bibliography" || "bookindex_seg" || "blurb" || "tail");
- switch (obj.use) {
+ switch (obj.of_part) {
case "frontmatter": assert(part == "head" || "toc_seg");
switch (obj.is_of) {
case "para":
@@ -2339,7 +2339,7 @@ void outputEPub3(D,I)(
break;
default:
if ((doc_matters.opt_action["debug"])) {
- writeln(__FILE__, ":", __LINE__, ": ", obj.use);
+ writeln(__FILE__, ":", __LINE__, ": ", obj.of_part);
}
break;
}