mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 05:55:34 +00:00
Small rearrangement.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6437 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
90b68775e9
commit
d7d950c16f
@ -94,6 +94,11 @@ if [ $# -ne 3 ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# We use latex, dvips and gs, so check that they're all there.
|
||||||
|
FIND_IT ${LATEX}
|
||||||
|
FIND_IT ${DVIPS}
|
||||||
|
FIND_IT ${GS}
|
||||||
|
|
||||||
# Extract the params from the argument list.
|
# Extract the params from the argument list.
|
||||||
DIR=`dirname $1`
|
DIR=`dirname $1`
|
||||||
BASE=`basename $1 .tex`
|
BASE=`basename $1 .tex`
|
||||||
@ -111,11 +116,6 @@ else
|
|||||||
Expected either \"ppm\" or \"png\"."
|
Expected either \"ppm\" or \"png\"."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# We use latex, dvips and gs, so check that they're all there.
|
|
||||||
FIND_IT ${LATEX}
|
|
||||||
FIND_IT ${DVIPS}
|
|
||||||
FIND_IT ${GS}
|
|
||||||
|
|
||||||
# Initialise some variables.
|
# Initialise some variables.
|
||||||
TEXFILE=${BASE}.tex
|
TEXFILE=${BASE}.tex
|
||||||
LOGFILE=${BASE}.log
|
LOGFILE=${BASE}.log
|
||||||
|
Loading…
Reference in New Issue
Block a user