[OS X TeX] kpsewhich and TeXShop

Alan Munn amunn at msu.edu
Sun Jan 6 21:06:30 CET 2008


At 1:28 PM -0600 1/6/08, Aaron Rendahl wrote:
>On comp.tex.text the following script was 
>recommended to me for easily viewing sty and cls 
>files within packages:
>
>#!/bin/sh
>emacs -f toggle-read-only `kpsewhich $*`  &
>
>Is there a way to modify it to open the file in TeXShop instead of emacs?

Sure, just change it to:

#!/bin/sh
open -a TeXShop `kpsewhich $*`  &

Alan

-- 
Alan Munn 
amunn at msu.edu
Department of Linguistics                                 
and Germanic, Slavic, Asian and African Languages   Fax.  +1-517-432-2736
Michigan State University, East Lansing MI 48824      Tel.  +1-517-355-7491
 
-------------------------- Helpful Info --------------------------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
List Archive: http://tug.org/pipermail/macostex-archives/
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/



More information about the macostex-archives mailing list