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.
tikz-cdinstead. – Symbol 1 Jan 22 '15 at 01:16diagrams.styin a folder/usr/local/texlive/2012/texmf-dist/tex/latex/diagrams/and then givemktexlsrfrom terminal as root. – Pier Paolo Jan 22 '15 at 01:18/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 02:25kpsewhich --var-value TEXMFHOME. Whatever it reveals, add the subdirectoriestex/latex/diagramsas cfr said and put the file in there. – jon Jan 22 '15 at 02:36diagrams.styeven on CTAN? In general, MiKTeX is more permissive in terms of licensing restrictions than TeX Live i.e. TL will exclude packages for licensing reasons which MiKTeX will include. – cfr Jan 22 '15 at 16:44