[l2h] package similar to overcite
Sun, 2 Jun 2002 10:38:37 +1000 (EST)
> Hi, all
> Suppose that a package defines a command to store something (for
> instance, \leftdelimiter).
> If the "perl version" of this package uses a variable like
> $LEFT_DELIMITER, what is the code in order to a redefinition of
> \leftdelimiter by the user make $LEFT_DELIMITER change and agree with
LaTeX2HTML recognises 2 LaTeX-like commands:
might do as you want.
The \HTMLsetenv command is evaluated in order with environments,
whereas \HTMLset evaluates in order with commands.
Otherwise the two are indentical in function, and within Perl
the variables are scoped according to however the variable itself
is used within the LaTeX2HTML subroutines that are active at the
time the command is evaluated; usually this will be 'global'.
Thus if you are wanting to switch between 1 value and another,
(according to LaTeX environments, say)
then you will need to use a command for each change.
It may take some trial and error to get it right.
Such things are best programmed as optional parameters to
environments, within the Perl coding for your package.
Hope this help,
> Miguel Vinicius Santini Frasson
> PhD student at Leiden University
> e-mail: email@example.com
> latex2html mailing list