Created
October 7, 2014 17:50
-
-
Save acmisiti/f71198dcb03443a036e2 to your computer and use it in GitHub Desktop.
latex to pdf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We use the code from this file to turn latex into pdf: | |
https://github.com/MikeHungerford/thecontractbox/blob/production/thecontractbox/tools/make_pdf.py | |
and here is an example of code that renders it: | |
https://gist.github.com/acmisiti/5a3c5a8ae7a65923ea52 | |
If you want full examples then you can look in documents/mixins.py EmployiiDocumentMixin. | |
https://github.com/MikeHungerford/thecontractbox/blob/production/thecontractbox/apps/documents/mixins.py | |
A specific method from that mixin would be 'generate_employee_agreement' on line 162. You can go down from that method and see others if you would like. | |
All tex file templates are in templates/tex/* | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment