Skip to content

Instantly share code, notes, and snippets.

@fredokun
Created June 16, 2016 15:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fredokun/20440707c465664c547cd25681dbdc6e to your computer and use it in GitHub Desktop.
Save fredokun/20440707c465664c547cd25681dbdc6e to your computer and use it in GitHub Desktop.
pygmentize to pdf via latex
pygmentize -f latex -O full -o mylisting.tex mylisting.src
pdflatex mylisting.tex
@fredokun
Copy link
Author

fredokun commented Nov 24, 2017

clojure variant :

pygmentize -l clojure -f latex -O linenos=True,full -o mylisting.tex mylisting.clj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment