aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_misc.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-04-28 22:47:10 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-05-20 11:27:26 -0400
commit33d4cd24013c8660c100a0070802a0e9d1211421 (patch)
tree104a4739bbc12a749b9b7a1aef56aec2ef8ec4c7 /org/default_misc.org
parent0.11.0 in_source_files, changed tracking of code blocks (diff)
metaverse, doc structure & blocks, change tracking
Diffstat (limited to 'org/default_misc.org')
-rw-r--r--org/default_misc.org32
1 files changed, 32 insertions, 0 deletions
diff --git a/org/default_misc.org b/org/default_misc.org
index ab7033f..2ba2b8d 100644
--- a/org/default_misc.org
+++ b/org/default_misc.org
@@ -37,6 +37,38 @@ module doc_reform.meta.defaults;
#+NAME: meta_defaults_template_init_flags
#+BEGIN_SRC d
+template spineDocStatus() {
+ @safe static auto status() {
+ struct _e {
+ enum sect {
+ unset,
+ head,
+ toc,
+ substantive,
+ bibliography,
+ glossary,
+ book_index,
+ blurb,
+ }
+ enum block {
+ off,
+ closing,
+ code,
+ poem,
+ block,
+ group,
+ table,
+ quote,
+ }
+ enum ocn {
+ on, // 0 object_number;
+ off, // 1 no object_number;
+ dummy, // 2 no object_number & dummy headings
+ }
+ }
+ return _e();
+ }
+}
template spineRgxDocStructFlags() {
/+ regex flags +/
@safe static int[string] flags_type_init() {