aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/sdp.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/sdp.org')
-rw-r--r--org/sdp.org24
1 files changed, 15 insertions, 9 deletions
diff --git a/org/sdp.org b/org/sdp.org
index 19ec705..f6c26f2 100644
--- a/org/sdp.org
+++ b/org/sdp.org
@@ -23,7 +23,7 @@ struct Version {
int minor;
int patch;
}
-enum ver = Version(0, 13, 9);
+enum ver = Version(0, 14, 0);
#+END_SRC
* 1. sdp (sisu document parser) :sdp:
@@ -98,7 +98,8 @@ import
ao_read_config_files,
ao_read_source_files,
ao_rgx,
- output_hub;
+ output_hub,
+ paths_source;
#+END_SRC
****** notes
@@ -406,7 +407,7 @@ if ((doc_matters.opt_action_bool["debug"])
#+END_SRC
**** 2. _process outputs_ :outputs:
-- [[./output.org][output]]
+- [[./output_hub.org][output_hub]]
#+NAME: sdp_each_file_do_selected_output
#+BEGIN_SRC d
@@ -515,19 +516,19 @@ static assert(!isTypeTuple!(_make_and_meta));
static assert(_make_and_meta.length==2);
#+END_SRC
-** 3. _document abstraction, tuple_ (pre-processing) :processing:
-- [[./ao_abstract_doc_source.org][ao_abstract_doc_source]]
+** 3. _document abstraction, tuple_ (pre-output-processing) :processing:
+- [[./ao_doc_abstraction.org][ao_doc_abstraction]]
- prepare the document abstraction used in downstream processing
- return tuple of:
- - document abstraction (the_document or doc_abstraction)
+ - document abstraction (_the_document_ or doc_abstraction)
- document abstraction keys
- (head, toc, body, endnotes, glossary, bibliography, bookindex, blurb,
tail)
- - (passed in doc_matters)
- - segnames for html epub (passed in doc_matters)
- - image list (passed in doc_matters)
+ - (transfer to _doc_matters_)
+ - segnames for html epub (transfer to _doc_matters_)
+ - image list (transfer to _doc_matters_)
#+NAME: sdp_each_file_do_document_abstraction
#+BEGIN_SRC d
@@ -571,6 +572,11 @@ struct DocumentMatters {
string[string][string] _k = _make_and_meta[makeMeta.meta];
return _k;
}
+ auto src_path_info() {
+ string _pwd = env["pwd"];
+ auto _k = SiSUpathsSRC!()(_pwd, fn_src);
+ return _k;
+ }
auto source_filename() {
string _k = fn_src;
return _k;