diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-07-12 14:43:36 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-07-12 14:43:36 -0400 |
commit | d7ec8e17415e723dc8bc7c1836848ae094e7a1d5 (patch) | |
tree | 52b1b19a0d95c1dc9775ec58c98e1180840e31bc /lib/sisu/v0/sysenv.rb | |
parent | sisu-0.67.4 + sha256 (diff) |
texpdf fixes, xetex and xelatex processing commands, and fix for a5 landscape pdf
Diffstat (limited to 'lib/sisu/v0/sysenv.rb')
-rw-r--r-- | lib/sisu/v0/sysenv.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v0/sysenv.rb b/lib/sisu/v0/sysenv.rb index bde769e2..3d01729e 100644 --- a/lib/sisu/v0/sysenv.rb +++ b/lib/sisu/v0/sysenv.rb @@ -683,15 +683,15 @@ module SiSU_Env if @input =~/landscape\.tex$/ %{#{texpdf} -interaction=#{mode} -fmt=xelatex -papersize="#{papersize} -l" #@input #{tell}\n} else - "#{texpdf} -interaction=#{mode} -fmt=xelatex #@input #{tell}\n" + %{#{texpdf} -interaction=#{mode} -fmt=xelatex -papersize="#{papersize}" #@input #{tell}\n} end when /xelatex/ if @input =~/landscape\.tex$/ %{#{texpdf} -interaction=#{mode} -papersize="#{papersize} -l" #@input #{tell}\n} else - "#{texpdf} -interaction=#{mode} #@input #{tell}\n" + %{#{texpdf} -interaction=#{mode} -papersize="#{papersize}" #@input #{tell}\n} end - when /pdftex/; "#{texpdf} -interaction=#{mode} -fmt=pdflatex #@input #{tell}\n" + when /pdftex/; "#{texpdf} -interaction=#{mode} -fmt=pdflatex #@input #{tell}\n" when /pdflatex/; "#{texpdf} -interaction=#{mode} #@input #{tell}\n" end system(texpdf_cmd) |