dokkit 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. data/CONTRIBUTORS +0 -0
  2. data/DONE +0 -0
  3. data/LICENSE +20 -0
  4. data/README +0 -0
  5. data/Rakefile +62 -0
  6. data/TODO +0 -0
  7. data/bin/dokkit +53 -0
  8. data/lib/dokkit/app.rb +305 -0
  9. data/lib/dokkit/builtin.rake +55 -0
  10. data/lib/dokkit/deplate/fmt/html-notemplate.rb +21 -0
  11. data/lib/dokkit/deplate/fmt/latex-notemplate.rb +22 -0
  12. data/lib/dokkit/dokkittasks.rb +69 -0
  13. data/lib/dokkit/filters/deplate.rb +37 -0
  14. data/lib/dokkit/filters.rb +26 -0
  15. data/lib/dokkit/page.rb +54 -0
  16. data/lib/dokkit/projects/invoice/README +49 -0
  17. data/lib/dokkit/projects/invoice/Rakefile +100 -0
  18. data/lib/dokkit/projects/invoice/doc/config/company.yaml +12 -0
  19. data/lib/dokkit/projects/invoice/doc/config/customer.yaml +4 -0
  20. data/lib/dokkit/projects/invoice/doc/layouts/invoice.dpltex +90 -0
  21. data/lib/dokkit/projects/invoice/doc/pages/COMMON.rb +12 -0
  22. data/lib/dokkit/projects/invoice/doc/pages/invoice.rb +5 -0
  23. data/lib/dokkit/projects/invoice/doc/pages/invoice.yamltex +16 -0
  24. data/lib/dokkit/projects/invoice/doc/res/tex/deplate.sty +46 -0
  25. data/lib/dokkit/projects/invoice/doc/res/tex/images/logo.eps +209 -0
  26. data/lib/dokkit/projects/invoice/doc/res/tex/include/deplate.sty +46 -0
  27. data/lib/dokkit/projects/invoice/doc/res/tex/include/layout.inc +24 -0
  28. data/lib/dokkit/projects/invoice/doc/res/tex/include/macro.inc +67 -0
  29. data/lib/dokkit/projects/invoice/doc/res/tex/include/packages.inc +51 -0
  30. data/lib/dokkit/projects/invoice/lib/invoice.rb +104 -0
  31. data/lib/dokkit/projects/tech_report/README +49 -0
  32. data/lib/dokkit/projects/tech_report/Rakefile +102 -0
  33. data/lib/dokkit/projects/tech_report/doc/config/company.yaml +13 -0
  34. data/lib/dokkit/projects/tech_report/doc/config/tech_report.yaml +3 -0
  35. data/lib/dokkit/projects/tech_report/doc/layouts/report.dpltex +40 -0
  36. data/lib/dokkit/projects/tech_report/doc/pages/COMMON.rb +12 -0
  37. data/lib/dokkit/projects/tech_report/doc/pages/report.dpltex +37 -0
  38. data/lib/dokkit/projects/tech_report/doc/pages/report.inc +2 -0
  39. data/lib/dokkit/projects/tech_report/doc/pages/report.rb +3 -0
  40. data/lib/dokkit/projects/tech_report/doc/res/attachments/attachment_1 +0 -0
  41. data/lib/dokkit/projects/tech_report/doc/res/attachments/attachment_2 +0 -0
  42. data/lib/dokkit/projects/tech_report/doc/res/tex/images/logo.eps +311 -0
  43. data/lib/dokkit/projects/tech_report/doc/res/tex/include/deplate.sty +46 -0
  44. data/lib/dokkit/projects/tech_report/doc/res/tex/include/layout.inc +24 -0
  45. data/lib/dokkit/projects/tech_report/doc/res/tex/include/macro.inc +67 -0
  46. data/lib/dokkit/projects/tech_report/doc/res/tex/include/packages.inc +48 -0
  47. data/lib/dokkit/projects/tech_report/doc/res/tex/report.bib +4 -0
  48. data/lib/dokkit/projects/tech_report/lib/tech_report.rb +17 -0
  49. data/lib/dokkit/projects/website/README +49 -0
  50. data/lib/dokkit/projects/website/Rakefile +81 -0
  51. data/lib/dokkit/projects/website/doc/layouts/normal.thtml +38 -0
  52. data/lib/dokkit/projects/website/doc/pages/COMMON.rb +9 -0
  53. data/lib/dokkit/projects/website/doc/pages/deplate.dplhtml +9 -0
  54. data/lib/dokkit/projects/website/doc/pages/index.rb +10 -0
  55. data/lib/dokkit/projects/website/doc/pages/index.thtml +12 -0
  56. data/lib/dokkit/projects/website/doc/res/images/rote-tiny.png +0 -0
  57. data/lib/dokkit/projects/website/html/deplate.html +21 -0
  58. data/lib/dokkit/projects/website/html/images/rote-tiny.png +0 -0
  59. data/lib/dokkit/projects/website/html/index.html +37 -0
  60. data/lib/dokkit.rb +71 -0
  61. data/tests/gem_tests.rb +4 -0
  62. data/tests/test_filters.rb +46 -0
  63. metadata +177 -0
