General ⇒ Adding packages.
Adding packages.
I work on Mac (Leopard) and I need to add some packages. In manual I found an information I had to use 3 files *.sty, *.ps and *.cfg. In a chapter "Installation" I found sentenses like this "Put the file to the place where dvips expects it." The problem is I really don't know where it is. I copied it for example to ~/Library/texmf/dvips/ or ~/Library/texmf/tex/latex/ (by the way I had to create a folder /texmf). I copied it to thousands of places, doing what I found on some forums etc but it still doesn't work.
Do you know what is the best way to add packages on Mac?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Adding packages.
But first things first, what LaTeX distribution are you using? What packages are you trying to add, and why?
Re: Adding packages.

Yes, packages are in CTAN base. Most of all I need to use "poligraf" of something like that to add crop marks, CMYK and everything that is needed to print a book.
And I use macTeX and as a compiler (?) TexShop.
Adding packages.

However, if I'm not mistaken, MacTeX is built on top of TeXlive, and you can use TeXlive's package manager to automatically install packages. From a terminal:
Code: Select all
sudo tlmgr install <package-name>
If you want a graphical front-end to tlmgr, look at mactlmgr.
That said, you should also be able to install packages manually into your local TeX tree ; just be sure to run sudo texhash afterwards. Details here. If you have questions about where things go, look here, and/or use the kpsepath utility.
Re: Adding packages.
I know what you mean. Sometimes it's strange to use open source software on a computer from a big corporation.
