Document Classesletter class and html output

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
neilhwatson
Posts: 2
Joined: Thu Oct 09, 2008 3:40 pm

letter class and html output

Post by neilhwatson »

Greetings,

This morning I starting working with the letter class. My needs are simple so this class seemed ideal. Beyond PDF and DVIPS I'd also like to output a letter as HTML. Using other classes this has been easy using latex2html or hevea. Alas this class seems for force both tools to turn the letter into an image instead of HTML. Is there a way to output a document using this class as HTML and not an image?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

brlnd
Posts: 15
Joined: Wed Sep 17, 2008 6:50 pm

Re: letter class and html output

Post by brlnd »

Without having tried by brute-force, I would guess the answer to your question is 'no'. latex2html and friends can never cope with all document classes and packages in LaTeX, and I am quite sure that the letter-class is an example of this.

If you really need HTML and PDF from the same source, I would say go for writing the letter in a higher level markup language (XML?, SGML?), which you are able to both display in a web browser and also convert to LaTeX source code, which can be compiled to PDF.
Post Reply