diff options
| author | Ralph Amissah <ralph@amissah.com> | 2007-12-17 03:43:48 +0000 | 
|---|---|---|
| committer | Ralph Amissah <ralph@amissah.com> | 2007-12-17 03:43:48 +0000 | 
| commit | b1afa42243ffbaf96232296c342d1d11de55e79f (patch) | |
| tree | 0388384198d585ca0afd7c2c0184ae249d38dde7 | |
| parent | texpdf, generate sisu latex output in a single pass (diff) | |
rsync sisupod, bugfix
| -rw-r--r-- | CHANGELOG | 19 | ||||
| -rw-r--r-- | lib/sisu/v0/sysenv.rb | 16 | 
2 files changed, 31 insertions, 4 deletions
| @@ -9,6 +9,25 @@ Reverse Chronological:  %% STABLE MANIFEST +%% sisu_0.63.0.orig.tar.gz (2007-12-17:51/1) +http://www.jus.uio.no/sisu/pkg/src/sisu_0.63.0.orig.tar.gz +  sisu_0.63.0.orig.tar.gz +  sisu_0.63.0-1.dsc +  sisu_0.63.0-1.diff.gz + +  * texpdf, (latex pdf) generate sisu latex output in a single pass +     +    implications if additional modules added e.g. provide dvi file without +    latex pdf headers or generate an A6 document by default for e-readers +    capable of reading pdf (this would otherwise require a separate pass/loop +    of content for each type to be generated) +     +    [current shortcoming, images are sized for smaller landscape output by +    default, image dimension adjustments not yet made (for different +    orientation)] + +  * rsync sisupod, bugfix +  %% sisu_0.62.4.orig.tar.gz (2007-12-14:50/5)  http://www.jus.uio.no/sisu/pkg/src/sisu_0.62.4.orig.tar.gz    94d262be57e2990c975e6532d258ce7f 1482977 sisu_0.62.4.orig.tar.gz diff --git a/lib/sisu/v0/sysenv.rb b/lib/sisu/v0/sysenv.rb index e571838b..a78bec85 100644 --- a/lib/sisu/v0/sysenv.rb +++ b/lib/sisu/v0/sysenv.rb @@ -2154,6 +2154,11 @@ WOK          "#{@env.path.output}/src"        else @env.path.output_src        end +      @source_path_pod=if @fnb \ +      and not @fnb.empty? +        "#{@env.path.output}/pod" +      else @env.path.output_pod +      end        @local_sisu_source=if @filetypes =~/\S/; "#@source_path/#@filetypes"        else                  @source_path        end @@ -2318,7 +2323,8 @@ p @zap            System_call.new(local_gen,remote_gen).scp            if FileTest.file?("#{local_src}/#{src_txt}")              System_call.new("#{local_src}/#{src_txt}",remote_src).scp -          elsif FileTest.file?("#{local_pod}/#{src_pod}") +          end +          if FileTest.file?("#{local_pod}/#{src_pod}")              System_call.new("#{local_src}/#{src_pod}",remote_pod).scp            end          elsif  @opt.cmd =~/U/ @@ -2326,7 +2332,8 @@ p @zap            puts "#{local_gen} -> #{remote_gen}"            if FileTest.file?("#{local_src}/#{src_doc}")              puts "#{local_src}/#{src_doc}* -> #{remote_src}" -          elsif FileTest.file?("#{local_pod}/#{src_doc}.zip") +          end +          if FileTest.file?("#{local_pod}/#{src_doc}.zip")              puts "#{local_pod}/#{src_doc}* -> #{remote_pod}"            end          else @@ -2365,8 +2372,9 @@ p @zap                images_external="#{local_gen_image_external}/" + @md.ec[:image].join(" #{local_gen_image_external}/")                System_call.new(images_external,remote_images_external,@opt.cmd).rsync              end -          elsif FileTest.file?("#{local_pod}/#{src_pod}") -            System_call.new("#{local_pod}/#{src_pod}",remote_src,@opt.cmd).rsync +          end +          if FileTest.file?("#{local_pod}/#{src_pod}") +            System_call.new("#{local_pod}/#{src_pod}",remote_pod,@opt.cmd).rsync            end          elsif  @opt.cmd =~/U/            puts "#{__FILE__} #{__LINE__}" if @opt.cmd =~/M/ | 
