aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/meta_abstraction.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2018-12-01 19:26:04 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2019-05-17 16:59:38 -0400
commitd0ec46764b6aa5fecf55760dc177c53411fcc735 (patch)
tree3d1217253edaaeccf0b45222596f6139d88ca557 /org/meta_abstraction.org
parentjson type match, fix breakage caused by external change (diff)
0.3.3 org mode behavior
Diffstat (limited to 'org/meta_abstraction.org')
-rw-r--r--org/meta_abstraction.org16
1 files changed, 9 insertions, 7 deletions
diff --git a/org/meta_abstraction.org b/org/meta_abstraction.org
index 92cab2d..8b8fe79 100644
--- a/org/meta_abstraction.org
+++ b/org/meta_abstraction.org
@@ -4,11 +4,11 @@
#+AUTHOR: Ralph Amissah
#+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]]
#+LANGUAGE: en
-#+STARTUP: indent content
+#+STARTUP: indent content hideblocks hidestars
#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t
#+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc
#+OPTIONS: author:nil email:nil creator:nil timestamp:nil
-#+PROPERTY: header-args :padline no :exports code :noweb yes
+#+PROPERTY: header-args :padline no :exports code :cache no :noweb yes
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+TAGS: assert(a) class(c) debug(d) mixin(m) doc_reform(s) tangle(T) template(t) WEB(W) noexport(n)
@@ -20,7 +20,7 @@ Process markup document, create document abstraction.
** 0. module template :module:metadoc_from_src:
-#+BEGIN_SRC d :tangle ../src/doc_reform/meta/metadoc_from_src.d
+#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc_from_src.d"
/++
document abstraction:
abstraction of sisu markup for downstream processing
@@ -4963,8 +4963,10 @@ auto table_instructions(O,H)(
table_object.has.inline_notes_star = false;
table_object.has.inline_links = false;
if (auto m = table_head.matchFirst(rgx.table_head_instructions)) {
- table_object.table.heading = ((m["c_heading"].length > 0) && (m["c_heading"] == "h")) ? true : false;
- table_object.table.number_of_columns = ((m["c_num"].length > 0) && (m["c_num"].to!int > 0)) ? m["c_num"].to!int : 0; // double check, may be obsolete
+ table_object.table.heading
+ = ((m["c_heading"].length > 0) && (m["c_heading"] == "h")) ? true : false;
+ table_object.table.number_of_columns
+ = ((m["c_num"].length > 0) && (m["c_num"].to!int > 0)) ? m["c_num"].to!int : 0;
foreach (cw; m["c_widths"].matchAll(rgx.table_col_widths)) {
auto x = cw.hit.matchFirst(rgx.table_col_widths_and_alignment);
table_object.table.column_widths ~= x["width"].to!int;
@@ -5060,7 +5062,7 @@ auto table_array_munge(O,T)(
}
if (table_object.table.number_of_columns == 0
&& table_object.table.column_widths.length > 0) {
- writeln(__LINE__, " ERROR");
+ writeln(__LINE__, " ERROR");
}
if (table_object.table.number_of_columns > 0
&& table_object.table.column_widths.length == 0) {
@@ -7759,7 +7761,7 @@ set abstracted objects for downstream processing
** 0. module template
-#+BEGIN_SRC d :tangle ../src/doc_reform/meta/object_setter.d
+#+BEGIN_SRC d :tangle "../src/doc_reform/meta/object_setter.d"
/++
object setter:
setting of sisu objects for downstream processing