[l2h] Error when loading .latex2html-init in Windows

Duc A. HOANG anhduc.hoang1990 at gmail.com
Mon Oct 16 06:00:42 CEST 2017


Dear all members of the mailing list,

Recently, I install LaTeX2HTML Ver. 2017.2 (available at this page
https://github.com/latex2html/latex2html) in Windows 10 Pro 32-bit.
The installation is successful, and the log of my installation is as
follows:

config.pl, Release 2017.2 (Released Jan 23, 2017)
Accompanies LaTeX2HTML, (C) 1999 GNU Public License.

checking for old config file (cfgcache.pm)... not found (ok)
checking for platform... MSWin32 (Windows 32 bit)
checking for C:\Perl\bin\perl.exe... C:\Perl\bin\perl.exe
checking perl version... 5.022004
checking if perl supports some dbm... yes
checking if perl globbing works... yes
checking for tex... C:\texlive\2017\bin\win32\tex.exe
checking for latex... C:\texlive\2017\bin\win32\latex.exe
checking for initex... C:\texlive\2017\bin\win32\initex.exe
checking for kpsewhich... C:\texlive\2017\bin\win32\kpsewhich.exe
checking for kpsewhich syntax... ok (style=1)
checking for TeX include path... /texlive/texmf-local/tex\latex\html
checking for mktexlsr... C:\texlive\2017\bin\win32\mktexlsr.exe
checking for dvips... C:\texlive\2017\bin\win32\dvips.exe
checking dvips version... 5.997
checking if dvips supports the combination of -E and -i -S 1... yes
checking for dvipng... C:\texlive\2017\bin\win32\dvipng.exe
checking for html4-check... no
checking for gswin32c... C:\gs\gs8.54\bin\gswin32c.exe
checking for ghostscript version... 8.54
checking for ghostscript portable bitmap device... pnmraw
checking for full color device for anti-aliasing... ppmraw
checking for ghostscript library and font paths... built-in paths are correct
checking for pnmcrop... C:\GnuWin32\bin\pnmcrop.exe
yes
checking for pnmflip... no
Warning: You may need to rely on LaTeX to generate images with flipping effects.
checking for ppmquant... no
checking for pnmfile... C:\GnuWin32\bin\pnmfile.exe
checking for pnmcat... C:\GnuWin32\bin\pnmcat.exe
checking for pbmmake... C:\GnuWin32\bin\pbmmake.exe
checking for ppmtogif... C:\GnuWin32\bin\ppmtogif.exe
yes
checking if ppmtogif can make interlaced GIFs... yes
checking for pnmtopng... C:\GnuWin32\bin\pnmtopng.exe
checking for ppmtojpeg... C:\GnuWin32\bin\ppmtojpeg.exe
checking for pnmcut... C:\GnuWin32\bin\pnmcut.exe
checking for pnmpad... C:\GnuWin32\bin\pnmpad.exe
checking for pnmrotate... C:\GnuWin32\bin\pnmrotate.exe
checking for pnmscale... C:\GnuWin32\bin\pnmscale.exe
checking for giftopnm... C:\GnuWin32\bin\giftopnm.exe
checking for jpegtopnm... C:\GnuWin32\bin\jpegtopnm.exe
checking for pngtopnm... C:\GnuWin32\bin\pngtopnm.exe
checking for tifftopnm... C:\GnuWin32\bin\tifftopnm.exe
checking for picttoppm... no
Warning: You cannot directly translate/modify graphics of pict format.
checking for anytopnm... no
Warning: You cannot directly translate/modify graphics of arbitrary format.
checking for bmptoppm... C:\GnuWin32\bin\bmptoppm.exe
checking for pcxtoppm... C:\GnuWin32\bin\pcxtoppm.exe
checking for sgitopnm... C:\GnuWin32\bin\sgitopnm.exe
checking for xbmtopbm... C:\GnuWin32\bin\xbmtopbm.exe
checking for xwdtopnm... C:\GnuWin32\bin\xwdtopnm.exe
checking if multiple pipes work... no
Unfortunately multiple pipes are not reliable on this OS.
checking for temporary disk space... C:\Users\HOANGA~1\AppData\Local\Temp
creating cfgcache.pm
creating test.bat
creating install.bat
Note: Will install...
      ... executables to   : C:\latex2html\bin
      ... shared library items to : C:\latex2html
      ... unshared library items to : C:\latex2html

My problem now is that every time I use latex2html with a
.latex2html-init file (I even tested with the dot-latex2html-init file
included in the distribution) in the same directory as the TEX files,
the compilation process stops immediately and the following message
keep appearing:

Unmatched [ in regex; marked by <-- HERE in m/^[ <-- HERE .\]/ at
C:\latex2html\bin/latex2html.bat line 432.

On the other hand, if I delete the file .latex2html-init and
re-compile with latex2html then it works like a charm.

I am grateful if some of you could help with this problem.


Best regards.
Duc A. HOANG,


More information about the latex2html mailing list