PHP-LaTeX渲染 [英] PHP - LaTeX rendering
问题描述
我正处于一个新项目的设计阶段,该项目将获取数据集并将其加载到文档中,然后围绕模板渲染文档.呈现的文件可以是CSV数据集,PDF市场营销信函,电子邮件等等.数据将不是数学方程式,我只是在寻找一种将许多数据源连接到许多文档并输出许多模板的优美方法
I am in the design stages of a new project which will take a data set and load it into a document, then render the document around a template. The rendered file could be a data set of CSV, a PDF marketing letter, an email, ... a lot of things. The data will not be math equations, I'm simply looking at an elegant way of connecting many data sources into many documents and outputting in many templates
我在php中使用乳胶完全处于黑暗之中.那里有这样的东西吗?我所能找到的大多数插件都集中于将乳胶方程式渲染为一个PNG,而不是让我在PDF,CSV,原始文本等之间进行选择...
I'm entirely in the dark here with using latex in php. Is there anything like this out there? Most of what I could are plugins find is focused on rendering latex equations into one PNGs rather than allowing me to decide between PDF, CSV, raw-text, etc...
或者,我可以用别的东西做吗?
Alternatively, could I do this with something else?
推荐答案
几年前(2002?),我已经使用smarty模板实现了这种方法,并生成PDF,CSV,HTML,XML(通过Smarty Template没问题) ......根据相同的数据....也许您可以看看fpdf.org ...
I have implemented such an approach years (2002?) ago with smarty templates and producing PDF, CSV, HTML, XML (would be no problem via Smarty Template)......from the same data....May be you can take a look a fpdf.org ...
也许您可以看看 http://railscasts.com/episodes/220 -pdfkit (为此可能存在一个PHP pear软件包等吗?)
May be you can take a look at http://railscasts.com/episodes/220-pdfkit (May be there existing an PHP pear package etc. for this ?)
这篇关于PHP-LaTeX渲染的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!