aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/sdp.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2018-06-13 18:19:46 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:15 -0400
commitf78907dd0dbcfa12698f85a6cebe77f3f5de46e9 (patch)
tree75e4adfd5404caf6b7805c5aedf977d5e3709505 /org/sdp.org
parent0.26.3 object info changes (diff)
object_number, replaces object_cite_number in code
Diffstat (limited to 'org/sdp.org')
-rw-r--r--org/sdp.org26
1 files changed, 13 insertions, 13 deletions
diff --git a/org/sdp.org b/org/sdp.org
index 7a8d86d..15fd5d4 100644
--- a/org/sdp.org
+++ b/org/sdp.org
@@ -940,24 +940,24 @@ auto markup = InlineMarkup();
#+name: meta_metadoc_summary
#+BEGIN_SRC d
string[string] check = [
- "last_obj_cite_number" : "NA [debug \"checkdoc\" not run]",
- "last_obj_cite_number_body" : "0",
- "last_obj_cite_number_bkidx" : "0",
+ "last_object_number" : "NA [debug \"checkdoc\" not run]",
+ "last_object_number_body" : "0",
+ "last_object_number_bkidx" : "0",
];
foreach (k; doc_matters.xml.keys_seq.seg) {
foreach (obj; doc_abstraction[k]) {
if (obj.typeinfo.of_part != "empty") {
- if (!empty(obj.node.obj_cite_number)) {
+ if (!empty(obj.node.object_number)) {
if (k == "body") {
- check["last_obj_cite_number_body"] = obj.node.obj_cite_number;
+ check["last_object_number_body"] = obj.node.object_number;
}
- if (!(obj.node.obj_cite_number.empty)) {
- check["last_obj_cite_number"] = obj.node.obj_cite_number;
+ if (!(obj.node.object_number.empty)) {
+ check["last_object_number"] = obj.node.object_number;
}
}
if (k == "bookindex_seg") {
- if (obj.misc.obj_cite_number_type == 2) {
- check["last_obj_cite_number_bkidx"] = obj.misc.obj_cite_number_bkidx;
+ if (obj.misc.object_number_type == 2) {
+ check["last_object_number_bkidx"] = obj.misc.object_number_bkidx;
}
}
}
@@ -987,9 +987,9 @@ writefln(
"length doc_abstraction arr:",
to!int(doc_abstraction["body"].length),
"last doc body ocn:",
- to!int(check["last_obj_cite_number_body"]),
- "last obj_cite_number:",
- to!int(check["last_obj_cite_number"]),
+ to!int(check["last_object_number_body"]),
+ "last object_number:",
+ to!int(check["last_object_number"]),
"length endnotes:", // subtract headings
(doc_abstraction["endnotes"].length > 2)
? (to!int(doc_abstraction["endnotes"].length - 2))
@@ -1007,7 +1007,7 @@ writefln(
? (to!int(doc_abstraction["bookindex_seg"].length))
: 0,
" last book idx ocn:",
- to!int(check["last_obj_cite_number_bkidx"]),
+ to!int(check["last_object_number_bkidx"]),
"length blurb:",
(doc_abstraction["blurb"].length > 1)
? (to!int(doc_abstraction["blurb"].length))