freeside/FS/FS cust_bill.pm,1.41.2.55,1.41.2.56
ivan
ivan at pouncequick.420.am
Fri Jun 25 03:16:17 PDT 2004
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv576
Modified Files:
Tag: FREESIDE_1_4_BRANCH
cust_bill.pm
Log Message:
really fix latex printing when datasrc contains a ;
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.41.2.55
retrieving revision 1.41.2.56
diff -u -d -r1.41.2.55 -r1.41.2.56
--- cust_bill.pm 25 Jun 2004 10:07:22 -0000 1.41.2.55
+++ cust_bill.pm 25 Jun 2004 10:16:10 -0000 1.41.2.56
@@ -1540,9 +1540,11 @@
my $dir = $FS::UID::conf_dir. "cache.". $FS::UID::datasrc;
chdir($dir);
- system("pslatex $file.tex >/dev/null 2>&1") == 0
+ my $sfile = shell_quote $file;
+
+ system("pslatex $sfile.tex >/dev/null 2>&1") == 0
or die "pslatex $file.tex failed: $!";
- system("pslatex $file.tex >/dev/null 2>&1") == 0
+ system("pslatex $sfile.tex >/dev/null 2>&1") == 0
or die "pslatex $file.tex failed: $!";
system('dvips', '-q', '-t', 'letter', "$file.dvi", '-o', "$file.ps" ) == 0
@@ -1587,13 +1589,14 @@
#system('pdflatex', "$file.tex");
#! LaTeX Error: Unknown graphics extension: .eps.
- system("pslatex $file.tex >/dev/null 2>&1") == 0
+ my $sfile = shell_quote $file;
+
+ system("pslatex $sfile.tex >/dev/null 2>&1") == 0
or die "pslatex $file.tex failed: $!";
- system("pslatex $file.tex >/dev/null 2>&1") == 0
+ system("pslatex $sfile.tex >/dev/null 2>&1") == 0
or die "pslatex $file.tex failed: $!";
#system('dvipdf', "$file.dvi", "$file.pdf" );
- my $sfile = shell_quote $file;
system(
"dvips -q -t letter -f $sfile.dvi ".
"| gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$sfile.pdf ".
More information about the freeside-commits
mailing list