[l2h] Error when using latex2html with option -html_version 3.2, latin2, unicode in Windows

Shigeharu TAKENO shige at iee.niit.ac.jp
Tue Oct 24 01:47:38 CEST 2017


shige 10/24 2017
----------------

I wrote:
| Well, to workaround the problem, I propose that
| 
| 1) modify the latex2html.bat at the line about 15657:
| 
|             # Require the option specific files 
|             @HTML_VERSION = split(/,/, $HTML_OPTIONS);
|             foreach $ext ( @HTML_VERSION ) {
| 
| to   
|             # Require the option specific files 
|             @HTML_VERSION = split(/:/, $HTML_OPTIONS);
|             foreach $ext ( @HTML_VERSION ) {
| 
| 2) specify the option for html_version with separator colon
|   instead of comma:
| 
|     -html_version 3.2:latin2:unicode
| 
| I think this is not a good solution, but may fix your problem 
| temporary.

I found better solution.

Please modify your latex2html.bat at the line about 6:

  :one
  if "%1"=="" goto two
  set arg=%arg% %1
  shift
  goto one
  :two

to

  :one
  rem if "%1"=="" goto two
  rem set arg=%arg% %1
  rem shift
  rem goto one
  set arg=%*
  :two

Lines started "rem" can be deleted.

It accepts options with comma as

  -html_version 3.2,latin2,unicode ...

+========================================================+
 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