diff options
Diffstat (limited to 'org/meta_debugs.org')
-rw-r--r-- | org/meta_debugs.org | 79 |
1 files changed, 39 insertions, 40 deletions
diff --git a/org/meta_debugs.org b/org/meta_debugs.org index f17c363..71c3d55 100644 --- a/org/meta_debugs.org +++ b/org/meta_debugs.org @@ -4,16 +4,15 @@ #+FILETAGS: :spine:debugs: #+AUTHOR: Ralph Amissah #+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] -#+COPYRIGHT: Copyright (C) 2015 - 2019 Ralph Amissah +#+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah #+LANGUAGE: en -#+STARTUP: indent content hideblocks hidestars -#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t -#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc -#+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+PROPERTY: header-args :padline no :exports code :cache no :noweb yes -#+EXPORT_SELECT_TAGS: export -#+EXPORT_EXCLUDE_TAGS: noexport -#+TAGS: assert(a) class(c) debug(d) mixin(m) spine(s) tangle(T) template(t) WEB(W) noexport(n) +#+STARTUP: content hideblocks hidestars noindent entitiespretty +#+PROPERTY: header-args :exports code +#+PROPERTY: header-args+ :noweb yes +#+PROPERTY: header-args+ :eval no +#+PROPERTY: header-args+ :results no +#+PROPERTY: header-args+ :cache no +#+PROPERTY: header-args+ :padline no [[./spine.org][spine]] [[./][org/]] * 1. abstraction debugs :module:spine:meta_doc_debugs: @@ -46,7 +45,7 @@ template spineDebugs() { ** imports -#+name: debug_imports +#+NAME: debug_imports #+BEGIN_SRC d import doc_reform.meta.defaults, @@ -70,7 +69,7 @@ import ** initialize :report: -#+name: initialize +#+NAME: initialize #+BEGIN_SRC d static auto rgx = Rgx(); auto markup = InlineMarkup(); @@ -79,7 +78,7 @@ string key; ** (parent) :parent: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(parent) { writefln( @@ -107,7 +106,7 @@ debug(parent) { ** (dumpdoc) :objects: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(dumpdoc) { writefln( @@ -120,7 +119,7 @@ debug(dumpdoc) { ** (segnames) :objects: -#+name: meta_output_debugs_checkdoc +#+NAME: meta_output_debugs_checkdoc #+BEGIN_SRC d debug(checkdoc) { void out_segnames(S,T)( @@ -143,7 +142,7 @@ debug(checkdoc) { ** shared output section arrange *** out toc -#+name: meta_output_debugs_checkdoc +#+NAME: meta_output_debugs_checkdoc #+BEGIN_SRC d debug(checkdoc) { void out_toc(S)( @@ -167,7 +166,7 @@ debug(checkdoc) { *** out endnotes :endnotes: -#+name: meta_output_debugs_checkdoc +#+NAME: meta_output_debugs_checkdoc #+BEGIN_SRC d debug(checkdoc) { void out_endnotes(S)( @@ -189,7 +188,7 @@ debug(checkdoc) { *** out bookindex :bookindex: -#+name: meta_output_debugs_checkdoc +#+NAME: meta_output_debugs_checkdoc #+BEGIN_SRC d debug(checkdoc) { void out_bookindex(S)( @@ -213,7 +212,7 @@ debug(checkdoc) { ** sections *** heading_section :heading: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_head) { key="head"; @@ -233,7 +232,7 @@ debug(section_head) { *** toc_section (seg & scroll) **** toc -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_toc) { key="toc"; @@ -243,7 +242,7 @@ debug(section_toc) { **** toc seg -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_toc) { key="toc"; @@ -253,7 +252,7 @@ debug(section_toc) { **** toc scroll -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_toc) { key="toc"; @@ -263,7 +262,7 @@ debug(section_toc) { *** body_section :body: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_body) { key="body"; @@ -282,7 +281,7 @@ debug(section_body) { *** dom structure :body: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(toc_nav_dom) { enum DomTags { none, open, close, close_and_open, open_still, } @@ -344,7 +343,7 @@ debug(toc_nav_dom) { *** decendants -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(decendants) { foreach (sect; doc_matters.has.keys_seq.scroll) { @@ -360,7 +359,7 @@ debug(decendants) { *** endnotes_section (seg & scroll) :endnotes: **** endnotes -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_endnotes) { key="endnotes"; @@ -370,7 +369,7 @@ debug(section_endnotes) { **** endnotes seg -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_endnotes_seg) { key="endnotes"; @@ -380,7 +379,7 @@ debug(section_endnotes_seg) { *** glossary_section :glossary: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_glossary) { key="glossary"; @@ -399,7 +398,7 @@ debug(section_glossary) { *** bibliography_section (seg & scroll) :bibliography: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_bibliography) { key="bibliography"; @@ -419,7 +418,7 @@ debug(section_bibliography) { *** bookindex_section (seg & scroll) :bookindex: **** bookindex -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_bookindex) { key="bookindex"; @@ -429,7 +428,7 @@ debug(section_bookindex) { **** bookindex seg -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_bookindex) { key="bookindex"; @@ -439,7 +438,7 @@ debug(section_bookindex) { **** bookindex scroll -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(section_bookindex_scroll) { key="bookindex_scroll"; @@ -449,7 +448,7 @@ debug(section_bookindex_scroll) { *** section_blurb :blurb: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(blurb_section) { key="blurb"; @@ -468,7 +467,7 @@ debug(blurb_section) { ** (objects) :objects: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(objects) { writefln( @@ -491,7 +490,7 @@ debug(objects) { ** (headermakejson) :json:header: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(headermakejson) { writefln( @@ -523,7 +522,7 @@ debug(headermakejson) { ** (headermetadatajson) :json:header: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(headermetadatajson) { writefln( @@ -651,7 +650,7 @@ debug(headermetadatajson) { ** anchor tags -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(anchor) { writefln( @@ -677,7 +676,7 @@ debug(anchor) { ** (headings) :headings: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(heading) { // heading foreach (k; doc_matters.has.keys_seq.seg) { @@ -698,7 +697,7 @@ debug(heading) { // heading ** (summary) [+1] :summary: -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(headings) { writefln( @@ -721,7 +720,7 @@ debug(headings) { } #+END_SRC -#+name: meta_output_debugs +#+NAME: meta_output_debugs #+BEGIN_SRC d debug(summary) { string[string] check = [ @@ -732,7 +731,7 @@ debug(summary) { *** compare number of object_number for known sisu markup output (checkdoc) -#+name: meta_output_debugs_summary +#+NAME: meta_output_debugs_summary #+BEGIN_SRC d debug(checkdoc) { if (auto mfn=match(doc_matters.src.filename, rgx.src_fn)) { |