@@ -0,0 +1,311 @@
1
+ %!PS-Adobe-3.0 EPSF-3.0
2
+ %%Creator: GIMP PostScript file plugin V 1.17 by Peter Kirchgessner
3
+ %%Title: logo.eps
4
+ %%CreationDate: Tue Nov 7 15:54:32 2006
5
+ %%DocumentData: Clean7Bit
6
+ %%LanguageLevel: 2
7
+ %%Pages: 1
8
+ %%BoundingBox: 14 14 215 85
9
+ %%EndComments
10
+ %%BeginProlog
11
+ % Use own dictionary to avoid conflicts
12
+ 10 dict begin
13
+ %%EndProlog
14
+ %%Page: 1 1
15
+ % Translate for offset
16
+ 14.173228346456694 14.173228346456694 translate
17
+ % Translate to begin of first scanline
18
+ 0 70 translate
19
+ 200 -70 scale
20
+ % Image geometry
21
+ 200 70 8
22
+ % Transformation matrix
23
+ [ 200 0 0 70 0 0 ]
24
+ % Strings to hold RGB-samples per scanline
25
+ /rstr 200 string def
26
+ /gstr 200 string def
27
+ /bstr 200 string def
28
+ {currentfile /ASCII85Decode filter /RunLengthDecode filter rstr readstring pop}
29
+ {currentfile /ASCII85Decode filter /RunLengthDecode filter gstr readstring pop}
30
+ {currentfile /ASCII85Decode filter /RunLengthDecode filter bstr readstring pop}
31
+ true 3
32
+ %%BeginData: 9074 ASCII Bytes
33
+ colorimage
34
+ JcE:\J,~>
35
+ JcE:\J,~>
36
+ JcE:\J,~>
37
+ JcE:\J,~>
38
+ JcE:\J,~>
39
+ JcE:\J,~>
40
+ JcE:\J,~>
41
+ JcE:\J,~>
42
+ JcE:\J,~>
43
+ JcE:\J,~>
44
+ JcE:\J,~>
45
+ JcE:\J,~>
46
+ JcE:\J,~>
47
+ JcE:\J,~>
48
+ JcE:\J,~>
49
+ JcE:\J,~>
50
+ JcE:\J,~>
51
+ JcE:\J,~>
52
+ JcE:\J,~>
53
+ JcE:\J,~>
54
+ JcE:\J,~>
55
+ JcE:\J,~>
56
+ JcE:\J,~>
57
+ Jc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~>
261
+ JcE:\J,~>
262
+ JcE:\J,~>
263
+ JcE:\J,~>
264
+ JcE:\J,~>
265
+ JcE:\J,~>
266
+ JcE:\J,~>
267
+ JcE:\J,~>
268
+ JcE:\J,~>
269
+ JcE:\J,~>
270
+ JcE:\J,~>
271
+ JcE:\J,~>
272
+ JcE:\J,~>
273
+ JcE:\J,~>
274
+ JcE:\J,~>
275
+ JcE:\J,~>
276
+ JcE:\J,~>
277
+ JcE:\J,~>
278
+ JcE:\J,~>
279
+ JcE:\J,~>
280
+ JcE:\J,~>
281
+ JcE:\J,~>
282
+ JcE:\J,~>
283
+ JcE:\J,~>
284
+ JcE:\J,~>
285
+ JcE:\J,~>
286
+ JcE:\J,~>
287
+ JcE:\J,~>
288
+ JcE:\J,~>
289
+ JcE:\J,~>
290
+ JcE:\J,~>
291
+ JcE:\J,~>
292
+ JcE:\J,~>
293
+ JcE:\J,~>
294
+ JcE:\J,~>
295
+ JcE:\J,~>
296
+ JcE:\J,~>
297
+ JcE:\J,~>
298
+ JcE:\J,~>
299
+ JcE:\J,~>
300
+ JcE:\J,~>
301
+ JcE:\J,~>
302
+ JcE:\J,~>
303
+ JcE:\J,~>
304
+ JcE:\J,~>
305
+ JcE:\J,~>
306
+ JcE:\J,~>
307
+ %%EndData
308
+ showpage
309
+ %%Trailer
310
+ end
311
+ %%EOF
@@ -0,0 +1,46 @@
1
+ \newcommand{\customListPrefs}{\setlength{\parsep}{0cm}\setlength{\itemsep}{0cm}}
2
+ \newenvironment{customList}{\begin{list}{}{\customListPrefs{}}}{\end{list}}
3
+ \newcommand{\customItem}[2]{\item[#1] #2}
4
+
5
+ \newenvironment{tasklist}{\begin{list}{}{\customListPrefs{}}}{\end{list}}
6
+ \newcommand{\task}[2]{\item[\textbf{#1}] #2}
7
+
8
+ \definecolor{taskA}{rgb}{1,.5,.5}
9
+ \definecolor{taskB}{rgb}{.5,1,.5}
10
+ \definecolor{taskC}{rgb}{.5,.5,1}
11
+ \definecolor{taskD}{rgb}{.5,1,1}
12
+ \definecolor{taskE}{rgb}{1,.5,1}
13
+ \definecolor{taskF}{rgb}{1,1,.5}
14
+ \definecolor{taskdone}{rgb}{.5,.5,.5}
15
+
16
+ \newcommand{\taskdone}[1]{{\footnotesize\textcolor{taskdone}{#1}}}
17
+ \newcommand{\taskA}[1]{\colorbox{taskA}{#1}}
18
+ \newcommand{\taskB}[1]{\colorbox{taskB}{#1}}
19
+ \newcommand{\taskC}[1]{\colorbox{taskC}{#1}}
20
+ \newcommand{\taskD}[1]{\colorbox{taskD}{#1}}
21
+ \newcommand{\taskE}[1]{\colorbox{taskE}{#1}}
22
+ \newcommand{\taskF}[1]{\colorbox{taskF}{#1}}
23
+
24
+ \newcommand{\emphStyle}{\em}
25
+ \newcommand{\emphSpan}[1]{\emph{#1}}
26
+ \newcommand{\boldSpan}[1]{\textbf{#1}}
27
+ \newcommand{\remoteSpan}[1]{#1}
28
+
29
+ \newenvironment{overlayBlock}{}{}
30
+ \newenvironment{scriptsizeBlock}{\scriptsize{}}{}
31
+ \newenvironment{boxBlock}{}{}
32
+ \newenvironment{footnotesizeBlock}{\footnotesize{}}{}
33
+ \newenvironment{smallBlock}{\small{}}{}
34
+ \newenvironment{landscapeBlock}{}{}
35
+ \newenvironment{gridBlock}{}{}
36
+ \newenvironment{formalBlock}{}{}
37
+
38
+ \newenvironment{todoBlock}{}{}
39
+
40
+ \newenvironment{bookBlock}{}{}
41
+ \newenvironment{booksList}{\begin{list}{}{\customListPrefs{}}}{\end{list}}
42
+ \newcommand{\booksItem}[2]{\item[\textbf{#1}] #2}
43
+
44
+ \newenvironment{exampleBlock}{\bfseries{}}{}
45
+ \newenvironment{examplesList}{\begin{list}{}{\customListPrefs{}}}{\end{list}}
46
+ \newcommand{\examplesItem}[2]{\item[#1] #2}
@@ -0,0 +1,24 @@
1
+ % Layout
2
+
3
+ \newcommand{\layout}[1][]{
4
+ \geometry{
5
+ left=2cm,
6
+ right=2cm,
7
+ top=2cm,
8
+ bottom=1.7cm,
9
+ headheight=1cm,
10
+ headsep=1cm,
11
+ footskip=1cm,
12
+ includeheadfoot}
13
+ \pagestyle{fancy}
14
+ \fancyhead{}
15
+ \fancyfoot{}
16
+ \lhead{\includegraphics[height=1cm]{images/logo.eps}}
17
+ %\chead{}
18
+ %\rhead{\fontfamily{cmss}\large\textbf{#1}\vspace*{\stretch{1}}\normalsize~\textit{(pag. \thepage\ di \pageref{LastPage})}\vspace*{\stretch{1}}}
19
+ \rhead{\fontfamily{cmss}\large\textbf{#1}\vspace*{\stretch{1}}\normalsize}
20
+ %\cfoot{\fontfamily{cmss}\footnotesize\textbf{Company} $\star$ \textbf{Location} $\star$ \textbf{Tel.} \\\textbf{Fax} $\star$ \textbf{e-mail} $\star$ \textbf{web} $\star$ \normalsize}
21
+ \lfoot{\fontfamily{cmss}\scriptsize\textbf{<%= @company %>} $\star$ \textbf{Location} $\star$ \textbf{Tel.} \\\textbf{Fax} $\star$ \textbf{e-mail} $\star$ \textbf{web} $\star$ \normalsize}
22
+ \rfoot{\fontfamily{cmss}\textit{pag. \thepage\ / \pageref{LastPage}}}
23
+ \renewcommand{\footrulewidth}{0.4pt}
24
+ }
@@ -0,0 +1,67 @@
1
+ % macro.inc
2
+ % ----------
3
+ %
4
+ % Copyright (C)2005 Alca Coop. a r. l.
5
+ %
6
+ % This program is free software; you can redistribute it and/or modify
7
+ % it under the terms of the GNU General Public License as published by
8
+ % the Free Software Foundation; either version 2 of the License, or
9
+ % (at your option) any later version.
10
+ %
11
+ % This program is distributed in the hope that it will be useful,
12
+ % but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ % GNU General Public License for more details.
15
+ %
16
+ % You should have received a copy of the GNU General Public License
17
+ % along with this program; if not, write to the Free Software
18
+ % Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
+ %
20
+
21
+
22
+ % ENVIRONMENT
23
+ % -----------------------------------------------------------------------------
24
+
25
+ % checkboxize
26
+ % ------------
27
+ % Ambiente per creare elenchi con checkbox (ad esempio per i test di valutazione)
28
+ %
29
+ \newenvironment{checkboxize}{\renewcommand{\labelitemi}{\(\Box\)}\begin{itemize}}{\end{itemize}}
30
+
31
+
32
+ % COMANDI
33
+ % -----------------------------------------------------------------------------
34
+
35
+ % \firma[lunghezza]{firmatario}
36
+ % -------------------
37
+ % Argomenti:
38
+ % - lunghezza (opzionale, default 7cm)
39
+ % - firmatario: ci� che va scritto sopra la linea orizzontale
40
+ %
41
+ \newcommand{\firma}[2][7cm]{\begin{minipage}{#1}\begin{center}{#2}\\\vspace{1cm}\rule{\textwidth}{0.1mm}\end{center}\end{minipage}}
42
+
43
+ % \luogoedata[luogo]
44
+ % -------------------
45
+ % Argomenti:
46
+ % - luogo (opzionale, default linea orizz. di 4 cm)
47
+ %
48
+ \newcommand{\luogoedata}[1][\rule{4cm}{0.1mm}]{{#1}, l� \rule{0.6cm}{0.1mm}/\rule{0.6cm}{0.1mm}/200\rule{0.3cm}{0.1mm}}
49
+
50
+ % \textbox[lunghezza]{testo}
51
+ % --------------------
52
+ % Argomenti:
53
+ % - lunghezza (opzionale, default 7cm)
54
+ % - testo
55
+ %
56
+ \newcommand{\textbox}[2][7cm]{{#2}~\rule{#1}{0.1mm}}
57
+
58
+ % \oggetto{oggetto}
59
+ % ------------------
60
+ % Argomenti:
61
+ % - oggetto: l'oggetto...
62
+ %
63
+ \newcommand{\oggetto}[1]{\noindent\textbf{\underline{OGGETTO: {#1}.}}}
64
+
65
+ % ALTRO
66
+ % -----------------------------------------------------------------------------
67
+ \definecolor{gray50}{gray}{.5}
@@ -0,0 +1,48 @@
1
+ % Packages
2
+ % -----------------------------------------------------------------------------
3
+
4
+ % http://www.tug.org/tex-archive/info/italian/fancyhdr/itfancyhdr.pdf
5
+ %
6
+ \usepackage{fancyhdr}
7
+
8
+ % A nice font
9
+ %
10
+ \usepackage{palatino}
11
+
12
+ \usepackage{setspace}
13
+
14
+ % http://www.tug.org/teTeX/tetex-texmfdist/doc/latex/geometry/geometry.pdf
15
+ %
16
+ \usepackage{geometry}
17
+
18
+ % http://www.comp.leeds.ac.uk/andyr/misc/latex/latextutorial4.html
19
+ %
20
+ \usepackage{multirow}
21
+
22
+ % Symbols
23
+ %
24
+ \usepackage{latexsym}
25
+
26
+ \usepackage{lastpage}
27
+
28
+ % http://www.ctan.org/tex-archive/macros/latex/required/graphics/grfguide.ps
29
+ %
30
+ \usepackage{color}
31
+
32
+ \usepackage{longtable}
33
+
34
+ % http://www.linux.it/~salve/TeX-FAQ/TeX-FAQ-tex.html
35
+ %
36
+ \usepackage{graphicx}
37
+
38
+ % Euro symbol
39
+ %
40
+ \usepackage{eurosym}
41
+
42
+ \usepackage{array}
43
+
44
+ % compatibility packages for deplate
45
+ \usepackage{hyperref}
46
+ \usepackage[square,numbers,sort,super]{natbib}
47
+
48
+ % -----------------------------------------------------------------------------
@@ -0,0 +1,4 @@
1
+ @book{author:Jim,
2
+ author={Jim White},
3
+ title={http://www.tripwire.com}
4
+ }
@@ -0,0 +1,17 @@
1
+ #--
2
+ # TechReport class for Dokkit
3
+ # (c)2006 Andrea Fazzi (and contributors)
4
+ #
5
+ # See 'dokkit.rb' or LICENSE for licence information.
6
+ #++
7
+
8
+ require 'rote'
9
+ require 'rote/format'
10
+ require 'dokkit/page'
11
+
12
+ module Rote
13
+
14
+ class Page
15
+
16
+ end
17
+ end
@@ -0,0 +1,49 @@
1
+ This is the auto-generated Rote documentation source.
2
+
3
+ To render it using Rote's command-line wrapper (ignoring the included
4
+ Rakefile), type:
5
+
6
+ rote doc
7
+
8
+ from the top-level directory (this one).
9
+
10
+ To render using the included Rakefile (the result is the same in either
11
+ case) type instead:
12
+
13
+ rake doc
14
+
15
+ If you prefer, you can omit the 'doc' task, since it is configured
16
+ as the default.
17
+
18
+ In either case, you should see some output as the pages are rendered
19
+ and resources copied, and get output in a (created) 'html' directory.
20
+ Once you have rendered the site, running the command again will appear
21
+ to do nothing, because only changed resources are re-rendered. To
22
+ start over:
23
+
24
+ (rote|rake) clobber
25
+
26
+ Alternatively, modify the page or resource files, and rerun the first
27
+ command to transform only the modified resource.
28
+
29
+ WHAT NEXT?
30
+
31
+ + See what else you can do by typing:
32
+
33
+ (rote|rake) --tasks
34
+
35
+ rote --usage ( with the command-line wrapper )
36
+
37
+ + Modify the included page template and layout to suit your needs.
38
+
39
+ + Edit the included Rakefile to add or change tasks, or delete it
40
+ if you're sticking with the command-line wrapper.
41
+
42
+ + Add more pages and layouts.
43
+
44
+ + Start Rote in monitor mode, and have your changes rendered as
45
+ you work:
46
+
47
+ (rote|rake) doc_monitor
48
+
49
+
@@ -0,0 +1,81 @@
1
+ # Standard Rakefile for custom Rote build
2
+ #
3
+ # Generated from:
4
+ # $Id: Rakefile 160 2006-01-05 21:05:44Z roscopeco $
5
+ #
6
+ begin
7
+ require 'rubygems'
8
+ rescue LoadError
9
+ nil # optional
10
+ end
11
+
12
+ require 'rake'
13
+ require 'rake/clean'
14
+ require 'rote/format'
15
+ require 'dokkit'
16
+ require 'dokkit/filters'
17
+
18
+ include Rote
19
+ include Dokkit
20
+
21
+ # Create a set of tasks with the prefix 'doc' to build the
22
+ # documentation set. The directory layout is as for the
23
+ # command-line wrapper (but can be changed of course).
24
+ #
25
+ # This creates the following tasks:
26
+ #
27
+ # * doc - transform/copy all modified pages / resources
28
+ # * doc_pages - transform all modified pages
29
+ # * doc_res - copy all modified resources
30
+ # * doc_monitor - Start monitor mode, transform changed files automatically
31
+ #
32
+ # * [html/**/*] - Transform single page / resource unconditionally
33
+ #
34
+ # * clobber_doc - Remove output (hooks into main 'clobber' task)
35
+ #
36
+ # In addition to these tasks, you may also wish to define a 'doc_refresh' task
37
+ # to be run whenever modified resources are processed in monitor mode.
38
+ ws = Rote::DocTask.new(:doc) do |site|
39
+ site.output_dir = 'html'
40
+ site.layout_dir = 'doc/layouts'
41
+
42
+ site.pages.dir = 'doc/pages'
43
+ site.pages.include('**/*')
44
+
45
+ site.res.dir = 'doc/res'
46
+ site.res.include('**/*')
47
+
48
+ site.ext_mapping(/thtml|textile/, 'html') do |page|
49
+ page.extend Format::HTML
50
+ page.page_filter Filters::RedCloth.new
51
+ end
52
+
53
+ site.ext_mapping(/mhtml|markdown/, 'html') do |page|
54
+ page.extend Format::HTML
55
+ page.page_filter Filters::BlueCloth.new
56
+ end
57
+
58
+ site.ext_mapping(/rdhtml|rdoc/, 'html') do |page|
59
+ page.extend Format::HTML
60
+ page.page_filter Filters::RDoc.new
61
+ end
62
+
63
+ site.ext_mapping(/dplhtml/, 'html') do |page|
64
+ page.extend Format::HTML
65
+ page.page_filter Dokkit::Filters::Deplate.new('html-snippet')
66
+ end
67
+
68
+ site.ext_mapping(/html/, 'html') do |page|
69
+ page.extend Format::HTML
70
+ end
71
+ end
72
+
73
+ task :default => [:doc]
74
+
75
+ # import user-level tasks
76
+ import "#{ENV['HOME']}/.rotetasks.rf" if File.exists?("#{ENV['HOME']}/.rotetasks.rf")
77
+ import 'local.rf' if File.exists?('local.rf')
78
+
79
+ # TODO Define your custom tasks here
80
+
81
+
@@ -0,0 +1,38 @@
1
+ <%
2
+ # This is the 'normal' layout. It can be selected with:
3
+ #
4
+ # layout 'normal'
5
+ #
6
+ # in page code. If the page itself doesn't have an '.html'
7
+ # extension, you will need to use:
8
+ #
9
+ # layout 'normal.html'
10
+ #
11
+ # instead.
12
+ #
13
+ # Here we just add basic HTML wrap-up, use the custom var
14
+ # (@page_title) to get the title, and insert content where
15
+ # we want it with @content_for_layout.
16
+ %>
17
+ <html>
18
+ <head>
19
+ <%# Use our custom vars for the title %>
20
+ <title><%= @page_title + ' - ' + @site_title %></title>
21
+ </head>
22
+
23
+ <body>
24
+ <h1><%= @page_title %></h1>
25
+
26
+ <%# Insert page content #%>
27
+ <%= @content_for_layout %>
28
+
29
+ <p align='center'><hr width='80%'></p>
30
+ <p align='right'>
31
+ <span style='font-size: 8pt; color: #7c7c90'>Generated with</span><br/>
32
+
33
+ <%# use the link_rel helper to make absolute links relative to current page #%>
34
+ <a href='http://rote.rubyforge.org/' target='_blank'><img src='<%= link_rel '/images/rote-tiny.png' %>' alt='Rote'/></a>
35
+ </p>
36
+ </body>
37
+ </html>
38
+