#!/bin/sh
TARGET=`basename $2 .tex`.eps
/usr/lib/sdc/bin/latex2eps- $1 $TARGET
echo @IncludeGraphic{ \"$TARGET\" }