[OS X TeX] Adding Classes to Latex WHile using texShop
Peter Dyballa
Peter_Dyballa at Web.DE
Wed Oct 19 05:20:13 EDT 2011
Am 19.10.2011 um 03:48 schrieb Kevin Fjelsted:
> How do I add a ".CLS" file to Latex under OS X Lion?
This command, invoked on the command line, will tell *all* places that are looked up to find a CLS file:
kpsewhich -show-path .cls | tr : '\n'
The following command will show, in a pretty way, only the places in your own private area:
kpsewhich -show-path .cls | tr : '\n' | grep Users | sort
But it still sucks! It shows also places where only configuration files and the like go, so let's improve it a bit more:
kpsewhich -show-path .cls | tr : '\n' | grep Users | grep -v texmf- | sort
The last line is not the adequate choice, the first line is the root of a large systematic tree, so probably the middle line is the appropriate place. To create this directory invoke on the command line:
mkdir -p ~/Library/texmf/tex/generic
Then invoke
open ~/Library/texmf/tex/generic
and will appear in Finder.
--
Greetings
Pete
Isn't vi that text editor with two modes... one that beeps and one that corrupts your file?
– Dan Jacobson, on comp.os.linux.advocacy
More information about the MacOSX-TeX
mailing list