[OS X TeX] TeXShop's Insert Reference macro and Lion

Michael Sharpe msharpe at ucsd.edu
Wed Jan 18 13:24:33 EST 2012

On Jan 18, 2012, at 8:04 AM, Herbert Schulz wrote:

> Howdy,
> Is there any TeXShop user with Applescript experience out there who is willing to get TeXShop's Insert Reference macro operating under Mac OS X 10.7 (Lion)? There has been a request for that on the TeXShop Forum.
> Good Luck,
> Herb Schulz
> (herbs at wideopenwest dot com)

I believe I've fixed the file---available as a zip at


I changed:
1. Applescript to Applescript direct so that messages appear without activating.
2. Changed the tell application "TeXShop" scopes.
3. Made use of the builtin ## variables
4. (Most critical) Changed 'front document' to 'document docname'

I think some of the problems may due to changes in the TeXShop dictionary rather than Lion.


More information about the MacOSX-TeX mailing list