[OS X TeX] Installing a package on MacTeX
Oleg Kobchenko
olegykj at yahoo.com
Sun May 21 12:16:47 CEST 2006
How to install a package?
I installed MacTeX from
http://www.tug.org/mactex/
Now a need to install a package from TUG,
for example, skak
http://www.tug.org/tex-archive/help/Catalogue/entries/skak.html
I expect to run a utility that would download
or at least installs from disk, like MikTeX does.
I ended up writing my owm make file, see below.
Is that really a way to go? (I don't want to
deal with the whole TeXLive DVD.)
#####################################################
# installs a TeX package
PAKNAME=skak
TEXDST=/usr/local/teTeX/share/texmf.local
all: info
info:
@echo usage:
@echo " sudo make install"
@echo " sudo make uninstall"
@echo ""
@echo See the Makefile for more settings
install:
@echo Installing $(PAKNAME)
mkdir $(TEXDST)/doc/latex/$(PAKNAME)
cp doc/* $(TEXDST)/doc/latex/$(PAKNAME)
mkdir $(TEXDST)/fonts/mf/$(PAKNAME)
cp mf/* $(TEXDST)/fonts/mf/$(PAKNAME)
mkdir $(TEXDST)/tex/latex/$(PAKNAME)
cp tex/* $(TEXDST)/tex/latex/$(PAKNAME)
mktexlsr
uninstall:
@echo Uninstalling $(PAKNAME)
rm -rf $(TEXDST)/doc/latex/$(PAKNAME)
rm -rf $(TEXDST)/fonts/mf/$(PAKNAME)
rm -rf $(TEXDST)/tex/latex/$(PAKNAME)
mktexlsr
#####################################################
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------- 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 macostex-archives
mailing list