summaryrefslogtreecommitdiff
path: root/pdfcrop.sh
blob: 74ad4a6117d12b1c56a85550cf9249fba644035d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

texlive=$1
if [[ $texlive =~ ^[^/].*$ ]]; then
    texlive=$PWD/$texlive
fi
echo "Using TeXLive installation: $texlive"
uncropped=$2
output=$3

PATH=$texlive/bin/x86_64:$PATH
pdfcrop $uncropped $output --pdftex
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback