[l2h] loading an extra stylesheet

Ross Moore ross@ics.mq.edu.au
Thu, 3 May 2001 08:11:28 +1000 (EST)

> Does anyone know how to get latex2html to put a line
> in the head of each HTML document to load a
> user-defined stylesheet? Something along the lines of
> <link rel="stylesheet" ref="/stylesheet.css"
> type="text/css">

Yes. THe -style=<file>  flag passes the <file> name to
the  $STYLESHEET variable (which also could be set in
a .latex2html-init file for your job).
This must be a (relative) URL to the location of the actual file.

The LaTeX Web Companion describes the mechanism and gives
example usage, as well as describing macros that allow
stylesheet entries to be generated from within the LaTeX source.

There is also a mechanism whereby the stylesheet can be built
up dynamically, including the contents of a .css file
specified in  $EXTERNAL_STYLESHEET .

Hope this helps,

	Ross Moore

> Thanks.
> -- 
> _______________________________________________
> Get your free email from http://www.mail.com
> _______________________________________________
> latex2html mailing list
> latex2html@tug.org
> http://tug.org/mailman/listinfo/latex2html