compatibilise peut recevoir des arguments pour pdftops en argument.
darcs-hash:20061107014438-9e428-82ddd48b8666b2d12e2bd6f9f421deda437702de.gz
This commit is contained in:
parent
e49be31d16
commit
028c12efe3
1 changed files with 4 additions and 3 deletions
|
@ -8,8 +8,9 @@ exec >/dev/null 2>/dev/null
|
|||
if head -n 1 $1 | egrep -q "1.[45]"; then
|
||||
cd `dirname $1`
|
||||
FICHIER_PDF=`basename $1`
|
||||
FICHIER_PS=${FICHIER_PDF%.pdf}.ps
|
||||
pdftops $FICHIER_PDF
|
||||
ps2pdf $FICHIER_PS
|
||||
FICHIER_PS=${FICHIER_PDF}.ps
|
||||
shift
|
||||
pdftops "$*" $FICHIER_PDF
|
||||
ps2pdf $FICHIER_PS $FICHIER_PDF
|
||||
rm -f $FICHIER_PS
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue