summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorivan <ivan>2005-02-16 02:53:54 +0000
committerivan <ivan>2005-02-16 02:53:54 +0000
commitab4c00e3ac47611b00127418195c93dc095b85f5 (patch)
tree436bf49bd073808079317dfbb439f2200982ebea /FS/FS
parent7c913efdcefb5a953c0066904a2d59dcb2e1b40b (diff)
slightly better error messages for LaTeX problems
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/cust_bill.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm
index 93c179a..ecc6d5f 100644
--- a/FS/FS/cust_bill.pm
+++ b/FS/FS/cust_bill.pm
@@ -1192,12 +1192,12 @@ sub print_ps {
my $sfile = shell_quote $file;
system("pslatex $sfile.tex >/dev/null 2>&1") == 0
- or die "pslatex $file.tex failed: $!";
+ or die "pslatex $file.tex failed; see $file.log for details?\n";
system("pslatex $sfile.tex >/dev/null 2>&1") == 0
- or die "pslatex $file.tex failed: $!";
+ or die "pslatex $file.tex failed; see $file.log for details?\n";
system('dvips', '-q', '-t', 'letter', "$file.dvi", '-o', "$file.ps" ) == 0
- or die "dvips failed: $!";
+ or die "dvips failed";
open(POSTSCRIPT, "<$file.ps")
or die "can't open $file.ps: $! (error in LaTeX template?)\n";