Mermoz
Mermoz

Reputation: 15474

Create a latex pdf table from Python without pdflatex

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

Upvotes: 0

Views: 1758

Answers (1)

Brecht Machiels
Brecht Machiels

Reputation: 3410

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).

Upvotes: 2

Related Questions