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

Duc A. HOANG anhduc.hoang1990 at gmail.com
Tue Oct 24 02:43:33 CEST 2017


Dear Shigeharu TAKENO,

I confirm that this modification works too.
Thanks!

Best regards.
Duc A. HOANG


On Tue, Oct 24, 2017 at 8:47 AM, Shigeharu TAKENO <shige at iee.niit.ac.jp> wrote:
> 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