A sourcecode to pdf converter (to replace the a2ps-ps2pdf-sequence)
- Python 100%
| src/src2pdf | Better encoding detection. | |
| MANIFEST | restructured the code to make it work with distutils | |
| pyproject.toml | Better encoding detection. | |
| README.md | Create README.md | |
src2pdf
A sourcecode to pdf converter (to replace the a2ps-ps2pdf-sequence)
This script formats source code to nice looking pdf files. It is born out of my frustration with a2ps, which is not able to handle utf-8 encoded files correctly. src2pdf uses pygments and therefore can handle all supported languages.
src2pdf does not depend upon a pdf library for creating the output. Instead output is created by directly printing pdf statements.