Skip to main content

Generate pdf from latex in django

Project description


Description

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


Example

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 setup.py install
$ cd example
$ python manage.py migrate
$ python manage.py 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.

Source Distribution

djatex-0.1.16.tar.gz (16.4 kB view hashes)

Uploaded source

Built Distribution

djatex-0.1.16-py3-none-any.whl (13.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page