On Mon, Oct 26, 2020 at 10:49:35PM +0100, Patrice Dumas wrote: > 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?
No, it was texi2any.pl I was running. > 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. That's odd, it should have worked then. I will have to try it again and check which init file is being read. > 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. Yes, but it should be able to read the init files from an uninstalled location.
