[texhax] How to make latex2html follow custom .sty package

Miguel Telleria de Esteban miguel at mtelleria.com
Fri Dec 8 19:41:55 CET 2006

Dear all,

For simplicity, as many of you would understand, I have encapsulated all
the typical \usepackage and environment commands definitions that I use
in my own custom .sty file.

Thus my former big preamble now reduces to a mere:


The problem arrives with latex2html, because all the packages and
command definitions that he used to recognise in the main file are now
hidden in my custom .sty file.

I would like to find a way to tell latex2html to parse my .sty file and
take the same actions that he did when the preamble was present in the
main file.

The only track that I have found so far is this link:

   "To use a custom .sty file, create a local file
    called .latex2html-init with the entry $DO_INCLUDE = "style1:style2"
    corresponding to the style files "style1.sty" and "style2.sty", all
    residing in the same directory as the LaTeX source files."

However I have already created that file and put in it:


   but nothing seems to change in latex2html.

Thanks in advance for your answers,

	Miguel Telleria


|     (O-O)
 Miguel TELLERIA DE ESTEBAN               Personal Homepage:
 Email: Miguel at mtelleria.com           http://www.mtelleria.com

 Miembro de http://www.linuca.org         Tel home: +34 942 277429
 Membre de  http://www.bxlug.be           GSM:      +34 650 801098
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
Url : http://tug.org/pipermail/texhax/attachments/20061208/e6690de6/attachment.bin 

More information about the texhax mailing list