[l2h] Installing latex2html with latest distros

Nasser M. Abbasi nma at 12000.org
Fri Nov 19 11:45:48 CET 2010

On 11/19/2010 2:22 AM, Adin Ramirez Rivera wrote:
> Well, I download it again and it has the same files.
> For example, anytopnm is an sh script without extension; pnmflip is a perl
> script with no extension also. When I run the config.bat it complains about
> those files.
> I don't know what the problem is. And in this version if you run the pnmcrop
> version by hand it prompts 10.27.0, not 10.27 as the script expects.
> I'm not sure if you have an updated latex2html script, but the one I
> download is not working.

(ps. it helps if you do not top post, makes it hard to reply).

The above is not a problem. These files have no extensions on my
system also (windows 7).

Did you compare the log file generated from config.bat with the one
I had here?


I also got a warning on these files, you can see that  it says:

"G:\LATEX\GnuWin32\bin\pnmcrop.exe -verbose yes
checking for pnmflip... no"

so it is OK. Need to follow all the steps. to the end, and run
the install, test and then see what you get.



> 2010/11/19 Nasser M. Abbasi<nma at 12000.org>
>> On 11/19/2010 12:15 AM, Adin Ramirez Rivera wrote:
>>> I found that the problem is the Netpbm distribution. Some files that
>>> latex2html is complaining about are there, however, they have no extension
>>> (because are pl or sh files) and the system cannot recognize them. I found
>>> a
>>> work around for the pl files, adding that extension to the "find_prog"
>>> function in the config.pl file, and adding the pl extension to those
>>> files.
>>> However for the sh files I don't know what to do.
>>> Any suggestions?
>> All what I can say, is that I never had to do what you are doing ref
>> netpbm.
>> I downloaded netpmb v 10.27 from
>> http://gnuwin32.sourceforge.net/packages/netpbm.htm
>> and installed it. Never had to mess around with file extensions.
>> Therefore, I think you might want to step back and find why the
>> files have no extension? there is some strange thing going on your
>> windows XP system. That is all what I can guess now. Once you start
>> having to modify file names and add missing extension, then you
>> know you must be on the wrong path.
>> Sorry, no other ideas from me now other than to try to find
>> out where the files do not have extensions to start with.
>> good luck
>> --Nasser
>>   2010/11/18 Nasser M. Abbasi<nma at 12000.org>
>>>   On 11/18/2010 1:26 AM, Adin Ramirez Rivera wrote:
>>>>   Hi list,
>>>>> I'd been trying to install latex2html with the latest distributions but
>>>>> I
>>>>> cannot succeed.
>>>>> I'm under a windows XP, using latex2html-2008 version, MiKTex2.8,
>>>>> GnuWin32
>>>>> Netpbm 10.27.0, and GS8.54 (I tried with others too). However, I always
>>>>> get
>>>>> errors and the images are not generated.
>>>>> I got an error from the pnmcrop file
>>>>> checking for pnmcrop... C:\texutils\GnuWin32\bin\pnmcrop.exe
>>>>>   Argument "10.27.0" isn't numeric in numeric gt (>) at
>>>>>> config\config.plline 1284
>>>>>> .
>>>>>> C:\texutils\GnuWin32\bin\pnmcrop.exe -verbose yes
>>>>>>   However, I could fix this one (I guess) by modifying the
>>>>>> config.plfile,
>>>>> updating the versions because they do not support 3 digits versions.
>>>>> Then I have a lot of missing files from netpbm
>>>>>     - pnmflip (I think this one is creating troubles for the pictures
>>>>> because
>>>>>     it prompts this warning: "Warning: You may need to rely on LaTeX to
>>>>> generate
>>>>>     images with  effects."
>>>>>     - ppmquant
>>>>>     - picttoppm
>>>>> I read somewhere that some files are depreciated now. What can I do? Any
>>>>> suggestions?
>>>>> I tried several tutorials and other previous step from several people
>>>>> without success.
>>>>> Hope to read you soon.
>>>>>   I do not remember seeing the above error myself. I also have
>>>> windows 7, and latex2html-2008 version and MiKTex2.8.
>>>> I can only suggest to look at my report on the installation:
>>>> http://12000.org/my_notes/l2hwin/index.htm
>>>> and make sure all the steps you did are ok. Most of the problems
>>>> with l2h are due to configuration issues, software versions mismatch,
>>>> and such.
>>>> This is all what I can suggest at this time, may be some one else
>>>> can have better advice.
>>>> good luck,
>>>> --Nasser

More information about the latex2html mailing list