global variables
Dumas Patrice <[email protected]> Thu, 13 Feb 2003 19:22:49 +0100
| Newsgroups | gmane.comp.tex.texi2html.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I finished making variables lexically scoped. There are sill some global
variables. For some it is because they are shared by code in texi2html.init.
I left %l2h_img because I haven't understood what is the real scope of this
variable.
I left the others because they may be changes by users, and set in an init
file. However I am no certain that this is a good idea for all those variables
(and maybe even none !). Here is the list, could you please verify ?
$complex_format_map
$index_properties
%accent_map
%def_map
%format_map
%predefined_index
%simple_map
%style_map
%things_map
%to_skip
%user_sub
%valid_index
%sec2level
Maybe it would be nice to have examples of init files showing what variables
are redefined. It could also be worth introducing tests with init files.
Does anybody here use such files ? For example I am very impressed by the
example given in the manual (http://www.singular.uni-kl.de/Manual/html/).
I believe Olaf Bachmann did the init file ?
I downloaded the Singular package, I got documentation to compile
with lots of dubious hacks, but it works, and it seems to work with
the cvs version too (but I didn't test it fully). I will add it to the
tests when it is cleaner.
Pat