aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/sdp.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-05-01 18:46:11 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commita9a46fca7397aaa357bfdc2b98e181617bb6887b (patch)
tree4a3c214b8139204cdb4cce723f14da7bd34a939f /org/sdp.org
parentxml family, special characters, deal with once (diff)
xmls work particularly with epub output
Diffstat (limited to 'org/sdp.org')
-rw-r--r--org/sdp.org9
1 files changed, 7 insertions, 2 deletions
diff --git a/org/sdp.org b/org/sdp.org
index f6c26f2..0817dfd 100644
--- a/org/sdp.org
+++ b/org/sdp.org
@@ -451,7 +451,7 @@ template SiSUabstraction() {
<<sdp_mixin>>
enum headBody { header, body_content, insert_filelist }
enum makeMeta { make, meta }
- enum docAbst { doc_abstraction, section_keys, segnames, images }
+ enum docAbst { doc_abstraction, section_keys, segnames, segnames_0_4, images }
auto rgx = Rgx();
auto SiSUabstraction(Fn,O,E)(Fn fn_src, O opts, E env){
<<sdp_conf_files>>
@@ -540,10 +540,11 @@ auto da = SiSUdocAbstraction!()(
opts
);
static assert(!isTypeTuple!(da));
-static assert(da.length==4);
+static assert(da.length==5);
auto doc_abstraction = da[docAbst.doc_abstraction]; // head ~ toc ~ body ~ endnotes_seg ~ glossary ~ bibliography ~ bookindex ~blurb;
auto _document_section_keys_sequenced = da[docAbst.section_keys];
string[] _doc_html_segnames = da[docAbst.segnames];
+string[] _doc_epub_segnames_0_4 = da[docAbst.segnames_0_4];
auto _images = da[docAbst.images];
#+END_SRC
@@ -564,6 +565,10 @@ struct DocumentMatters {
string[] _k = _doc_html_segnames;
return _k;
}
+ string[] segnames_lv_0_to_4() {
+ string[] _k = _doc_epub_segnames_0_4;
+ return _k;
+ }
auto dochead_make() {
string[string][string] _k = _make_and_meta[makeMeta.make];
return _k;