aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_debugs.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-04-12 15:23:23 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commitda0f051e1aced4fa1fd5cd13c0548279bf04b2a0 (patch)
tree3c74421c4ce35e28e93512eb01606219e37e0dfb /org/ao_debugs.org
parentstart work on block outputs (diff)
0.13.9 sisupod & epub3, zipped output
Diffstat (limited to 'org/ao_debugs.org')
-rw-r--r--org/ao_debugs.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/org/ao_debugs.org b/org/ao_debugs.org
index c35ff2e..39fdbac 100644
--- a/org/ao_debugs.org
+++ b/org/ao_debugs.org
@@ -301,7 +301,7 @@ debug(section_body) {
#+name: ao_output_debugs
#+BEGIN_SRC d
-debug(dom) {
+debug(toc_nav_dom) {
enum DomTags { none, open, close, close_and_open, open_still, }
foreach (sect; doc_matters.keys_seq_seg) {
foreach (obj; contents[sect]) {
@@ -313,10 +313,10 @@ debug(dom) {
break;
case DomTags.close_and_open :
writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
- writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text);
+ writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text, " file: ", obj.segment_anchor_tag, ".xhtml#", obj.ocn);
break;
case DomTags.open :
- writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text);
+ writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text, " file: ", obj.segment_anchor_tag, ".xhtml#", obj.ocn);
break;
default :
break;
@@ -336,10 +336,10 @@ debug(dom) {
break;
case DomTags.close_and_open :
writeln(markup.indent_by_spaces_provided(k), "</", k, ">");
- writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text);
+ writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text, " file: ", obj.segment_anchor_tag, ".xhtml#", obj.ocn);
break;
case DomTags.open :
- writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text);
+ writeln(markup.indent_by_spaces_provided(k), "<", k, ">", obj.text, " file: ", obj.segment_anchor_tag, ".xhtml#", obj.ocn);
break;
default :
break;