PHP - LaTeX rendering

I am at the stage of developing a new project that will take a dataset and load it into a document, and then draw the document around the template. The displayed file can be a CSV dataset, a PDF letter, an email, and more. Data will not be mathematical equations, I just look at an elegant way to connect many data sources to many documents and output in many templates

I am completely in the dark using latex in php. Is there anything similar? Most of what I can find is that we give latex equations in one PNG, rather than letting me choose between PDF, CSV, raw text, etc.

Alternatively, can I do this with something else?

+4
source share
2 answers

I implemented this approach years (2002?) Ago using smarty templates and creating PDF, CSV, HTML, XML (no problem using a Smarty template) ...... from the same data .... Maybe you can see fpdf.org ...

EDIT: Maybe you can take a look at http://railscasts.com/episodes/220-pdfkit (Maybe there is a ppp pear package, etc.)? )

+1
source

I'm not sure if this is what you are looking for, but there are JavaScript libraries that can display LaTeX formulas on the client side and display them in a browser using fonts that are also used by LaTeX. To do this, take a look at MathJax or its predecessor jsMath.

+1
source

All Articles