I am running Fedora 19 on a Dell Latitude E6410 with an i7 dual-core. The program I use for LaTeX is TeXworks. I have Tex Live 2013, and use pdfTeX 3.1415926-2.5-1.40.14 set as my processing tool under preferences.
I would like to use the package "pgfplots.sty" in TeXworks, but TeXworks tells me
! LaTeX Error: File `pgfplots.sty' not found.
This question has been asked several times, but I have not found an answer. For each of the things I have tried, the explanation includes a link to the answer(s) suggesting that solution.
I have checked, and TeXworks is running TeX Live 2013:
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013)
I have set up tlmgr and have run the commands to install the package:
[root@localhost Desktop]# tlmgr install pgfplots tlmgr: package repository http://mirror.hmc.edu/ctan/systems/texlive/tlnet [root@localhost Desktop]# tlmgr update pgfplots tlmgr: package repository http://mirror.utexas.edu/ctan/systems/texlive/tlnet tlmgr: saving backups to /usr/local/texlive/2013/tlpkg/backups tlmgr: no updates available
tlmgr has downloaded the package into the correct location:
[beason4251@localhost ~]$ kpsewhich pgfplots.sty /usr/local/texlive/2013/texmf-dist/tex/latex/pgfplots/pgfplots.sty
I have run mktexlsr and it ran successfully.
[root@localhost ~]# mktexlsr mktexlsr: Updating /usr/local/texlive/2013/texmf-config/ls-R... mktexlsr: Updating /usr/local/texlive/2013/texmf-dist/ls-R... mktexlsr: Updating /usr/local/texlive/2013/../texmf-local/ls-R... mktexlsr: Updating /usr/local/texlive/2013/texmf-var/ls-R... mktexlsr: Done.
tlmgr tells me the package is installed, output linked below:
[beason4251@localhost Desktop]$ tlmgr info pgfplots –list
If I run the command
everything works fine and the pdf is created, I just can't do the same through TeXworks.
Here are my typesetting preferences. The duplicate entry at the bottom is one I added manually while trying to get this to work. I've removed it now.
I can't link to the output of the following document since I don't have enough reputation yet:
Here's a disassembled link: http: //pastebin. com/Zgxt2s6R