aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/output_xmls.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-05-07 16:07:11 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commite31e98f5cc3c2289ad47198a506d8d03a063512c (patch)
treec954269daebba8549190d1e4a91f4a64ae62664c /org/output_xmls.org
parentcleaning (diff)
0.15.0 named modules
Diffstat (limited to 'org/output_xmls.org')
-rw-r--r--org/output_xmls.org65
1 files changed, 34 insertions, 31 deletions
diff --git a/org/output_xmls.org b/org/output_xmls.org
index 4c6013c..4ee8074 100644
--- a/org/output_xmls.org
+++ b/org/output_xmls.org
@@ -14,11 +14,12 @@
[[./sdp.org][sdp]] [[./][org/]]
[[./output_hub.org][output_hub]]
-* xml offspring (xhtml html epub) :xml:
+* xml offspring (xhtml html epub) :module:sdp:output_xmls:
** format xhtml objects :format:
-*** 0. xhtml common template :template:
+*** 0. module template
#+BEGIN_SRC d :tangle ../src/sdp/output_xmls.d
+module sdp.output_xmls;
template outputXHTMLs() {
<<output_imports>>
mixin SiSUoutputRgxInit;
@@ -57,12 +58,12 @@ private import
std.zip,
std.conv : to;
import
- create_zip_file,
- defaults,
- output_rgx,
- output_xmls,
- output_xmls_css,
- paths_output;
+ sdp.create_zip_file,
+ sdp.defaults,
+ sdp.output_rgx,
+ sdp.output_xmls,
+ sdp.output_xmls_css,
+ sdp.paths_output;
#+END_SRC
*** misc
@@ -1075,10 +1076,11 @@ auto endnote(O)(
}
#+END_SRC
-** _html_ [#A] :html:
-*** template :template:
+* _html_ [#A] :module:sdp:output_html:
+** module template
#+BEGIN_SRC d :tangle ../src/sdp/output_html.d
+module sdp.output_html;
template outputHTML() {
<<output_imports>>
mixin outputXHTMLs;
@@ -1089,8 +1091,8 @@ template outputHTML() {
}
#+END_SRC
-*** scroll :scroll:
-**** switch (sections & objects) format html output
+** scroll :scroll:
+*** switch (sections & objects) format html output
#+name: output_html_scroll
#+BEGIN_SRC d
@@ -1238,7 +1240,7 @@ void scroll(D,I)(
}
#+END_SRC
-**** write output file
+*** write output file
#+name: output_html_scroll
#+BEGIN_SRC d
@@ -1269,8 +1271,8 @@ void scroll_write_output(M,C)(
}
#+END_SRC
-*** seg :seg:
-**** switch (sections & objects) format html output
+** seg :seg:
+*** switch (sections & objects) format html output
#+name: output_html_seg
#+BEGIN_SRC d
@@ -1489,7 +1491,7 @@ void seg(D,I)(
}
#+END_SRC
-**** write output files
+*** write output files
#+name: output_html_seg
#+BEGIN_SRC d
@@ -1530,7 +1532,7 @@ void seg_write_output(M,D,E)(
}
#+END_SRC
-*** css :css:
+** css :css:
#+name: output_html_css
#+BEGIN_SRC d
@@ -1552,7 +1554,7 @@ void css(M)(
}
#+END_SRC
-** _epub_ [#B] :epub:
+* _epub_ [#B] :module:sdp:output_epub3:
|-----------------------+--------------------------+---------------------------+----------------------------------|
| function | filename | module | variable |
@@ -1570,9 +1572,10 @@ void css(M)(
| | | | doc_epub3_endnotes[seg_filename] |
|-----------------------+--------------------------+---------------------------+----------------------------------|
-*** template :template:
+** module template
#+BEGIN_SRC d :tangle ../src/sdp/output_epub3.d
+module sdp.output_epub3;
template outputEPub3() {
<<output_imports>>
mixin InternalMarkup;
@@ -1585,9 +1588,9 @@ template outputEPub3() {
}
#+END_SRC
-*** special (epub) files :format:
-**** DONE static
-***** _identify doc filetype_ (mimetype) [static]
+** special (epub) files :format:
+*** DONE static
+**** _identify doc filetype_ (mimetype) [static]
- mimetype file indicating that zip file contains an EPUB
@@ -1600,7 +1603,7 @@ string epub3_mimetypes() {
}
#+END_SRC
-***** _identify doc root_ (META-INF/container.xml) [static] rootfile: contains document root path
+**** _identify doc root_ (META-INF/container.xml) [static] rootfile: contains document root path
- identifies the root package document (so systems can find it), [unchanged from epub2]
@@ -1619,8 +1622,8 @@ xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
}
#+END_SRC
-**** constructs (in dir: OEBPS)
-***** TODO _doc manifest_ (OEBPS/content.opf) manifest, register content: files, images etc.
+*** constructs (in dir: OEBPS)
+**** TODO _doc manifest_ (OEBPS/content.opf) manifest, register content: files, images etc.
- manifest, listing all resources
- provides the default reading order
@@ -1703,7 +1706,7 @@ string epub3_oebps_content(D,I,P)(D doc_abstraction, I doc_matters, P parts) {
}
#+END_SRC
-***** _doc navigation epub3_ (OEBPS/toc_nav.xhtml) epub3 navigable toc using Dom structure
+**** _doc navigation epub3_ (OEBPS/toc_nav.xhtml) epub3 navigable toc using Dom structure
- toc_nav.xhtml declared as nav file in content.opf (epub3 navigation document)
@@ -1790,7 +1793,7 @@ string epub3_oebps_toc_nav_xhtml(D,I)(D doc_abstraction, I doc_matters) {
}
#+END_SRC
-***** TODO _doc navigation epub2_ (OEBPS/toc.ncx) navigable toc using Dom structure
+**** TODO _doc navigation epub2_ (OEBPS/toc.ncx) navigable toc using Dom structure
- toc.ncx (epub2 navigation document)
- (replaced in epub3 by a declared xhtml nav file, in our case toc_nav.xhtml)
@@ -1884,8 +1887,8 @@ string epub2_oebps_toc_ncx(D,I)(D doc_abstraction, I doc_matters) {
}
#+END_SRC
-*** the document contents :seg:
-**** switch (sections & objects) format epub3 xhtml output
+** the document contents :seg:
+*** switch (sections & objects) format epub3 xhtml output
#+name: output_epub3_xhtml_seg
#+BEGIN_SRC d
@@ -2167,7 +2170,7 @@ void outputEPub3(D,I)(
}
#+END_SRC
-*** write output files
+** write output files
#+name: output_epub3_xhtml_seg
#+BEGIN_SRC d
@@ -2367,7 +2370,7 @@ void epub3_write_output_files(M,D,E,Mt,Mic,Otnx,Otn,Oc)(
}
#+END_SRC
-*** zip debug, read zip archive
+** zip debug, read zip archive
#+name: output_epub3_xhtml_seg
#+BEGIN_SRC d