[l2h] simple abbreviation style macro's

Phillip Lord p.lord@russet.org.uk
Tue, 8 Oct 2002 16:32:15 +0100


Hello all.

One thing that I tend to do a lot of is define simple abbreviation
type macros, such as 

\newcommand{\cs}{Computer Science\xspace}. 

I do this because I use a lot of resources which require certain
capitalisation, or hyphenation, and I keep getting it wrong. No to
avoid duplication I still all of these into a style file, so that I
can share them among documents. 

The problem is that latex2html doesn't like this, although if you put
the commands directly into preamble then all is fine. So clearly
latex2html can parse this stuff. Now I realise I could just write a
latex2html style, but I'd have to update this with new abbreviations
as they come, which I don't really want to do. 

Is it possible, to define a style file as "boring", and have
latex2html operate directly on it, by parsing its contents. I realise
that if the style files get complex its not going to work, but just
for abbreviation type files it should work well. 

Cheers

Phil