At 9:35 AM +0200 4/21/98, Giuseppe Vacanti wrote:
>If I understand the workings of LaTeX2HTML correclty, at the moment
>support for custom style files requires adding one or more files in
>the directory $LATEX2HTMLDIR/styles.
>
>At some sites (here for example) this requires system privileges that
>I don't have.

>Does it make sens to suggest that there should be a LATEX2HTMLPATH
>pointing to a list of directories where support for custom styles
>files could be stored?

The variable  $LATEX2HTMLSTYLES  already serves this purpose.
It's default value is  $LATEX2HTMLDIR/styles
but you can make it be a list of directories, including this default.

Within a  .latex2html-init  file simply have a line like:

 $LATEX2HTMLSTYLES = "<path-to-my-styles>:$LATEX2HTMLDIR/styles";

LaTeX2HTML searches the working directory first,
then each directory specified in  $LATEX2HTMLSTYLES .
It takes the first file that is found.


Technically the  `/' should be  $dd  and  `:' should be  $envkey
(for systems that use different characters for directory delimiters
 and as separators for paths).


Hope this helps.

        Ross Moore



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ross Moore                             email: [EMAIL PROTECTED]
Mathematics Department                 phone:      +612 9850 8955
Macquarie University                     fax:      +612 9850 8114
Sydney, NSW 2109                      office:             E7A-419
Australia              WWW: http://www-math.mpce.mq.edu.au/~ross/

                ***************************

for the best in (La)TeX-nical typesetting and Web page production
join the  TeX Users Group (TUG) --- browse at  http://www.tug.org

                 <[EMAIL PROTECTED]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reply via email to