From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja-JP; rv:1.7.5) Gecko/20041108 Firefox/1.0 Description of problem: When I use '-white' option to the 'latex2html' command, I do not get the proper output as expected. Version-Release number of selected component (if applicable): tetex-latex-2.0.2-21.2 How reproducible: Always Steps to Reproduce: 1. edit math.tex -------------------------------- \documentclass{article} \begin{document} \[ \int_{-\infty}^\infty e^{-\alpha x^2} dx = \sqrt{\frac{\pi}{\alpha}} \] \end{document} ---------------- 2. run latex2html latex2html -white -notransparent -debug math.tex 3. view a generated image at math/img1.png Actual Results: gray background Expected Results: white background Additional info: Here is a bug in pstoimg program. I fixed. --- latex2html-2002-2-1/pstoimg.pin 2001-10-26 14:15:01.000000000 +0900 +++ /usr/bin/pstoimg 2005-01-20 09:16:07.744498381 +0900 @@ -1123,7 +1021,7 @@ } my $had_nonwhite; if($opt{white}) { - $had_nonwhite = ($ps =~ s/(\n\d+ \d+ bop gsave) \d*\.\d+ (TeXcolorgray clippath fill grestore)/$1 1 $2/s); + $had_nonwhite = ($ps =~ s/(\s\d+ \d+ bop gsave) \d*\.\d+ (TeXcolorgray clippath fill grestore)/$1 1 $2/s); } $ps_changed = $had_papersize || $had_nonwhite; if($ps_changed) {
*** This bug has been marked as a duplicate of 127010 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.