Lightweight renderer of LaTeX to a variety of graphics formats
Project description
A little library which renders LaTeX to various formats, using applications on your system like latex, pdflatex, bibtex, dvips, ps2eps, and convert. LaTeX is automatically run as many times as necessary to achieve a clean compile (with a user-provided max number of attempts), and Bibtex processing is supported. Compilation takes place in temporary directories which are automatically cleaned up, can be initiated on a file or text string and include extra input files, and rendering stages are cached to reduce rendering latency.
See also the ‘tex’ module, for a more established TeX renderer with different design requirements.
Usage example:
r = Renderer("example.tex", runbibtex=True, extras=["example.bib"]) #r.verbose = True #r.rmtmpdir = False print r.mkeps("example.eps") print r.mkpng("example.png") print r.mkpdf("example.pdf")
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
File details
Details for the file tex2pix-0.1.4.tar.gz
.
File metadata
- Download URL: tex2pix-0.1.4.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13381317090a0f55c984fa05caa0a7c4f4f69b5a1417d2a0c5ff745108d36c8f |
|
MD5 | ef9d60cb2d964a17bee6948872fdb872 |
|
BLAKE2b-256 | e96c253f8049820318ef88ace8ced3cda9c019cb3d49c7146bfe41d804a6f5f9 |