Skip to content

Instantly share code, notes, and snippets.

@glegoux
Last active October 22, 2016 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glegoux/c1ebd72436a8bfd62a3a8ccc54b7c120 to your computer and use it in GitHub Desktop.
Save glegoux/c1ebd72436a8bfd62a3a8ccc54b7c120 to your computer and use it in GitHub Desktop.
[Bash] Transform slides to pdf file
#!/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