4

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).

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.

10

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

  • 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 – user2478 Oct 2 '12 at 15:48

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