[l2h] include .sty files
nlct at cmp.uea.ac.uk
nlct at cmp.uea.ac.uk
Wed Jul 13 14:41:56 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?
You need to convert your .sty file to a perl script. I've got some
introductory notes on this at:
http://theoval.sys.uea.ac.uk/~nlct/latex/l2h/index.html
Regards
Nicola
____________________________________________
Dr Nicola Talbot
School of Computing Sciences
University of East Anglia
Norwich. Norfolk. NR4 7TJ. UK
e-mail : nlct at cmp.uea.ac.uk
web : http://theoval.sys.uea.ac.uk/~nlct/
More information about the latex2html
mailing list