[OS X TeX] Can a TeXShop engine give the PDF name?
murdoch.duncan at gmail.com
Wed Dec 4 17:47:12 CET 2013
On 04/12/2013 11:34 AM, Michael Sharpe wrote:
> tell application "TeXShop"
> open posix file "$cwd/foo.pdf"
> on error
> end try
> set index of window "$1:foo.pdf" to 1
> tell document "$1:foo.pdf" to refreshpdf
> end tell
This still seems to have the same problem, namely that if TeXShop
already has processed foo.tex to produce and preview foo.pdf, then this
opens a new window, also named foo.pdf.
I think using the TEX root declaration is good enough.
More information about the macostex-archives