in reply to pdf to html

All depends on how much of the PDF file you will want to keep: just the text or also the whole of the formatting?

I do not think there is any easy way to transfer the formatting from a PDF file to a HTML file, unless you transform the PDF file into a picture (jpeg or such) and include that in your HTML.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James