From d7ec8e17415e723dc8bc7c1836848ae094e7a1d5 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 12 Jul 2008 14:43:36 -0400 Subject: texpdf fixes, xetex and xelatex processing commands, and fix for a5 landscape pdf --- CHANGELOG | 10 ++++++++++ lib/sisu/v0/sysenv.rb | 6 +++--- lib/sisu/v0/texpdf_format.rb | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index b91f783c..a99561a2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -9,6 +9,16 @@ Reverse Chronological: %% STABLE MANIFEST +%% sisu_0.67.5.orig.tar.gz (2008-07-12:27/6) +http://www.jus.uio.no/sisu/pkg/src/sisu_0.67.5.orig.tar.gz + sisu_0.67.5.orig.tar.gz + sisu_0.67.5-1.dsc + sisu_0.67.5-1.diff.gz + + * texpdf xetex and xelatex processing commands, fix + + * texpdf A5 size landscape pdf, tex document header, fix + %% sisu_0.67.4.orig.tar.gz (2008-07-12:27/6) http://www.jus.uio.no/sisu/pkg/src/sisu_0.67.4.orig.tar.gz ec905056760f7be8db639d053be4ada9118bfb2c66832206ab92eccf6d8239a7 1500229 sisu_0.67.4.orig.tar.gz 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) diff --git a/lib/sisu/v0/texpdf_format.rb b/lib/sisu/v0/texpdf_format.rb index 75a3ff91..ee457ca3 100644 --- a/lib/sisu/v0/texpdf_format.rb +++ b/lib/sisu/v0/texpdf_format.rb @@ -1241,7 +1241,7 @@ WOK d[:textheight],d[:textwidth]=@tx.b5.landscape.h,@tx.b5.landscape.w when /a5/i d[:papertype],d[:fontsize],d[:columnsep]='a5paper','10pt','38pt' - d[:textheight],d[:textwidth]='10pt',@tx.a5.landscape.h,@tx.a5.landscape.w + d[:textheight],d[:textwidth]=@tx.a5.landscape.h,@tx.a5.landscape.w else #default currently A4 d[:papertype],d[:fontsize]='a4paper','12pt' d[:textheight],d[:textwidth]=@tx.a4.landscape.h,@tx.a4.landscape.w -- cgit v1.2.3