[OS X TeX] TeXShop Daily Experience/Usage (\ref, \cite)
Jung-Tsung Shen
jushen at gmail.com
Thu Sep 15 07:20:45 EDT 2005
Not knowing that the macro was already in TexShop, I adopted Adam's
instruction and enabled the AppleScript again. Here's the result:
(1) Whenever I invoked the "original" script, it gave me "AppleScript
Error: TeXshop got an error: AppleEvent timed out".
(2) The newly enabled script worked fine: when you invoke the script,
a small windows show up to select. It works slightly different from
WinEdt on Windows:
In WinEdt: the pop-up windows shows up whenever you type '\ref' (no
quotes) in your document. The program then is triggered by this string
and gives you the pop-up.
In TeXShop(from BibDesk), you invoke the script, window shows up, make
selection, and '\ref{your_selection}' is pasted into your document.
It works well in its own way ... it's just that I am not a big fan of
hot keys, so to select the script from the drop-down menu to get to
the script takes about 1.5 seconds for me ...
(3) Now the strangest part. I did a diff on the two script. They are
*almost* identical -- except the first line, one is `-- Applescript
direct' and the other one is `-- Applescript' (no direct), and those
are comments!! Can someone explain this behavior?
Thanks.
JT
On 9/15/05, Christof Janssen <c.janssen at mpi-hd.mpg.de> wrote:
> Hi,
>
> Isn't this macro already contained in the macro compilation of
> TeXShop. I believe it resides there under the name 'Insert Reference'.
>
> Christof
> Am 14. Sep 2005 um 23:16 schrieb Gary L. Gray:
>
> >
> > On Sep 14, 2005, at 5:01 PM, Jung-Tsung Shen wrote:
> >
> >
> >> I would like to get some input and advice from people using TeXShop
> >> (or other frontend):
> >>
> >> I had been using WinEdt on WIndows more than I was on TexShop on Mac.
> >> Recently I set up a nice CVS server, so the synchronization is no
> >> longer a problem and I decided to use TexShop more often.
> >>
> >> Both Frontends are excellent programs in their own ways. There is one
> >> feature on WinEdt, however, that I would very much like to see on
> >> TeXShop: on WinEdt, when you type '\ref{}', or '\cite', for example,
> >> then a pop-up little window shows up to let you select the item so
> >> you
> >> don't have to look for it.
> >>
> >> It appears that this feature is not on TeXShop. I was wondering how
> >> other users handle this situation?
> >>
> >
> > Last summer, Will Robertson posted a nice macro for doing this. You
> > can find it by looking in the archives on (and after) August 21,
> > 2004. See:
> >
> > http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/
> >
> > and:
> >
> > http://tug.org/pipermail/macostex-archives/
> >
> > Good luck.
> >
> > -- Gary
> > ------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
> >
> >
>
> ------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
>
>
------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/
More information about the MacOSX-TeX
mailing list