<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ryan,<div><br></div><div>I found your script and tried to use it, but it's failing for me. LaTeX won't see my figures in the same directory as the .tex file. Is this because the file path is absolute?</div><div><br></div><div>TIA,</div><div>Lenore</div><div><br></div><div><br></div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: Times; "><pre>#!/bin/bash
PATH=/usr/texbin:$PATH
cd %%d
file=%%p
pdffile="${file%.tex}.pdf"
/usr/texbin/xelatex "${file}"
open "${pdffile}"</pre></span></div></body></html>