Convert LaTeX or TeX source to PDF or DVI, and escape strings for LaTeX.
Project description
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'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tex-1.4.tar.gz
(3.6 kB
view details)
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tex-1.4-py2.5.egg
(7.8 kB
view details)
tex-1.4-py2.4.egg
(7.9 kB
view details)
File details
Details for the file tex-1.4.tar.gz.
File metadata
- Download URL: tex-1.4.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9912110e586b0b63abf7eb1512c02f2a3d3f8bee530a249a67ae91f6f0560cf9
|
|
| MD5 |
4eff7e5fce4df2936617d88531d0d14b
|
|
| BLAKE2b-256 |
c23d88b074fc02034d88cd0977b71aaaad3a346aa5652d0f9e59bb14359cd110
|
File details
Details for the file tex-1.4-py2.5.egg.
File metadata
- Download URL: tex-1.4-py2.5.egg
- Upload date:
- Size: 7.8 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd8a6660094b7f4d17764a20529a17f2bfe9d0bdc1e0df0f6aec15154516350f
|
|
| MD5 |
2c1dd3137eeb727c184d24d8426963f1
|
|
| BLAKE2b-256 |
ee4b75da33037d2840fbab3985dca470ff0630a130acd15b7ba1fe90dba5bb68
|
File details
Details for the file tex-1.4-py2.4.egg.
File metadata
- Download URL: tex-1.4-py2.4.egg
- Upload date:
- Size: 7.9 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13802956eaebdd06189dfd1e2ba37dad972bf831138485fc66c163d578a48a18
|
|
| MD5 |
b73e12581738add3a497c199803091e6
|
|
| BLAKE2b-256 |
bb7feb68f4f9e19b81237460e6e9927b3cea875f11abf51fe387dec940c1e6fe
|