diff options
Diffstat (limited to 'org/out_odt.org')
| -rw-r--r-- | org/out_odt.org | 30 | 
1 files changed, 15 insertions, 15 deletions
| diff --git a/org/out_odt.org b/org/out_odt.org index 022fdc7..048fd11 100644 --- a/org/out_odt.org +++ b/org/out_odt.org @@ -1,5 +1,5 @@  -*- mode: org -*- -#+TITLE:       doc_reform output odt +#+TITLE:       sisudoc spine (doc_reform) output odt  #+DESCRIPTION: documents - structuring, publishing in multiple formats & search  #+FILETAGS:    :spine:output:xml:odt:  #+AUTHOR:      Ralph Amissah @@ -46,11 +46,11 @@  ** _module template_ :odf:odt:module: -#+HEADER: :tangle "../src/doc_reform/io_out/odt.d" :noweb yes +#+HEADER: :tangle "../src/sisudoc/io_out/odt.d" :noweb yes  #+HEADER: :noweb yes  #+BEGIN_SRC d  <<doc_header_including_copyright_and_license>> -module doc_reform.io_out.odt; +module sisudoc.io_out.odt;  @safe:  template formatODT() {    <<output_imports>> @@ -974,7 +974,7 @@ string table(O,M)(        }      }      if (!exists(pth_odt.base_pth ~ "/index.html")) { -      import doc_reform.io_out.html_snippet; +      import sisudoc.io_out.html_snippet;        mixin htmlSnippet;        auto f = File(pth_odt.base_pth ~"/index.html", "w");        f.writeln(format_html_blank_page_guide_home( @@ -1042,9 +1042,9 @@ void outputODT(D,I)(  #+NAME: output_imports  #+BEGIN_SRC d  import -  doc_reform.io_out, -  doc_reform.io_out.rgx, -  doc_reform.io_out.rgx_xhtml; +  sisudoc.io_out, +  sisudoc.io_out.rgx, +  sisudoc.io_out.rgx_xhtml;  import    std.digest.sha,    std.file, @@ -1053,9 +1053,9 @@ import    std.zip,    std.conv : to;  import -  doc_reform.io_out.create_zip_file, -  doc_reform.io_out.xmls, -  doc_reform.io_out.xmls_css; +  sisudoc.io_out.create_zip_file, +  sisudoc.io_out.xmls, +  sisudoc.io_out.xmls_css;  #+END_SRC  *** make directory tree @@ -1065,7 +1065,7 @@ import  void dirtree(I)(    I   doc_matters,  ) { -  import doc_reform.io_out.paths_output; +  import sisudoc.io_out.paths_output;    auto pth_odt = spinePathsODT!()(doc_matters);    if (doc_matters.opt.action.debug_do) { /+ (dir tree) +/      if (!exists(pth_odt.meta_inf_dir("fs"))) { @@ -1079,7 +1079,7 @@ void dirtree(I)(      pth_odt.base_pth.mkdirRecurse;    }    if (!exists(pth_odt.base_pth ~ "/index.html")) { -    import doc_reform.io_out.html_snippet; +    import sisudoc.io_out.html_snippet;      mixin htmlSnippet;      auto f = File(pth_odt.base_pth ~"/index.html", "w");      f.writeln(format_html_blank_page_guide_home( @@ -2477,7 +2477,7 @@ string odt_body(D,I)(  #+NAME: output_odt_variable_content_xml_12  #+BEGIN_SRC d  string odt_tail() { -  string _odt_tail = format(q"┃<text:p text:style-name="P_normal">spine: <<text:a xl:type="simple" xl:href="https://www.doc_reform.org">www.doc_reform.org</text:a>> and <<text:a xl:type="simple" xl:href="https://www.sisudoc.org">www.sisudoc.org</text:a>></text:p> +  string _odt_tail = format(q"┃<text:p text:style-name="P_normal">spine: <<text:a xl:type="simple" xl:href="https://www.sisudoc.org">www.sisudoc.org</text:a>> and <<text:a xl:type="simple" xl:href="https://www.sisudoc.org">www.sisudoc.org</text:a>></text:p>  </office:text></office:body></office:document-content>┃",);    return _odt_tail;  } @@ -2584,7 +2584,7 @@ void images_cp(M)(    auto ref              M    doc_matters,  ) {    { /+ (copy odt images) +/ -    import doc_reform.io_out.paths_output; +    import sisudoc.io_out.paths_output;      auto pth_odt = spinePathsODT!()(doc_matters);      foreach (image; doc_matters.srcs.image_list) {        auto fn_src_in = doc_matters.src.image_dir_path ~ "/" ~ image; @@ -2608,7 +2608,7 @@ void images_cp(M)(  #+NAME: doc_header_including_copyright_and_license  #+HEADER: :noweb yes  #+BEGIN_SRC emacs-lisp -<<./spine_version_info_and_doc_header_including_copyright_and_license.org:spine_doc_header_including_copyright_and_license()>> +<<./sisudoc_spine_version_info_and_doc_header_including_copyright_and_license.org:spine_doc_header_including_copyright_and_license()>>  #+END_SRC  * __END__ | 
