From 1ed4cb068aaf230e8a01fd7298b302749eca63c7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 27 Jan 2017 10:10:50 -0500 Subject: output, reorganize org file --- org/output.org | 90 ++++++++++++++++++++++++++++------------------------------ 1 file changed, 44 insertions(+), 46 deletions(-) (limited to 'org') 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 { - <> -<> - } -} -#+END_SRC - -*** html - -#+BEGIN_SRC d :tangle ../src/sdp/output_html.d -template outputHTML() { - struct outputHTML { - mixin outputXHTMLs; - <> - <> - <> - <> - } -} -#+END_SRC - -*** epub - -#+BEGIN_SRC d :tangle ../src/sdp/output_epub.d -template outputEPub() { - struct outputEPub { - mixin InternalMarkup; - mixin outputXHTMLs; - <> - <> - <> - <> - <> - } -} -#+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 { + <> +<> + } +} +#+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; + <> + <> + <> + <> + } +} +#+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; + <> + <> + <> + <> + <> + } +} +#+END_SRC + **** epub special files :format: ***** fixed ****** mimetype (file) -- cgit v1.2.3