aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-06-30 00:44:28 -0400
committerRalph Amissah <ralph@amissah.com>2012-06-30 00:44:28 -0400
commitc3760a322b9028e07365cc8864f47aa9e2051492 (patch)
treef31dced2d79a31d6b37e4a7472b68108f5e7f206 /lib
parentdebian/changelog (3.3.1-1) (diff)
parentv3: texpdf, xetex screen reporting of warnings off unless sisu -pV used (diff)
Merge tag 'sisu_3.3.2' into debian/sid
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v3/sysenv.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/sisu/v3/sysenv.rb b/lib/sisu/v3/sysenv.rb
index ee881e43..23326b40 100644
--- a/lib/sisu/v3/sysenv.rb
+++ b/lib/sisu/v3/sysenv.rb
@@ -781,7 +781,12 @@ module SiSU_Env
@texpdf
end
def latex2pdf(md,papersize='a4') #convert from latex to pdf
- tell=((@cmd =~/[MVv]/) ? '' : '> /dev/null' )
+ tell=if @cmd =~/[MV]/
+ ''
+ elsif @cmd =~/[v]/
+ %q{2>&1 | grep -v ' WARNING '}
+ else %q{2>&1 | grep -v '$'}
+ end
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