4 ms·
I wrote a Django app that uses LaTeX to create invoices and some other stuff. It allows me to create nice-looking invoices and reports without manually specifyi
by soult 9y ago
I wrote a Django app that uses LaTeX to create invoices and some other stuff. It allows me to create nice-looking invoices and reports without manually specifying the (x, y)-position of each line of text, which some PDF generating libraries require. Maybe docgen.io can help others to also create nice invoices.
Unfortunately the "Try me" part seems to be broken - no matter what I input, it always shows the same PDF.
- nicholasjstock 9y agoCheck at the log tab and the tex tab, the tex tab is the tex file compiled after templating and the log is the output generated by pdflatex. In the log you should see an error. Likely you Tex file contents ins't properly understood by the system
- deleted 9y ago[deleted]
- soult 9y agoThe log tab says error, but it still displays a PDF. Actually, it displays the last PDF that was rendered on the server, even if that PDF was created by a different user.
- nicholasjstock 9y agoyeah I have to fix that render bug in the example implementation. The try this uses the same API_KEY for every client. In real life you wouldn't be seeing other peoples PDFs