aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_output_debugs.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/ao_output_debugs.org')
-rw-r--r--org/ao_output_debugs.org32
1 files changed, 23 insertions, 9 deletions
diff --git a/org/ao_output_debugs.org b/org/ao_output_debugs.org
index 67f35ae..5349200 100644
--- a/org/ao_output_debugs.org
+++ b/org/ao_output_debugs.org
@@ -718,24 +718,38 @@ debug(checkdoc) {
#+name: ao_output_debugs_summary
#+BEGIN_SRC d
writefln(
- "%s\n\"%s\", %s\n%s\n%s\n%s%s\n%s%s\n%s%s\n%s%s\n%s%s\n%s%s\n%s:%s\n",
- "-------------------------------",
+ "%s\n\"%s\", %s\n%s\n%s\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n%s%10d\n(%s: %s)",
+ "---------------------------------",
dochead_meta["title"]["full"],
dochead_meta["creator"]["author"],
- "-------------------------------",
fn_src,
+ "---------------------------------",
+ "length toc array: ",
+ to!int(contents["toc_seg"].length),
"length contents array: ",
- contents["body"].length,
+ to!int(contents["body"].length),
"last obj_cite_number: ",
- check["last_obj_cite_number"],
+ to!int(check["last_obj_cite_number"]),
+ "length endnotes: ",
+ (contents["endnotes_seg"].length > 1)
+ ? (to!int(contents["endnotes_seg"].length))
+ : 0,
"length glossary: ",
- contents["glossary"].length,
+ (contents["glossary"].length > 1)
+ ? (to!int(contents["glossary"].length))
+ : 0,
"length biblio: ",
- contents["bibliography"].length,
+ (contents["bibliography"].length > 1)
+ ? (to!int(contents["bibliography"].length))
+ : 0,
"length bookindex: ",
- contents["bookindex_seg"].length,
+ (contents["bookindex_seg"].length > 1)
+ ? (to!int(contents["bookindex_seg"].length))
+ : 0,
"length blurb: ",
- contents["blurb"].length,
+ (contents["blurb"].length > 1)
+ ? (to!int(contents["blurb"].length))
+ : 0,
__FILE__,
__LINE__,
);