[l2h] latex2html-2015 problems: chdir to home directory, Illegal seek

Gavin Smith gavinsmith0123 at gmail.com
Tue Mar 22 08:20:12 CET 2016


Thank you for your suggestions and apologies for the delay in
replying. Answers below.

On 19 February 2016 at 11:59, Shigeharu TAKENO <shige at iee.niit.ac.jp> wrote:
> shige 02/19 2016
> ----------------
>
> Gavin Smith wrote:
> | The second one also gives:
> |
> | $ /usr/bin/pnmcrop -verbose  -bot -sides  -black < tmp1.pnm > tmp2.pnm
> | pnmcrop: You cannot specify both -sides and either -black or -white
>
> This command fails. You can check it whether the size of tmp2.pnm equals
> zero.

Yes, tmp2.pnm has sign 0.

> According to config/config.pl, the pnmcrop option "-black" is for old
> netpbm (before 9.12), and it may cause the failure. It would be attached
> to your bin/pstoimg at configure instruction (config/config.pl has a bug
> which it cannot recognize the correct version of Netpbm 10.XX.YY).
>
> Please edit your bin/pstoimg from
>
>  my $PNMBLACK = ' -black ';
>  $PNMCROPOPT = $PNMBLACK;
>
> to
>
>  $PNMCROPOPT = ' -sides ';
>
> Hope this helps.

Thanks a lot, that was the problem. I successfully ran latex2html to
create an HTML file with images of an equation in it.


More information about the latex2html mailing list