diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex4musicians/pdfl.sh')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex4musicians/pdfl.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex4musicians/pdfl.sh b/Master/texmf-dist/doc/latex/latex4musicians/pdfl.sh new file mode 100644 index 00000000000..8c87efe2144 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex4musicians/pdfl.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +if [ $# = 0 ]; then + echo "Usage: $0 <file.tex>" + exit 1 +fi + +NAME=$(basename $1 .tex) +PDF=$NAME.pdf +pdflatex Figures/$NAME.tex +pdfcrop $PDF +/bin/mv -f $NAME-crop.pdf $PDF |