Latex2Html Parameters for Nice Output

I keep my resume updated in Latex format, and use Latex2Html to convert it to HTML. I find the following parameters, plus a small amount of manual tweaking give me the output which is most similar to Latex’s DVI or PDF output:

latex2html -split 0 -nonavigation -title “Nikhil Bobb’s Resume” -noinfo resume.tex

By no means are these parameters only useful for resumes, they work just as well on other kinds of documents.

So what do the parameters do?

  • -split 0: Tells latex2html not to split the document into separate HTML docs based on Latex divisions such as the section.
  • -nonavigation: Since we are not splitting the document their is no need for a navigation interface
  • -title: Gives an HTML title to the document
  • -noinfo: Prevents latex2html from appending an about this document footer with details of the conversion process and latex2html.

Additionally I custom tweaked the CSS file to give me nice margins. To do that I add the following to the document specific styles section:

body {

margin-top: 10%;
margin-right: 10%;
margin-bottom: 10%;
margin-left: 10%;
}

The result is very similar to the output PDF, take a look.

Getting Fancy

I manually edited the HTML to add a link to my homepage at the bottom of my resume. But I could have potentially also used the -address parameter to do the same.

Digg this     Create a del.icio.us Bookmark     Add to Newsvine

No Responses to “Latex2Html Parameters for Nice Output”

No comments yet

Leave a Reply