在不使用 pdflatex 的情况下从 Python 创建一个 Latex pdf 表
我想生成一个由 python 脚本内的 Latex 创建的 pdf 输出。 由于我在 Windows 下使用 python xy 工作并且无法安装 Latex,所以我想知道是否有一种方法可以使用 pythonxy 中的 package 生成乳胶输出(例如 sphinx 或 docutils) 欢迎任何建议
i want to generate a pdf output created from latex inside a python script.
Since I'ma working under windows with python xy and that i cannot install latex, i would like to know if there is a way to produce a latex output using a package from pythonxy (like sphinx or docutils)
Any suggestions welcomed
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
PlasTeX 是一个可以解释 LaTeX 文件的 Python 包。由于它不包含 PDF 渲染器,因此渲染为 PDF 的最简单方法可能是通过 DocBook 渲染器。但我认为没有任何适用于 Python 的 DocBook 渲染器。
纯 python 解决方案是为 RinohType 编写 plasTeX(或 DocBook)前端(我我是 RinohType 的作者)。
PlasTeX is a Python package that can interpret LaTeX files. Since it does not include a PDF renderer, the easiest way to render to PDF is probably via the DocBook renderer. I don't think there are any DocBook renderers for Python though.
A pure-python solution would be to write a plasTeX (or DocBook) frontend for RinohType (I'm the author of RinohType).