diff options
author | Ralph Amissah <ralph@amissah.com> | 2016-09-17 16:45:36 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:13 -0400 |
commit | aae005b24ce816d89bcda6e72de2cdeadcf7ded0 (patch) | |
tree | 22c25de69d355cfd659026bfa3df21f21a196efe /org/ao_output_debugs.org | |
parent | make header_make available in creating abstract objects (diff) |
heading anchor_tags and cleaning
Diffstat (limited to 'org/ao_output_debugs.org')
-rw-r--r-- | org/ao_output_debugs.org | 32 |
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"], "] ", |