Skip to main content

Generate pdf from latex in django

Project description


This project provides a python module named djatex which allows a django app to generate a PDF document from a LaTeX template file.


A small django project is included, with an example django app that generates a one-page PDF document in the LaTeX article style.

To set up the example server, run the following commands:

$ python3 -m venv pythonenv
$ source pythonenv/bin/activate
$ pip install django
$ python install
$ cd example
$ python migrate
$ python runserver

You should now have an http server running on localhost port 8000. Connect to localhost:8000 with your web browser to generate a PDF.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
djatex-0.1.15-py3-none-any.whl (7.6 kB) Copy SHA256 hash SHA256 Wheel py3
djatex-0.1.15.tar.gz (20.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page