Ross Moore <[EMAIL PROTECTED]> writes:
> If Dan's markup used a user-defined environment like {codefigure},
> rather than directly using {figure} environments, then there would
> be no need for the PERL script to insert the extra {makeimage}
> environments. A simple adjustment to the definition of the
> user-defined environment would suffice.
>
> ** Use more (user-definable) markup. **
True enough, and good advice for those to whom it applies. But as was
mentioned earlier, different projects will need different solutions.
I would imagine that a lot of people are in the situation of
converting large documents (in my case over 12 meg of LaTEX source)
over which they have had no markup control.
Markups in existing documents can be -very- dirty. I've found the
only way to get them into a format that latex2html can grok was to
write a PERL preprocessor that strips complex markups, folds down
conditionals, & tries to normalize weird little local idiosyncracies.
So far I've been about 80% successful. It's definitely a kludge. But
I'll do anything to avoid having to rewrite 12 meg of bad markups.
Dan Young