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, 28 insertions, 4 deletions
diff --git a/org/ao_output_debugs.org b/org/ao_output_debugs.org
index 4b79a54..86728e1 100644
--- a/org/ao_output_debugs.org
+++ b/org/ao_output_debugs.org
@@ -62,8 +62,7 @@ debug(parent) {
if (obj.use == "content") {
if (obj.is_a == "heading") {
writefln(
- "%s%s node: %s heading: %s %s",
- scr_txt_marker["cyan"],
+ "%s node: %s heading: %s %s",
obj.obj_cite_number,
obj.node,
obj.lev_markup_number,
@@ -319,6 +318,32 @@ debug(biblio) {
#+END_SRC
+** anchor tags
+
+#+name: ao_output_debugs
+#+BEGIN_SRC d
+debug(anchor) {
+ writefln(
+ "%s\n%s:%s",
+ "-------------------------------",
+ __FILE__,
+ __LINE__,
+ );
+ foreach (obj; contents) {
+ if (obj.is_a == "heading") {
+ writefln(
+ "%s~ [%s] %s %s",
+ obj.heading_attrib.lev,
+ obj.obj_cite_number,
+ obj.anchor_tags,
+ // "[", obj["is"], "] ",
+ obj.object
+ );
+ }
+ }
+}
+#+END_SRC
+
** (headings) :headings:
#+name: ao_output_debugs
@@ -398,8 +423,7 @@ debug(headings) {
foreach (obj; contents) {
if (obj.is_a == "heading") {
writefln(
- "%s%s~ [%s] %s",
- scr_txt_marker["yellow"],
+ "%s~ [%s] %s",
obj.heading_attrib.lev,
obj.obj_cite_number,
// "[", obj["is"], "] ",