[Tex/LaTex] How to convert LaTeX to HTML, keeping formatting of pdf.dvi

htmltex4ht

I would like to convert a LaTeX document (in this case, a resume) to HTML for submission, since .pdf and .dvi are not allowed formats. How can I do this while maintaining the same formatting (e.g. spacing, line lengths, etc.)? I have ha the most success using tex4ht, but this still produces line lengths that stretch across the screen and are bothersome to read. How can I solve this problem? Thanks in advance for helping!

Best Answer

Although it doesn't convert LaTeX directly into HTML, I can really recommend PDF2htmlEX. It's a free software project, which delivers stunning results from the output of PDFtex. Its available for all major platforms (Linux, Mac Windows).