Re: global variables
Derek Robert Price <[email protected]> Mon, 16 Jun 2003 14:00:23 -0400
| Newsgroups | gmane.comp.tex.texi2html.devel |
|---|---|
| Organization | Ximbiot <http://ximbiot.com> |
| Message-ID | <[email protected]> |
Dumas Patrice wrote:
>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.
>
Great! Perhaps the init file stuff could be hidden in a
Texi2HTML::Config or something, like CPAN does?
>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
>
I don't know enough about these to tell you off the top of my head.
>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 ?
>
Where was the example of an init file? What should I be looking for?
The buttons & such?
Derek
--
*8^)
Email: [email protected]
Get CVS support at <http://ximbiot.com>!
--
When the only tool you own is a hammer, every problem begins to resemble a
nail.
- Abraham Maslow