aboutsummaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-01-27 10:10:50 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit1ed4cb068aaf230e8a01fd7298b302749eca63c7 (patch)
tree2fff6b472bab8ddeb4d59a03502868ea93871319 /org
parentoutput hub template (diff)
output, reorganize org file
Diffstat (limited to 'org')
-rw-r--r--org/output.org90
1 files changed, 44 insertions, 46 deletions
diff --git a/org/output.org b/org/output.org
index d561f5a..48fea4f 100644
--- a/org/output.org
+++ b/org/output.org
@@ -127,8 +127,9 @@ template outputHub() {
}
#+END_SRC
-** templates output types (file, db)s
-*** sisupod
+* output functions :output:
+** sisupod :sisupod:
+*** sisupod template :template:
#+BEGIN_SRC d :tangle ../src/sdp/source_sisupod.d
template SiSUpod() {
@@ -141,50 +142,6 @@ template SiSUpod() {
}
#+END_SRC
-*** text
-*** xhtml common
-
-#+BEGIN_SRC d :tangle ../src/sdp/output_xhtmls.d
-template outputXHTMLs() {
- struct outputXHTMLs {
- <<xhtml_format_objects>>
-<<xhtml_format_objects_code>>
- }
-}
-#+END_SRC
-
-*** html
-
-#+BEGIN_SRC d :tangle ../src/sdp/output_html.d
-template outputHTML() {
- struct outputHTML {
- mixin outputXHTMLs;
- <<output_html>>
- <<output_html_scroll>>
- <<output_html_seg>>
- <<output_html_css>>
- }
-}
-#+END_SRC
-
-*** epub
-
-#+BEGIN_SRC d :tangle ../src/sdp/output_epub.d
-template outputEPub() {
- struct outputEPub {
- mixin InternalMarkup;
- mixin outputXHTMLs;
- <<output_epub_fixed>>
- <<output_epub_constructs>>
- <<output_epub_xhtml>>
- <<output_epub_xhtml_seg>>
- <<output_epub_css>>
- }
-}
-#+END_SRC
-
-* output functions :output:
-** sisupod :sisupod:
*** TODO output files
#+name: source_sisupod_config
@@ -234,6 +191,17 @@ void sisupod_assemble(S)(
** text [#C] :text:
** xml offspring (xhtml html epub)
*** format xhtml objects :format:
+**** xhtml common template :template:
+
+#+BEGIN_SRC d :tangle ../src/sdp/output_xhtmls.d
+template outputXHTMLs() {
+ struct outputXHTMLs {
+ <<xhtml_format_objects>>
+<<xhtml_format_objects_code>>
+ }
+}
+#+END_SRC
+
**** misc
***** anchor tags
@@ -558,6 +526,20 @@ auto endnote(O)(
#+END_SRC
*** html output [#A] :html:
+**** html template :template:
+
+#+BEGIN_SRC d :tangle ../src/sdp/output_html.d
+template outputHTML() {
+ struct outputHTML {
+ mixin outputXHTMLs;
+ <<output_html>>
+ <<output_html_scroll>>
+ <<output_html_seg>>
+ <<output_html_css>>
+ }
+}
+#+END_SRC
+
**** scroll :scroll:
***** output file
@@ -2203,6 +2185,22 @@ auto css_write() {
#+END_SRC
*** epub [#B] :epub:
+**** epub template :template:
+
+#+BEGIN_SRC d :tangle ../src/sdp/output_epub.d
+template outputEPub() {
+ struct outputEPub {
+ mixin InternalMarkup;
+ mixin outputXHTMLs;
+ <<output_epub_fixed>>
+ <<output_epub_constructs>>
+ <<output_epub_xhtml>>
+ <<output_epub_xhtml_seg>>
+ <<output_epub_css>>
+ }
+}
+#+END_SRC
+
**** epub special files :format:
***** fixed
****** mimetype (file)