diff options
Diffstat (limited to 'pdfcrop.sh')
-rw-r--r-- | pdfcrop.sh | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,14 +1,12 @@ #!/bin/bash -pdfcrop=$1 -texlive=$2 +texlive=$1 if [[ $texlive =~ ^[^/].*$ ]]; then texlive=$PWD/$texlive fi echo "Using TeXLive installation: $texlive" -uncropped=$3 -output=$4 +uncropped=$2 +output=$3 PATH=$texlive/bin/x86_64:$PATH -PDFCROP=$PWD/$pdfcrop -$PDFCROP $uncropped $output --pdftex +pdfcrop $uncropped $output --pdftex |