aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output/epub3.d
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 /src/sdp/output/epub3.d
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 'src/sdp/output/epub3.d')
-rw-r--r--src/sdp/output/epub3.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdp/output/epub3.d b/src/sdp/output/epub3.d
index 25f25d5..abe8503 100644
--- a/src/sdp/output/epub3.d
+++ b/src/sdp/output/epub3.d
@@ -369,7 +369,7 @@ template outputEPub3() {
}
} 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":
@@ -502,7 +502,7 @@ template outputEPub3() {
break;
default:
if ((doc_matters.opt_action["debug"])) {
- writeln(__FILE__, ":", __LINE__, ": ", obj.use);
+ writeln(__FILE__, ":", __LINE__, ": ", obj.of_part);
}
break;
}