From: Angus Leeming Date: Fri, 22 Nov 2002 12:00:05 +0000 (+0000) Subject: Whitespace. X-Git-Tag: 1.6.10~17912 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3a82c612874eb2459cbe0b8c5594cf97980e23fb;p=features.git Whitespace. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5701 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/scripts/lyxpreview2bitmap.sh b/lib/scripts/lyxpreview2bitmap.sh index 6d9cbde07a..7e203a5c03 100644 --- a/lib/scripts/lyxpreview2bitmap.sh +++ b/lib/scripts/lyxpreview2bitmap.sh @@ -52,7 +52,8 @@ # where ${FORMAT} is either ppm or png. # Three helper functions. -FIND_IT () { +FIND_IT () +{ which ${EXECUTABLE} > /dev/null || { echo "Unable to find \"${EXECUTABLE}\". Please install." @@ -60,7 +61,8 @@ FIND_IT () { } } -BAIL_OUT () { +BAIL_OUT () +{ # Remove everything except the original .tex file. FILES=`ls ${BASE}* | sed -e "/${BASE}.tex/d"` rm -f ${FILES} texput.log @@ -68,7 +70,8 @@ BAIL_OUT () { exit 1 } -REQUIRED_VERSION () { +REQUIRED_VERSION () +{ echo "We require preview.sty version 0.73 or newer. You're using" grep 'Package: preview' ${LOGFILE} }