On Mon, Oct 26, 2020 at 08:51:02PM +0000, Gavin Smith wrote:
> When testing the support for latex2html for @displaymath, I found
> I had to run "make install" so that texi2any.pl would work properly.
> I expect that texi2any.pl is using the installed init file for
> latex2html, whereas running this file is supposed only to use uninstalled
> files.

Is the second texi2any.pl supposed to be texi2any?

In any case, texi2any.pl tries to find the init files as usual using 
--conf-dir, nothing special is done.  That's why in run_parser_all.sh
there is --conf-dir $srcdir/../t/init/ --conf-dir $srcdir/../init.

I would say that it is a feature, if we want latex2html support to be
"inside" of texi2any, it should be in a module, for example in
Convert::HTML and instead of redefining the functions, the function 
called may do something different based on the HTML_MATH value.  
For now it is an init file, so it is found like an init file.

-- 
Pat

Reply via email to