From 0c693b23c4ff8f98a151884a24f150a5ff746dd4 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 16 Oct 2020 19:16:18 -0400 Subject: org mode, unique code-block names & adjust headers - avoid org-mode undefined behavior, provide unique code-block names --- org/default_paths.org | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) (limited to 'org/default_paths.org') diff --git a/org/default_paths.org b/org/default_paths.org index f0881da..5c4e15e 100644 --- a/org/default_paths.org +++ b/org/default_paths.org @@ -7,6 +7,7 @@ #+COPYRIGHT: Copyright (C) 2015 - 2020 Ralph Amissah #+LANGUAGE: en #+STARTUP: content hideblocks hidestars noindent entitiespretty +#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t #+PROPERTY: header-args :exports code #+PROPERTY: header-args+ :noweb yes #+PROPERTY: header-args+ :eval no @@ -35,7 +36,10 @@ import import doc_reform.meta.defaults, doc_reform.meta.rgx; -<> +<> +<> +<> +<> <> <> <> @@ -43,7 +47,7 @@ import ** _manifest_ :manifest: -#+NAME: template_paths_src +#+NAME: template_paths_src_0 #+BEGIN_SRC d template PodManifest() { mixin spineRgxIn; @@ -118,7 +122,7 @@ pod │   └── video └── pod.manifest -#+NAME: template_paths_src +#+NAME: template_paths_src_1 #+BEGIN_SRC d template PathMatters() { mixin spineRgxIn; @@ -466,7 +470,7 @@ template PathMatters() { ** _config_ (dr_document_make & config_local_site) :config: -#+NAME: template_paths_src +#+NAME: template_paths_src_2 #+BEGIN_SRC d template configFilePaths() { mixin spineRgxIn; @@ -639,7 +643,7 @@ filelist for processing [things to ponder] *** manual source -#+NAME: template_paths_src +#+NAME: template_paths_src_3 #+BEGIN_SRC d template spinePathsSRC() { mixin spineRgxIn; @@ -971,13 +975,18 @@ import std.regex, std.stdio; import doc_reform.meta.rgx; -<> +<> +<> <> -<> +<> +<> +<> <> <> <> -<> +<> +<> +<> #+END_SRC ** shared out path, base directory :out: @@ -990,7 +999,7 @@ import doc_reform.meta.rgx; - if pod and file have same name, keep name (makes no sense to repeat pod name) NO dr_markup.sisu_markup should be sisu_markup -#+NAME: template_paths_out +#+NAME: template_paths_out_0 #+BEGIN_SRC d template spineOutPaths() { auto spineOutPaths()( @@ -1048,7 +1057,7 @@ template spineOutPathSQLiteCGI() { ** set -#+NAME: template_paths_out +#+NAME: template_paths_out_1 #+BEGIN_SRC d template spineOutPathsFnPd() { /+ TODO stuff to work out here +/ @@ -1092,7 +1101,7 @@ template spineOutPathsFnPd() { ** _html_ :html: *** relative -#+NAME: template_paths_html +#+NAME: template_paths_html_0 #+BEGIN_SRC d template spineDocRootTreeHTML() { mixin spineRgxIn; @@ -1158,7 +1167,7 @@ template spineDocRootTreeHTML() { *** absolute disk path -#+NAME: template_paths_html +#+NAME: template_paths_html_1 #+BEGIN_SRC d template spinePathsHTML() { mixin spineRgxIn; @@ -1224,7 +1233,7 @@ template spinePathsHTML() { *** urls -#+NAME: template_paths_html +#+NAME: template_paths_html_2 #+BEGIN_SRC d template spineUrlsHTML() { import std.format; @@ -1553,7 +1562,7 @@ template spinePathsLaTeX() { ** _sqlite_ :sqlite: *** discrete -#+NAME: template_paths_sqlite +#+NAME: template_paths_sqlite_0 #+BEGIN_SRC d template spinePathsSQLiteDiscrete() { mixin spineRgxIn; @@ -1585,7 +1594,7 @@ template spinePathsSQLiteDiscrete() { *** TODO collection -#+NAME: template_paths_sqlite +#+NAME: template_paths_sqlite_1 #+BEGIN_SRC d template spinePathsSQLite() { mixin spineRgxIn; @@ -1614,7 +1623,7 @@ template spinePathsSQLite() { *** TODO cgi search form -#+NAME: template_paths_sqlite +#+NAME: template_paths_sqlite_2 #+BEGIN_SRC d template spinePathsSQLiteCGI() { mixin spineRgxIn; -- cgit v1.2.3