aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/urls.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-01-12 21:30:22 -0500
committerRalph Amissah <ralph@amissah.com>2014-01-12 21:30:22 -0500
commit3ca7ba8c0fdfd9ad9681012f1816b8ec534e8083 (patch)
treef1efb49ba113fea43cd39b71698b66f43cdb0531 /lib/sisu/v5/urls.rb
parentdebian/changelog (4.2.17-1) (diff)
parentv5: asciidoc, file extension (for now .ad), inline footnotes, minor (diff)
Merge tag 'sisu_4.2.18' into debian/sid
SiSU 4.2.18
Diffstat (limited to 'lib/sisu/v5/urls.rb')
-rw-r--r--lib/sisu/v5/urls.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v5/urls.rb b/lib/sisu/v5/urls.rb
index d814965f..cff69c93 100644
--- a/lib/sisu/v5/urls.rb
+++ b/lib/sisu/v5/urls.rb
@@ -198,10 +198,10 @@ module SiSU_Urls
end
def pdf
def portrait(x)
- SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],"[#{@opt.f_pth[:lng_is]}] -#{x}","#{@prog.pdf_viewer} #{@md.file.output_path.pdf.dir}/#{@md.file.base_filename.pdf_p}pdf").result
+ SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],"[#{@opt.f_pth[:lng_is]}] -#{x}","#{@prog.pdf_viewer} #{@md.file.output_path.pdf.dir}/#{@md.file.base_filename.pdf_p}#{@md.papersize_array[0]}.pdf").result
end
def landscape(x)
- SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],"[#{@opt.f_pth[:lng_is]}] -#{x}","#{@prog.pdf_viewer} #{@md.file.output_path.pdf.dir}/#{@md.file.base_filename.pdf_l}pdf").result
+ SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],"[#{@opt.f_pth[:lng_is]}] -#{x}","#{@prog.pdf_viewer} #{@md.file.output_path.pdf.dir}/#{@md.file.base_filename.pdf_l}#{@md.papersize_array[0]}.pdf").result
end
self
end
@@ -209,7 +209,7 @@ module SiSU_Urls
SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],"[#{@opt.f_pth[:lng_is]}] -#{x}","#{@prog.manpage_viewer} #{@md.file.output_path.manpage.dir}/#{@md.file.base_filename.manpage}").result
end
def pinfo(x,y)
- SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],"[#{@opt.f_pth[:lng_is]}] -#{x}","pinfo -f #{@md.file.output_path.texinfo.dir}/#{@md.file.base_filename.info}").result
+ SiSU_Screen::Ansi.new(@opt.act[:color_state][:set],"[#{@opt.f_pth[:lng_is]}] -#{x}","cd #{@md.file.output_path.texinfo.dir} && #{@env.program.texinfo} #{@md.file.base_filename.info}; cd -").result
end
def po4a
def po(x,y)