aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
Diffstat (limited to 'org')
-rw-r--r--org/ao_abstract_doc_source.org40
-rw-r--r--org/sdp.org19
-rw-r--r--org/sdp_conf.org31
3 files changed, 50 insertions, 40 deletions
diff --git a/org/ao_abstract_doc_source.org b/org/ao_abstract_doc_source.org
index 796d6b2..d8f2637 100644
--- a/org/ao_abstract_doc_source.org
+++ b/org/ao_abstract_doc_source.org
@@ -4507,3 +4507,43 @@ template ObjectSetter() {
}
}
#+END_SRC
+
+* TODO work on
+- bespoke struct for sisu objects to replace JSON strings
+- book index *sort* fix (Aa-Zz instead of A-Za-z)
+- determine what goes in node info
+ - understand collapsed level
+- convert file utf8 for processing from to utf32
+
+- general concepts
+ - ranges
+ - templates
+ - unitest?
+
+|---------------------+------------------------------------------+------------------------+--------|
+| header | sisu /header markup/ | markup | |
+| - metadata | | | |
+| - make instructions | | | |
+|---------------------+------------------------------------------+------------------------+--------|
+| table of contents | markup of headings | (regular content) | output |
+|---------------------+------------------------------------------+------------------------+--------|
+| substantive content | sisu /content markup/ | markup | output |
+| | headings (providing document structure), | (regular content) | |
+| | paragraphs, blocks | | |
+| | blocks (code, poem, group, table) | | |
+|---------------------+------------------------------------------+------------------------+--------|
+| endnotes | markup within substantive content | markup | output |
+| | (extracted from sisu /content markup/) | (from regular content) | |
+|---------------------+------------------------------------------+------------------------+--------|
+| glossary | identify special section | markup | output |
+| | regular /content markup/ | | |
+|---------------------+------------------------------------------+------------------------+--------|
+| bibliography | identify section, | markup (special) | output |
+| | special /bibliography markup/ | | |
+|---------------------+------------------------------------------+------------------------+--------|
+| book index | extracted from markup attached to | markup | output |
+| | related substantive content objects | | |
+| | (special tags in sisu /content markup/) | (from regular content) | |
+|---------------------+------------------------------------------+------------------------+--------|
+| metadata | | (from regular header) | output |
+|---------------------+------------------------------------------+------------------------+--------|
diff --git a/org/sdp.org b/org/sdp.org
index fe66ef3..dc56e8e 100644
--- a/org/sdp.org
+++ b/org/sdp.org
@@ -21,13 +21,14 @@ Take command line instructions and process files as instructed.
** TODO version.txt: set version :version:
#+NAME: version_txt
-#+BEGIN_SRC d
+#+BEGIN_SRC d :tangle ../views/version.txt
+/+ obt - org generated file +/
struct Version {
int major;
int minor;
int patch;
}
-enum ver = Version(1, 0, 0);
+enum ver = Version(0, 4, 0);
#+END_SRC
** pre loop init
@@ -80,13 +81,13 @@ private import
#+BEGIN_SRC d
/+ sdp sisu document parser +/
import
- compile_time_info, // compile_time_info.d
- ao_abstract_doc_source, // ao_abstract_doc_source.d
- ao_defaults, // ao_defaults.d
- ao_read_source_files, // ao_read_source_files.d
- ao_output_debugs, // ao_output_debugs.d
- ao_rgx, // ao_rgx.d
- ao_ansi_colors; // ao_ansi_colors.d
+ compile_time_info, // sdp/compile_time_info.d
+ ao_abstract_doc_source, // sdp/ao_abstract_doc_source.d
+ ao_defaults, // sdp/ao_defaults.d
+ ao_read_source_files, // sdp/ao_read_source_files.d
+ ao_output_debugs, // sdp/ao_output_debugs.d
+ ao_rgx, // sdp/ao_rgx.d
+ ao_ansi_colors; // sdp/ao_ansi_colors.d
// std.conv;
#+END_SRC
diff --git a/org/sdp_conf.org b/org/sdp_conf.org
deleted file mode 100644
index 46c9659..0000000
--- a/org/sdp_conf.org
+++ /dev/null
@@ -1,31 +0,0 @@
-* configuration tangles
-** TODO version.txt: set version :version:
-
-#+BEGIN_SRC d :tangle ../views/version.txt
-/+ obt - org generated file +/
-struct Version {
- int major;
- int minor;
- int patch;
-}
-enum ver = Version(1, 0, 0);
-#+END_SRC
-
-** dub
-*** dub.json :dub:description:
-
-#+BEGIN_SRC json :tangle ../dub.json
-{
- "name": "sdp",
- "targetType": "executable",
- "targetName": "sdp",
- "targetPath": "bin",
- "description": "sisu document parser.",
- "authors": ["Ralph Amissah"],
- "homepage": "http://sisudoc.org",
- "license": "GPL-3.0",
- "add-path": "./src/sdp",
- "dependencies": {
- }
-}
-#+END_SRC