Package: latex2html
Version: 2002-2-1-20050114-6
Severity: normal

Hi,

I found a bug in Lenny's pstoimg, the -flip option is totally ignored.
Not tested in Squeeze, but I don't see any bug reports about it.

I can work around it by editing the perl script and forcibly flushing the $cmd
pipe at the end of the "if($opt{flip}) {" segment,

+  if($cmd) {
+    # empty command pipe, we need the image's geometry
+    &do_cmd($in,$tmp,$cmd);
+    $cmd='';
+  }

but as a general solution for the bug I wonder what else could have been in the 
forgotten $cmd string? or is it being clobbered instead of forgotten?
It seems the "-crop" option may be victim to the same thing.


thanks,
Hamish


-- System Information:
Debian Release: 5.0.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages latex2html depends on:
ii  ghostscript-x [gs] 8.62.dfsg.1-3.2lenny5 The GPL Ghostscript PostScript/PDF
ii  gs                 8.62.dfsg.1-3.2lenny5 Transitional package
ii  netpbm             2:10.0-12+lenny1      Graphics conversion tools
ii  perl               5.10.0-19lenny3       Larry Wall's Practical Extraction 
ii  perl-doc           5.10.0-19lenny3       Perl documentation
ii  texlive-base-bin   2007.dfsg.2-4+lenny3  TeX Live: Essential binaries
ii  texlive-fonts-reco 2007.dfsg.2-1~lenny2  TeX Live: Recommended fonts
ii  texlive-latex-reco 2007.dfsg.2-1~lenny2  TeX Live: LaTeX recommended packag

latex2html recommends no packages.

latex2html suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to