[OS X TeX] Problem with TeXShop macro: "Insert reference"

Will Robertson will at guerilla.net.au
Sun Aug 29 11:08:26 EDT 2004


On 29 Aug 2004, at 6:53 PM, Daniel Becker wrote:

> I tried to use the new applescript for inserting \cite-commands in my 
> .tex Document.
> It only works if I manually delete the files citekeys and citekeys.bst 
> in festplatte:private:temp
> If I then run your script again, the error message tells me something 
> about duplicate files.
> Should the script contain some lines that delete previously produced 
> files in /temp ?

You might want to try out the other script posted by Matthew Hill, 
which is totally self-contained. In fact, its level of shell- and 
apple-scripting is quite in advance of any of the scripts posted by me 
- where have you been Matthew? Do you secretly have a whole bunch of 
fancy applescripts you'd like to share? :)

I also infer from his question about scripting recently that he's hard 
at work on improving it...at least, he'd better! :)


> Thanks for your effort and for any help. I see this script as a major 
> step forward, comparable to the pdfsync package.

Well, every little bit counts. I've got a couple of other applescripts 
in mind, but personally I think the really useful innovation occurs at 
a deeper level. For example, being able to collapse begin/end 
environments with a disclosure triangle would be the best thing in the 
world sometimes, but it sure ain't gonna happen with applescript...

(that's a hint for all you cocoa-writing TeXShop helpers! once I get 
some spare time I'm looking into it myself...but that could be, you 
know, years away potentially :)

Have fun!

Will

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list