2

I'm trying to add a commutative diagrams .sty, called diagrams.sty, and TeX is not able to locate it. I placed it in /usr/local/texlive/2012/texmf-dist/tex/latex, where I see lots of other packages stored. Am I placing it in the wrong directory? I'm on a Mac and am compiling with pdflatex via terminal.

Other questions similar to this haven't resolved my problem. Thanks in advance.

  • 1
    Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. – Symbol 1 Jan 22 '15 at 1:11
  • 3
    Try putting diagrams.sty in a folder /usr/local/texlive/2012/texmf-dist/tex/latex/diagrams/ and then give mktexlsr from terminal as root. – Pier Paolo Jan 22 '15 at 1:18
  • 1
    Or put it in your home TEXMF directory which may be /Users/username/texmf/'. Then you'd make a directory /Users/username/texmf/tex/latex/diagrams/' and put the file there. No need to run any additional commands or use root in that case. – cfr Jan 22 '15 at 2:25
  • 1
    @Symbol1 You can't use TLU to install a package which is not part of TeX Live, as far as I can tell. – cfr Jan 22 '15 at 2:30
  • 1
    @cfr istr explaining, to the author, this difficulty of making the package non-free. non-free implies not in tex live, and (mostly) no miktex (i've observed cases where miktex has taken something i would label non-free, but this may be long enough ago that it was before some rule change. – wasteofspace Jan 22 '15 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.