reorganization of files

Dumas Patrice <[email protected]> Wed, 19 Feb 2003 17:46:24 +0100
Newsgroups gmane.comp.tex.texi2html.devel
Message-ID <[email protected]>
Hi,

First a good new, now the singular manual looks like the original one (and
the differences come from things I changed on purprose). Another (related)
good new is that perl texi2html.pl now works as expected once T2H_OPTIONS
and T2H_WORDS have been made globals.

Now I would like to change how things are organized, especially in 
texi2html.init. Indeed I see the following things which aren't clean for me:

* the texi2html.init file isn't an init file, as the options are declared
within this file, and the internationalization stuff is there too. I think
that is would be better if the  texi2html.init looked just like any
texi2html.init file, with the only difference that all the variables
are set, and that it is the default values.

* the options declarations are scattered through texi2html.init and 
texi2html.pl (for obsolete options). I think that all the options declarations
should be in texi2html.pl (while the default values for options variables 
should remain in texi2html.init). T2H_OPTIONS could be local then.

* the internationalization stuff shouldn't be in texi2html.init as it is 
not customizable. I propose a new file, called for example t2h_i18n.pm which
would use the modules machinery to export T2H_WORDS. This file would also
be included within the script like mySimple.pm to have a standalone script.

Should I proceed ?

Pat