Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
Where do I place my own .sty files, to make them available to all my .tex files?
How do I install an individual package on a Linux system?

I'd like to install this package:

http://ctan.org/tex-archive/macros/latex/contrib/cookybooky

Is it possible to do this using tlmgr?

I tried something like this, but it looks like I don't know what I am doing:

$ sudo tlmgr repository http://ctan.org/tex-archive/macros/latex/contrib/ install cookybooky
tlmgr: unknown directive to tlmgr repository: http://ctan.org/tex-archive/macros/latex/contrib/

I am doing this on a macbook (TeX Live 2012).

share|improve this question

marked as duplicate by Martin Schröder, Paul Gaborit, N.N., Heiko Oberdiek, Marco Daniel Oct 3 '12 at 7:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
See here for instructions on how to install packages into your TeXLive installation. –  Martin Schröder Oct 2 '12 at 23:08
1  
possible duplicate of How do I install an individual package on a Linux system? –  Martin Schröder Oct 2 '12 at 23:09
add comment

1 Answer 1

up vote 5 down vote accepted

You cannot install it with the TeXLive manager, because it is no more part of any repository. Install it "by hand" from CTAN.

Save the two files cookybooky.dtx and cookybooky.ins in a temporary directory and then run latex cookybooky.ins which creates the documentation and, of course, the style file cookybooky.sty

share|improve this answer
    
The doc is obtained with pdflatex cookybooky.dtx –  egreg Oct 2 '12 at 11:36
    
Thanks. Is it necessary to run any other commands to update the local tex installation? –  M-V Oct 2 '12 at 11:45
    
@M-V -- after creating the .sty (and, possibly, the .pdf) file, you should run texhash or mktexlsr to update the database for TeX's lookup of file names. –  Mico Oct 2 '12 at 11:48
    
Thanks @Mico, but I had to copy the files to ~/Library/texmf/tex/latex/ before I stopped getting errors about missing cookybooky.sty. Even now, I am getting an error about a missing web.sty - I guess I am missing some packages. –  M-V Oct 2 '12 at 12:59
    
you can test if a package is installed or found by TeX with running from the terminal kpsewhich web.sty or any other package –  Herbert Oct 2 '12 at 15:48
show 1 more comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.