From e95c49b76f4ac7bf72c383ee43a0567dfcbf1603 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 10 Sep 2018 18:15:02 -0400 Subject: 0.1.0 renamed doc-reform, doc_reform (& rad) - from sdp --- org/source_files_read.org | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'org/source_files_read.org') diff --git a/org/source_files_read.org b/org/source_files_read.org index 8f5430a..db066fe 100644 --- a/org/source_files_read.org +++ b/org/source_files_read.org @@ -1,8 +1,8 @@ -#+TITLE: sdp markup source raw +#+TITLE: doc_reform markup source raw +#+DESCRIPTION: documents - structuring, publishing in multiple formats & search +#+FILETAGS: :doc_reform:sourcefile:read: #+AUTHOR: Ralph Amissah #+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] -#+DESCRIPTION: documents - structuring, publishing in multiple formats & search -#+KEYWORDS #+LANGUAGE: en #+STARTUP: indent content #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t @@ -11,31 +11,30 @@ #+PROPERTY: header-args :padline no :exports code :noweb yes #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport -#+FILETAGS: :sdp:rel:meta:read:file -#+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) +#+TAGS: assert(a) class(c) debug(d) mixin(m) doc_reform(s) tangle(T) template(t) WEB(W) noexport(n) -[[./sdp.org][sdp]] [[./][org/]] +[[./doc_reform.org][doc_reform]] [[./][org/]] * imports #+name: imports_std #+BEGIN_SRC d import - sdp.meta, - sdp.source.paths_source, + doc_reform.meta, + doc_reform.source.paths_source, std.file, std.path; #+END_SRC -* A. get _config file_ (read in) :module:sdp:source_read_config_files: +* A. get _config file_ (read in) :module:config_files: ** 0. module template -#+BEGIN_SRC d :tangle ../src/sdp/source/read_config_files.d +#+BEGIN_SRC d :tangle ../src/doc_reform/source/read_config_files.d /++ read configuration files
- read config files
meta_config_files.d +/ -module sdp.source.read_config_files; +module doc_reform.source.read_config_files; <> <> <> @@ -264,19 +263,19 @@ static template configReadDocTOML() { } #+END_SRC -* B. get _markup source_, read file :module:sdp:source_read_source_files: +* B. get _markup source_, read file :module:source_files: ** 0. module template (includes tuple) -#+BEGIN_SRC d :tangle ../src/sdp/source/read_source_files.d +#+BEGIN_SRC d :tangle ../src/doc_reform/source/read_source_files.d /++ module source_read_source_files;
- open markup files
- if master file scan for addional files to import/insert +/ -module sdp.source.read_source_files; +module doc_reform.source.read_source_files; static template SiSUrawMarkupContent() { import - sdp.meta.rgx; + doc_reform.meta.rgx; <> mixin SiSUrgxInit; static auto rgx = Rgx(); @@ -503,7 +502,7 @@ final char[][] getInsertMarkupSourceContentRawLineArray( #+END_SRC ** get markup source, master file & inserts :masterfile:inserts: -[[./sdp.org][sdp]] [[./][org/]] +[[./doc_reform.org][doc_reform]] [[./][org/]] *** scan inserts (sub-document) source :scan_insert_src: **** scan subdoc source @@ -567,9 +566,8 @@ if (type1["curly_code"] == 1) { auto markup_sourcesubfile_insert_content = raw.getInsertMarkupSourceContentRawLineArray(fn_src_insert, rgx.src_fn_find_inserts); debug(insert_file) { - tell_l("red", line); - tell_l("red", fn_src_insert); - tell_l("fuchsia", "ERROR"); + writeln(line); + writeln(fn_src_insert); writeln( " length contents insert array: ", markup_sourcesubfile_insert_content.length @@ -658,8 +656,8 @@ if (type["curly_code"] == 1) { auto markup_sourcefile_insert_content = raw.getInsertMarkupSourceContentRawLineArray(fn_src_insert, rgx.src_fn_find_inserts); debug(insert_file) { - tell_l("red", line); - tell_l("red", fn_src_insert); + writeln(line); + writeln(fn_src_insert); writeln( " length contents insert array: ", markup_sourcefile_insert_content.length -- cgit v1.2.3