From a7897766064a9a97630feef241d83fc29962f4cb Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Tue, 13 Oct 2020 20:17:39 -0700 Subject: Use PDFCROP from TeXLive (#9) We previously had it download a separate copy of the pdfcrop script from CTAN, which is problematic because we check checksums and CTAN doesn't guarantee a particular version. This just uses the pdfcrop script that TeXLive-full already comes with. --- pdfcrop.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'pdfcrop.sh') diff --git a/pdfcrop.sh b/pdfcrop.sh index ce74ce0..74ad4a6 100644 --- a/pdfcrop.sh +++ b/pdfcrop.sh @@ -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 -- cgit v1.2.3