Typesetting LaTeX with Python.
Can be used for digital reading, or print-on-demand prints with Lulu, Amazon KDP, etc...
How to typeset a new book
- Find a public domain book (i.e. before circa 1930)
- Download a .rtf or .txt file from the internet (use
rtf2latex2e
if a .rtf source is available) - Rename
config.py.template
toconfig.py
and edit the fields. - Use
helpers.py
to tidy up the source code (i.e. correct quotations, collapse newline, fix underline italics, correct footnotes) and fix formatting. Uncomment and/or comment functions to suit your needs. - Format the title page as well as the introduction, appendix, etc. Again, use
helpers.py
or do this manually (might be faster?) - Profit