[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



More information about the macostex-archives mailing list