Skip to content

MeltedMagic/Codeprinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Codeprinter

Terminal application to convert code files to .tex files. Output is a new directory named 'latex' with each code-file corresponding to a subdirectory. Each subdirectory has a .tex file since compiling such files produces a number of auxillary files.

Requirements

  • pdflatex
  • Pygments

How to Use

  1. Specify absolute path to directory with python files you want converted to pdfs.
  2. Edit Formatter for desired language
  3. python3 codeprinter.py

Future Improvements

  • line break at specified character count
  • Config file support
  • Number of subdirectory count
  • Excluded folders

About

Terminal application to convert code files to pdf

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages