Thanks Allan, but neither suggestion worked to get the pdf into the browser. I am still getting the output pdf as I should, the script just does not seem to see it. Not sure where the problem is. I'll look more this weekend.
Robert
On Apr 6, 2005, at 2:11 AM, Allan Odgaard wrote:
So I'm thinking the line should be something like: pdf=`basename "$TM_LATEX_MASTER"`.pdf [ -s $pdf ] && echo '</pre><meta http-equiv="Refresh" content="0;URL=file:///'$pdf'>'
if [ -s ${tmp}.pdf ]; then echo '</pre><meta http-equiv="Refresh" content="0;URL=file:///'${tmp}'.pdf">' fi