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

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

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