aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/defaults.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v2/defaults.rb')
-rw-r--r--lib/sisu/v2/defaults.rb77
1 files changed, 48 insertions, 29 deletions
diff --git a/lib/sisu/v2/defaults.rb b/lib/sisu/v2/defaults.rb
index 020563e3..188b1869 100644
--- a/lib/sisu/v2/defaults.rb
+++ b/lib/sisu/v2/defaults.rb
@@ -124,6 +124,8 @@ module SiSU_Viz
end
def js_prev
end
+ def js_plaintext
+ end
def js_portrait
end
def js_landscape
@@ -337,10 +339,10 @@ module SiSU_Viz
#% text #changed from txt to avoid naming conflicts #FOLLOW
def txt_generator
%{ <meta name="generator" content="#{@v[:project]} #{@v[:version]} of #{@v[:date_stamp]} (#{@v[:date]}) (n*x and Ruby!)" />
- <link rel="generator" href="http://www.sisudoc.org/sisu" />}
+ <link rel="generator" href="http://www.sisudoc.org/" />}
end
def txt_generator_comment
- %{ <!- #{@v[:project]} #{@v[:version]} of #{@v[:date_stamp]} (#{@v[:date]}) (n*x and Ruby!)" http://www.sisudoc.org/sisu ->}
+ %{ <!- #{@v[:project]} #{@v[:version]} of #{@v[:date_stamp]} (#{@v[:date]}) (n*x and Ruby!)" http://www.sisudoc.org/ ->}
end
def txt_hp
'&nbsp;SiSU'
@@ -359,29 +361,29 @@ module SiSU_Viz
URI.parse(uri)
end
def url_sisu
- 'http://www.sisudoc.org/sisu'
+ 'http://www.sisudoc.org/'
end
def url_sisudoc
'http://www.sisudoc.org'
end
def url_footer_signature
- 'http://www.sisudoc.org/sisu'
+ 'http://www.sisudoc.org/'
end
def url_root
'/sisu' #watch
end
def url_root_http
- 'http://www.sisudoc.org/sisu' #watch
+ 'http://www.sisudoc.org/' #watch
end
def url_home
- 'http://www.sisudoc.org/sisu' # used in pdf header
+ 'http://www.sisudoc.org/' # used in pdf header
end
def url_site #used as stub... where there are subdirectories and is different from home
url_home
- #'http://www.sisudoc.org/sisu' # used in pdf header
+ #'http://www.sisudoc.org/' # used in pdf header
end
def url_txt
- 'www.sisudoc.org/sisu'
+ 'www.sisudoc.org/'
end
def url_path_image_base #used for html image display
'../_sisu/image'
@@ -1112,12 +1114,12 @@ module SiSU_Viz
end
def nav_txt_homepage
%{ <font face="#{font_fonts}" size="2">
- #{png_site}&nbsp;homepage&nbsp;
+ &nbsp;home&nbsp;
</font> }
end
def nav_txt_toc_link
%{ <font face="#{font_fonts}" size="2">
- #{png_toc}&nbsp;&nbsp;toc&nbsp;
+ &nbsp;&nbsp;toc&nbsp;
</font> }
end
def nav_txt_toc_link_verbose
@@ -1127,7 +1129,7 @@ module SiSU_Viz
end
def nav_txt_doc_link
%{ <font face="#{font_fonts}" size="2">
- #{png_doc}&nbsp;scroll&nbsp;
+ &nbsp;scroll&nbsp;
</font> }
end
def nav_txt_manifest
@@ -1151,9 +1153,14 @@ module SiSU_Viz
&nbsp;&nbsp;Next&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>&gt;&gt;</b>&nbsp;&nbsp;
</font> }
end
+ def nav_txt_plaintext
+ %{ <font face="#{font_fonts}" size="2">
+ &nbsp;&nbsp;txt&nbsp;
+ </font> }
+ end
def nav_txt_odf
%{ <font face="#{font_fonts}" size="2">
- #{png_odf}&nbsp;&nbsp;odt&nbsp;
+ &nbsp;&nbsp;odt&nbsp;
</font> }
end
def nav_txt_pdfs
@@ -1163,17 +1170,17 @@ module SiSU_Viz
end
def nav_txt_epub
%{ <font face="#{font_fonts}" size="2">
- #{png_epub}&nbsp;epub&nbsp;
+ &nbsp;epub&nbsp;
</font> }
end
def nav_txt_pdf_portrait
%{ <font face="#{font_fonts}" size="2">
- #{png_pdf_portrait}&nbsp;pdf&nbsp;
+ &nbsp;pdf&nbsp;
</font> }
end
def nav_txt_pdf_landscape
%{ <font face="#{font_fonts}" size="2">
- #{png_pdf_landscape}&nbsp;pdf&nbsp;
+ &nbsp;pdf&nbsp;
</font> }
end
#% banner
@@ -1529,9 +1536,29 @@ WOK
</td></tr>
WOK
end
+ def widget_sisu_text
+<<WOK
+ <p class="tiny"><font color="#666666" size="2">
+ Output generated by
+ <a href="#{url_sisu}" #{js_sisu}>
+ #{@v[:project]}
+ </a>
+ #{@v[:version]} #{@v[:date]} (#{@v[:date_stamp]})
+ </font></p>
+WOK
+ end
def widget_sisu
<<WOK
<!-- widget sisu -->
+<tr><td valign="top" width="100%">
+<!-- SiSU Rights -->
+#{widget_sisu_text}
+</td></tr>
+WOK
+ end
+ def widget_sisu_verbose
+<<WOK
+<!-- widget sisu -->
<tr><td valign="top" width="10%">
<p class="tiny_left"><font color="#666666" size="2">
<a href="#{url_sisu}" #{js_sisu}>
@@ -1560,7 +1587,7 @@ WOK
is software for document structuring, publishing and search,
<br />
<a href="#{url_sisu}" #{js_sisu}>
- www.sisudoc.org/sisu
+ www.sisudoc.org/
</a>
and
<a href="#{url_sisudoc}" #{js_sisu}>
@@ -1621,16 +1648,13 @@ WOK
[not to mention flexibility &amp; choice] use of and adherence to open standards (where practical and fair) and it is software libré.
<br />
Get With the Future
- <a href="http://www.sisudoc.org/sisu/">
+ <a href="http://www.sisudoc.org/">
Way Better!
</a>
</font></p>
</td></tr>
WOK
end
- def widget_wayBetter
- widget_way_better
- end
#% credits
def credits_itl_cover_band
%{<table summary="itl cover band" width="88%" border="0" cellpadding="0" bgcolor="blue">
@@ -1653,12 +1677,7 @@ WOK
#{table_close*4}}
end
def credits_sisu_manifest
- %{<div class="substance">
-<table summary="SiSU summary" bgcolor="#ffffff" cellpadding="4" border="0">
-<tr><td>
- #{widget_sisu}
- #{widget_way_better}
-</table></div>}
+ widget_sisu_text
end
def credits_sisu
x=%{<div class="substance">
@@ -1964,13 +1983,13 @@ outputs include: plaintext, html, XHTML, XML, ODF (OpenDocument), EPUB, LaTeX, P
SiSU Short Description
</p>
<p>
-SiSU is a comprehensive future-proofing electronic document management system. Built-in search capabilities allow you to search across multiple documents and highlight matches in an easy-to-follow format. Paragraph numbering system allows you to cite your electronic documents in a consistent manner across multiple file formats. Multiple format outputs allow you to display your documents in plain text, PDF (portrait and horizontal), OpenDocument format, HTML, or e-book reading format (EPUB). Word mapping allows you to easily create word indexes for your documents. Future-proofing flexibility allows you to quickly adapt your documents to newer output formats as needed. All these features are achieved with little or no additional work on your documents - by marking up the documents with a super simplistic markup language, leaving the SiSU engine to handle the heavy-lifting processing.
+SiSU is a comprehensive future-proofing electronic document management system. Built-in search capabilities allow you to search across multiple documents and highlight matches in an easy-to-follow format. Paragraph numbering system allows you to cite your electronic documents in a consistent manner across multiple file formats. Multiple format outputs allow you to display your documents in plain text, PDF (portrait and horizontal), OpenDocument format, HTML, or e-book reading format (EPUB). Word mapping allows you to easily create word indexes for your documents. Future-proofing flexibility allows you to quickly adapt your documents to newer output formats as needed. All these and many other features are achieved with little or no additional work on your documents - by marking up the documents with a super simplistic markup language, leaving the SiSU engine to handle the heavy-lifting processing.
</p>
<p>
-Potential users of SiSU include individual authors who want to publish their books or articles electronically to reach a broad audience or any organizations with a medium or large set of electronic documents to centrally manage, especially governmental organizations which may prefer to keep their documents in easily accessible yet non-proprietary formats.
+Potential users of SiSU include individual authors who want to publish their books or articles electronically to reach a broad audience, web publishers who want to provide multiple channels of access to their electronic documents, or any organizations which centrally manage a medium or large set of electronic documents, especially governmental organizations which may prefer to keep their documents in easily accessible yet non-proprietary formats.
</p>
<p>
-SiSU is an Open Source project led by Ralph Amissah (<a href="mailto://ralph.amissah@gmail.com">ralph.amissah@gmail.com</a>) and can be contacted at <a href="mailto://sisu@lists.sisudoc.org">sisu@lists.sisudoc.org</a>. SiSU is licensed under the GNU General Public License.
+SiSU is an Open Source project initiated and led by Ralph Amissah (<a href="mailto://ralph.amissah@gmail.com">ralph.amissah@gmail.com</a>) and can be contacted at <a href="mailto://sisu@lists.sisudoc.org">sisu@lists.sisudoc.org</a>. SiSU is licensed under the GNU General Public License.
</p>
<p class="bold">
For less markup than the most elementary HTML you can have more.