I posted the question here How to Convert XeTeX to HTML However I tried something different so decided to ask the issues with the results as a new question. So far my XeTeX file is nicely getting concerted to HTML, thats nice :) I am attaching screenshot of PDF and HTML file. the table format did not come at all in the HTML.

Image one is HTML and image 2 is pdf output. minimum example can be found of the previous post link given above.

enter image description here

enter image description here

This is the command I ran pandoc --from latex 001.tex --to html --standalone --output 001.html

I hope its something in my code than latex limitations. I would greatly appreciate your help.

2 Answers 2


Pandoc's LaTeX parser is limited; it will generally get you most of the way there, but some manual cleanup is usually required. Note also that pandoc currently interprets LaTeX macros only in math contexts, and your document makes heavy use of macros.

  • so in short at the point there is no easy solution for the problem I got myself into. :(, When you said manual cleanup is required then can you please elaborate on that part.
    – Aku
    Commented Feb 12, 2012 at 11:37

This is not a Pandoc solution however I thought to post here With the help of John Macfarlane I got a workable solution. He suggested me to try "hevea" For that I had to download hevea from this site - ftp://ftp.inria.fr/INRIA/Projects/para/hevea/

Download Ocaml http://caml.inria.fr/ocaml/ and install.

cd to hevea directory and follow the installation procedure. Then use this command. hevea <filename.tex>

There you go, you should have a html file with tables. However here is something latex gurus can help figure out. enter image description here

As can be seen on the original image there were only three vertical lines but now it seems each cell has a border. can this border be change to match with original pdf formatting.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .