diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-06-08 22:23:26 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-06-08 22:23:46 -0400 |
commit | a011db38da1999b9eb137927b47d21568ab8b078 (patch) | |
tree | 83677236dda3c9aeed5b7368beb9402f9dee852e /lib/sisu/v3/texpdf.rb | |
parent | v3: manifest, fix a full name (diff) |
v3: html, texpdf, syslink to default, adjusted & made similar
Diffstat (limited to 'lib/sisu/v3/texpdf.rb')
-rw-r--r-- | lib/sisu/v3/texpdf.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sisu/v3/texpdf.rb b/lib/sisu/v3/texpdf.rb index eff07f19..918e00a2 100644 --- a/lib/sisu/v3/texpdf.rb +++ b/lib/sisu/v3/texpdf.rb @@ -249,11 +249,13 @@ module SiSU_TeX "#{@md.fnb}.landscape.pdf" else 'landscape.pdf' end + pwd_set=Dir.pwd + Dir.chdir(@md.file.output_path.pdf.dir) system(" - cd #{@md.file.output_path.pdf.dir} rm #{mklnk} ln -s #{pdf_l} #{mklnk} ") + Dir.chdir(pwd_set) end else SiSU_Screen::Ansi.new(@md.opt.cmd,"FILE NOT FOUND: << #{@md.fns} >> - requested latex system processing skipped").warn |