diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-10-03 00:24:05 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-10-03 00:24:05 -0400 |
commit | c041ea2efdc0f1c6d2ecb07f9f29ba3ddf37a39f (patch) | |
tree | 0e2118774a19509ac47732424d04d5baa670c486 /lib/sisu/v4/texpdf_format.rb | |
parent | v4: param (header make), html, home button: text button; image/icon button (diff) |
v4: param (header make), pdf, footer
Diffstat (limited to 'lib/sisu/v4/texpdf_format.rb')
-rw-r--r-- | lib/sisu/v4/texpdf_format.rb | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/lib/sisu/v4/texpdf_format.rb b/lib/sisu/v4/texpdf_format.rb index 3c2d9231..223633de 100644 --- a/lib/sisu/v4/texpdf_format.rb +++ b/lib/sisu/v4/texpdf_format.rb @@ -1422,16 +1422,9 @@ WOK "\\rhead[ ]{ }\n" end def footer - base_prog_txt=if @md.base_program - case @md.base_program - when /kdissert/i; " \\\\ \\href{http://freehackers.org/~tnagy/kdissert/}{Kdissert}" - else '' - end - else '' - end - "\\lfoot[\\textrm{\\thepage}]{\\tiny \\href{#{@vz.url_footer_signature}}{#{@vz.txt_signature}}#{base_prog_txt}}\n" + - "\\cfoot[\\href{#{@vz.url_home}}{#{@vz.url_txt}}]{\\href{#{@vz.url_home}}{#{@vz.url_txt}}}\n" + - "\\rfoot[\\tiny \\href{#{@vz.url_sisu}}{#{@vz.txt_signature}}]{\\textrm{\\thepage}}\n" + f="\\lfoot[\\textrm{\\thepage}]{\\tiny \\href{#{@md.footer_links[:left][:url]}}{#{@md.footer_links[:left][:say]}}}\n" + + "\\cfoot{\\href{#{@md.footer_links[:center][:url]}}{#{@md.footer_links[:center][:say]}}}\n" + + "\\rfoot[\\tiny \\href{}{}]{\\textrm{\\thepage}}\n" end def site if not @vz.url_home.empty? \ |