0

I wrote a documentation for an application in LaTex, and was wondering what the best way to display in a webpage. I can just convert it to HTML, but I'm wondering if there's a better way with all the nice css styling done automatically as in other web documentations.

I'm looking for something like Sphinx, but never used it, so not sure if it's a good solution to a document already made in .tex/.pdf

xcorat
  • 1,434
  • 2
  • 17
  • 34
  • Why you don't Embed PDF in Webpage ?? – Pamma Mar 25 '13 at 23:20
  • 1
    Sphinx uses reStructuredText and generates HTML and PDF documentation out of that. I'm not sure if you want to rewrite your LaTeX file, but reStructuredText is really easy to work with. – Blender Mar 25 '13 at 23:21
  • @Pamma , just because it's ugly and.. idk, looks old agish :) – xcorat Mar 25 '13 at 23:24
  • @Blender, Thank you, I DO NOT want to re write, but i'll take a look and see if want to redo it. – xcorat Mar 25 '13 at 23:24

1 Answers1

0

Here's what I did, (thx @Blender)

Exported the Latex file to html using tex4ht (texmaker) and used pandoc to convert the html file to reStructuresText, and edited that .rst to fit the specifications of sphinx. This was needed since I wanted to break the latex file to few different HTML files.

Then used sphinx to generate the PDF file. I think I'm going to keep writing in .rst, so it's easy to convert both to HTML, and PDF.

Adding the answer so anyone having the same problem will get some ideas.

xcorat
  • 1,434
  • 2
  • 17
  • 34