From b7f2764f5e5eb0f3e9fad8e76272756f4219241b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 16 Nov 2016 10:08:35 -0500 Subject: minor reorganise same --- org/ao_output_debugs.org | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'org/ao_output_debugs.org') 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__, ); -- cgit v1.2.3