From: dpvc v. a. <we...@ma...> - 2009-02-11 23:16:53
|
Log Message: ----------- Prevent extra dots from appearing in image names for TeX mode Modified Files: -------------- pg/macros: dangerousMacros.pl Revision Data ------------- Index: dangerousMacros.pl =================================================================== RCS file: /webwork/cvs/system/pg/macros/dangerousMacros.pl,v retrieving revision 1.52 retrieving revision 1.53 diff -Lmacros/dangerousMacros.pl -Lmacros/dangerousMacros.pl -u -r1.52 -r1.53 --- macros/dangerousMacros.pl +++ macros/dangerousMacros.pl @@ -1076,6 +1076,7 @@ # .gif FILES in TeX mode ################################################################################ + $setNumber =~ s/\./_/g; ## extra dots confuse latex's graphics package if ($envir{texDisposition} eq "pdf") { # We're going to create PDF files with our TeX (using pdflatex), so we # need images in PNG format. @@ -1208,6 +1209,7 @@ # .png FILES in TeX mode ################################################################################ + $setNumber =~ s/\./_/g; ## extra dots confuse latex's graphics package if ($envir{texDisposition} eq "pdf") { # We're going to create PDF files with our TeX (using pdflatex), so we # need images in PNG format. what luck! they're already in PDF format! |