Skip to content

Commit

Permalink
add some other methods
Browse files Browse the repository at this point in the history
  • Loading branch information
rboman committed Nov 30, 2023
1 parent 61e0a04 commit 8fffe98
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions bin/pdfmerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,22 @@
#
# see https://stackoverflow.com/questions/2507766/merge-convert-multiple-pdf-files-into-one-pdf

# notes: A TESTER!!

# autres possibilités pour convertir du python en pdf:
# pygmentize: https://pygments.org/docs/cmdline/ (pip install Pygments)
# pygmentize -f latex -O full,style=emacs -o code.tex code.py
# pdflatex code.tex
#
# avec vim:
# vim fem.py -c ":hardcopy > abc.ps" -c ":q"
# ps2pdf abc.ps abc.pdf
#
# avec enscript:
# enscript -p code.ps --color=1 --line-numbers=1 --landscape --fancy-header --pretty-print=python code.py
# ps2pdf code.ps code.pdf
#

import os
import sys
import subprocess
Expand Down

0 comments on commit 8fffe98

Please sign in to comment.