[l2h] calling latex2html with -dir . fails

Carsten Leonhardt leo at debian.org
Mon Sep 16 14:30:09 CEST 2024


Daniel Gildea <gildea at cs.rochester.edu> writes:

>> Calling with -dir . leads to errors instead of the expected run with the
>> same result as not setting -dir at all.  It is not so important, as it
>> is always possible to avoid using -dir at all, but still.
>
> Should be fixed in github.  Since "-dir ." does not create a
> subdirectory for the html files, it actually is not the same as the
> defualt behavior.  However, the option "-rootdir ." is the same
> as the default behavior.

With the patch applied, using "-rootdir ." displays an error:

$ latex2html -rootdir . l2htest.tex
[...]
Error (Make_directory_absolute): chdir "" failed: No such file or directory
 at /usr/bin/latex2html line 1289.
[...]

The output with and without "-rootdir ." differs a little although you
write that it's the same as the default behavior.

Regards

Carsten


More information about the latex2html mailing list.