ambuda
ambuda copied to clipboard
Templating: Text to PDF
A thread for taking a text and rendering it in a pretty pdf. Here are a few initial requirements for us to vote on:
- Verse or segment per page.
- A good amount of white space for note taking
- Font choice to support vedic accents
- transliteration taken from website's transliteration engine
sounds great! An MVP might be a standalone script that accepts a TEI XML file then produces a PDF. We can run it as a batch (offline) script then serve the results directly from a folder on the production system. Once it's more solid, we can make it a background Celery task that runs whenever the text is changed.
Yup. That seems a good place to start. I'll work on that later this week depending on work.