[l2h] Error when loading .latex2html-init in Windows
Shigeharu TAKENO
shige at iee.niit.ac.jp
Mon Oct 16 12:50:06 CEST 2017
shige 10/16 2017
----------------
"Duc A. HOANG" wrote:
| 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:
=====
| 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.
I think that is a bug introduced in latex2html-2017.2.
Try to modify your C:\latex2html\bin/latex2html.bat at that line:
if ($INIT_FILE !~ /^[.$dd]/) {
to
if ($INIT_FILE !~ /^[.$dd$dd]/) {
+========================================================+
Shigeharu TAKENO NIigata Institute of Technology
kashiwazaki,Niigata 945-1195 JAPAN
shige at iee.niit.ac.jp TEL(&FAX): +81-257-22-8161
+========================================================+
More information about the latex2html
mailing list