aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_output_debugs.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-06-14 22:52:15 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-04 14:48:15 -0400
commit0245c394af1a4a1400f87916bd10c398005f40da (patch)
tree716c1bf10b055740e417d2d9c7283f04d94dc246 /org/ao_output_debugs.org
parentconfig rearranged, more put in maker.org (diff)
step4 some additional work
Diffstat (limited to 'org/ao_output_debugs.org')
-rw-r--r--org/ao_output_debugs.org48
1 files changed, 24 insertions, 24 deletions
diff --git a/org/ao_output_debugs.org b/org/ao_output_debugs.org
index 51054b7..6f6a6c8 100644
--- a/org/ao_output_debugs.org
+++ b/org/ao_output_debugs.org
@@ -93,19 +93,19 @@ debug(headermakejson) {
writefln(
"%s\n%s\n%s",
"document header, metadata & make instructions:",
- dochead,
+ dochead_meta,
pointer_head_main,
);
foreach (main_header; pointer_head_main) {
switch (main_header) {
case "make":
foreach (sub_header; pointer_head_sub_make) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
@@ -123,115 +123,115 @@ debug(headermetadatajson) {
writefln(
"%s\n%s\n%s",
"document header, metadata & make instructions:",
- dochead,
+ dochead_meta,
pointer_head_main,
);
foreach (main_header; pointer_head_main) {
switch (main_header) {
case "creator":
foreach (sub_header; pointer_head_sub_creator) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
break;
case "title":
foreach (sub_header; pointer_head_sub_title) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
break;
case "rights":
foreach (sub_header; pointer_head_sub_rights) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
break;
case "date":
foreach (sub_header; pointer_head_sub_date) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
break;
case "original":
foreach (sub_header; pointer_head_sub_original) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
break;
case "classify":
foreach (sub_header; pointer_head_sub_classify) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
break;
case "identifier":
foreach (sub_header; pointer_head_sub_identifier) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
break;
case "notes":
foreach (sub_header; pointer_head_sub_notes) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
break;
case "publisher":
foreach (sub_header; pointer_head_sub_publisher) {
- if (to!string(dochead[main_header][sub_header]).length > 2) {
+ if (to!string(dochead_meta[main_header][sub_header]).length > 2) {
writefln(
"%s:%s: %s",
main_header,
sub_header,
- dochead[main_header][sub_header]
+ dochead_meta[main_header][sub_header]
);
}
}
@@ -458,10 +458,10 @@ template SiSUoutputDebugs() {
struct SDPoutputDebugs {
auto abstract_doc_source_debugs(S)(
auto ref const S contents,
- JSONValue[string] docmake,
- JSONValue[string] dochead,
string[][string][string] bookindex_unordered_hashes,
JSONValue[] biblio,
+ JSONValue[string] dochead_make,
+ JSONValue[string] dochead_meta,
string fn_src,
bool[string] opt_action_bool
) {