aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v3/sysenv.rb11
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb
index 4a168e2d..8816212d 100644
--- a/lib/sisu/v3/sysenv.rb
+++ b/lib/sisu/v3/sysenv.rb
@@ -696,28 +696,28 @@ module SiSU_Env
end
def relaxng(cmd='') #trang - convert between different schema languages for XML
program='trang'
- program_ref="\n\t\tsee http://www.thaiopensource.com/relaxng/trang.html"
+ program_ref="\n\t\tsee <http://www.thaiopensource.com/relaxng/trang.html>"
if program_found?(program); system("trang #{@input} #{@output}")
else puts "\tWARN: #{program} is not installed #{program_ref}" if cmd =~/V/
end
end
def imagemagick #imagemagick is a image manipulation program
program='identify'
- program_ref="\n\t\tsee http://www.imagemagick.org/"
+ program_ref="\n\t\tsee <http://www.imagemagick.org/>"
found=(program_found?(program)) ? true : false
puts "\tWARN: #{program} is not installed #{program_ref}" unless found
found
end
def graphicksmagick #graphicsmagick is a image manipulation program
program='gm'
- program_ref="\n\t\tsee http://www.graphicsmagick.org/"
+ program_ref="\n\t\tsee <http://www.graphicsmagick.org/>"
found=(program_found?(program)) ? true : false
puts "\tWARN: #{program} is not installed #{program_ref}" unless found
found
end
def well_formed? #tidy - check for well formed xml xhtml etc.
program=@prog.tidy
- program_ref="\n\t\tsee http://tidy.sourceforge.net/"
+ program_ref="\n\t\tsee <http://tidy.sourceforge.net/>"
if program_found?(program); system("#{@prog.tidy} -xml #{@input} > #{@output}")
else puts "\tWARN: #{program} is not installed #{program_ref}"
end
@@ -741,8 +741,7 @@ module SiSU_Env
end
def latex2pdf(md,papersize='a4') #convert from latex to pdf
tell=((@cmd =~/[MVv]/) ? '' : '> /dev/null' )
- mode='batchmode'
- #mode='nonstopmode'
+ mode='batchmode' #mode='nonstopmode'
program_ref="\n\t\tSee http://www.tug.org/applications/pdftex/\n\t\tOn Debian this is is included in tetex-extra"
texpdf=tex2pdf_engine
if @pdfetex_flag;