[l2h] include .sty files

Matthew Low mlow82 at gmail.com
Tue Jul 12 23:38:43 CEST 2005


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?

Thanks in advance,
Matt



More information about the latex2html mailing list