2

Here is the big picture of what I want to do. I need a wiki for my University where we can modify tex file. The structure is the same as a normal wiki (history, comments, etc.) except the code of the documents would be only latex.

So I would like to know if there is a way (javascript, php) to compile a latex document online every time a modification is made ?

Note : I searched on google and stackoverflow and I did not find what I want yet. I do not need mathjax because I need more than just math equation. I read this solution too (PHP - LaTeX rendering) but I would prefer to do it only in php or javascript

thx.

Community
  • 1
  • 1
Paul Fournel
  • 10,807
  • 9
  • 40
  • 68

1 Answers1

6

Check out LaTeX2HTML for running a process server-side, and LaTeX4Web for doing it client side with Javascript.

Also, this question might be relevant too.

For a PHP specific project, check out http://drupal.org/project/drutex even if you aren't using Drupal. It has latex2html and html2latex functions.

Community
  • 1
  • 1
nathancahill
  • 10,452
  • 9
  • 51
  • 91
  • thx for your answer. LateX2Html could be a solution, but I would prefer to do it only in javascript or php. The other too solution only render math formula such as $ \lambda $ and I need to render a complete document. – Paul Fournel Mar 29 '13 at 08:07
  • Yey ! Thx a lot for your time. Drutex seems a good solution. I will check this out later today. – Paul Fournel Mar 29 '13 at 08:43