Quote:
Originally Posted by Jellby
No, I don't use it as a source format... but it's not too difficult to convert a properly tagged .tex file into HTML. Not automatic, but doable in a rather short time (I've done that). Converting the LaTeX formatting into CSS, now that's a different matter.
|
Unfortunately, I do use it as a source format--for reasons having nothing to do with portable readers; it's just a part of my job--and it would be nice to have a way of converting to other formats.
Very simple things, yeah, you can do with find and replace actions or scripts, e.g., changing \textit{*} to <i>*</i> is simple enough... but there are just so many things that I don't even know how to do with HTML (and MathML doesn't seem to be supported anywhere).... e.g., something as simple as a
fraction x/y, with the x written vertically over the y with a bar in between. How do you do that in HTML? Is it even possible? Maybe with CSS... but even that is beyond my knowledge...
Quote:
Originally Posted by tompe
Well latex2html does an OK job and there are other methods.
|
I've been meaning to play around with Latex2html, but haven't found the time.
Quote:
It is also not especially hard to throw together e.g. a Perl script that handles the files you have available.
|
It's not, huh? Maybe if I even knew what the corresponding HTML is for half the LaTeX tags I use, I could write such a script, but usually, I don't... and I suspect HTML doesn't even have anything comparable.