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:


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


1 Answer 1


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
    Commented Oct 2, 2012 at 11:36
  • Thanks. Is it necessary to run any other commands to update the local tex installation?
    – M-V
    Commented Oct 2, 2012 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
    Commented Oct 2, 2012 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
    Commented Oct 2, 2012 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
    Commented Oct 2, 2012 at 15:48

Not the answer you're looking for? Browse other questions tagged .