[l2h] Adding html-code to the <HEAD> section
Julius Smith <email@example.com>
Mon, 02 Oct 2000 16:23:14 -0700
At 06:17 PM 3/1/2000 +0100, Thomas Anders wrote:
>On Mar 1, 17:33, firstname.lastname@example.org wrote:
> > which is defined inside a latex-document, into the <HEAD> section of
> > the generated html-doc? I looked through the manual, but without any
> > luck...
>Define your own subroutine "meta_information" (use the one in
>latex2html.config as a template) or use the variable $LATEX2HTML_META
>(although I haven't tried the latter yet).
In v99.2 beta 6, setting $LATEX2HTML_META cancels the existing setting,
which is (from latex2html.pin)
$LATEX2HTML_META = '<META NAME="Generator" CONTENT="LaTeX2HTML
. "\n<META HTTP-EQUIV=\"Content-Style-Type\" CONTENT=\"text/css\">"
Similarly, overriding &meta_information() seems to require rewriting the
whole thing. It seems that what we really need is a new variable
$LATEX2HTML_META_HOOK and/or something like
. &custom_META_hook($_) if (defined &custom_META_hook)
in the existing meta_information sub.