[l2h] include .sty files

Igor Pechtchanski pechtcha at cs.nyu.edu
Wed Jul 13 07:18:07 CEST 2005


On Tue, 12 Jul 2005, Matthew Low wrote:

> Hello,
>
> I'd like to be able to include my own macro packages when using
> LaTeX2HTML. For example, my current sty file, mathpages.sty contains:
>
>   \ProvidesPackage{mathpages}
>   \NeedsTeXFormat{LaTeX2e}
>
>   \newcommand{\eg}{for example}
>   \newcommand{\ie}{that is}
>
> and inside my source code, I invoke the commands like this:
>
>   (\eg, we never see things...
>
> In the dvi output, \eg and \ie are replaced with "for example" and
> "that is" respectively and latex returns no errors. But LaTeX2HTML
> says that \ie and \eg are undefined and the cooresponding html output
> looks like:
>
>   (, we never see things...
>
> How do get LaTeX2HTML to recognize my sty file?

Try putting it in the same directory as the .tex files.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA



More information about the latex2html mailing list