aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/meta_debugs.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/meta_debugs.org')
-rw-r--r--org/meta_debugs.org39
1 files changed, 27 insertions, 12 deletions
diff --git a/org/meta_debugs.org b/org/meta_debugs.org
index e34a95c..8542a32 100644
--- a/org/meta_debugs.org
+++ b/org/meta_debugs.org
@@ -115,18 +115,18 @@ debug(dumpdoc) {
__FILE__,
__LINE__,
);
- if (key.length > 0) {
- foreach (obj; contents[key]) {
- if (obj.metainfo.is_of_part != "empty") {
- writefln(
- "[%s][%s]\n%s",
- obj.object_number,
- obj.metainfo.is_a,
- obj.text
- );
- }
- }
- }
+ // if (key.length > 0) {
+ // foreach (obj; contents[key]) {
+ // if (obj.metainfo.is_of_part != "empty") {
+ // writefln(
+ // "[%s][%s]\n%s",
+ // obj.object_number,
+ // obj.metainfo.is_a,
+ // obj.text
+ // );
+ // }
+ // }
+ // }
}
#+END_SRC
@@ -362,6 +362,21 @@ debug(toc_nav_dom) {
}
#+END_SRC
+*** decendants
+
+#+name: meta_output_debugs
+#+BEGIN_SRC d
+debug(decendants) {
+ foreach (sect; doc_matters.xml.keys_seq.scroll) {
+ foreach (obj; contents[sect]) {
+ if (obj.metainfo.is_a == "heading") {
+ writeln(obj.metainfo.ocn, " .. ", obj.metainfo.last_decendant_ocn);
+ }
+ }
+ }
+}
+#+END_SRC
+
*** endnotes_section (seg & scroll) :endnotes:
**** endnotes