redo-ifchange $2.expr build/preview/preview.sty build/preview/prtightpage.def build/preamble.tex INPUT=$(realpath $2.expr) TDIR=$(mktemp -d --tmpdir=/tmp) cp build/preview/preview.sty build/preview/prtightpage.def build/preamble.tex $TDIR pushd $TDIR latex -jobname=image <&1 | sed -e '/depth=/!d;s/^.*depth=\(.*\)$/\1/' > $(dirname $2)/vertical-align