skip to navigation
skip to content

Not Logged In

tex 1.5

Convert LaTeX or TeX source to PDF or DVI, and escape strings for LaTeX.

Package Documentation

Latest Version: 1.8

Example:

>>> from tex import latex2pdf
>>> document = ur"""
... \documentclass{article}
... \begin{document}
... Hello, World!
... \end{document}
... """
>>> pdf = latex2pdf(document)
>>> type(pdf)
<type 'str'>
>>> print "PDF size: %.1f KB" % (len(pdf) / 1024.0)
PDF size: 5.6 KB
>>> pdf[:5]
'%PDF-'
>>> pdf[-6:]
'%%EOF\n'
 
File Type Py Version Uploaded on Size
tex-1.5-py2.4.egg (md5, pgp) Python Egg 2.4 2009-09-29 7KB
tex-1.5-py2.5.egg (md5, pgp) Python Egg 2.5 2009-09-29 7KB
tex-1.5.tar.gz (md5, pgp) Source 2009-09-29 3KB
  • Downloads (All Versions):
  • 87 downloads in the last day
  • 288 downloads in the last week
  • 1218 downloads in the last month