diff options
author | ivan <ivan> | 2005-02-16 02:53:54 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-02-16 02:53:54 +0000 |
commit | ab4c00e3ac47611b00127418195c93dc095b85f5 (patch) | |
tree | 436bf49bd073808079317dfbb439f2200982ebea /FS/FS | |
parent | 7c913efdcefb5a953c0066904a2d59dcb2e1b40b (diff) |
slightly better error messages for LaTeX problems
Diffstat (limited to 'FS/FS')
-rw-r--r-- | FS/FS/cust_bill.pm | 6 |
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"; |