Last active
October 22, 2016 20:08
-
-
Save glegoux/c1ebd72436a8bfd62a3a8ccc54b7c120 to your computer and use it in GitHub Desktop.
[Bash] Transform slides to pdf file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
rows=$1 | |
columns=$2 | |
pdfname=$3 | |
# There are ${rows}x${columns} slides per pdf page. | |
# Create a new pdf file <name>-nub.pdf in the current folder for pdfname=<name>.pdf | |
pdfnup --no-landscape --a4paper --nup ${columns}x${rows} ${pdfname} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment