4

I have a file in which I (want to) use apacite for my references. However, TeXStudio does not seem to be able to find the package, while I know it is installed on the system.

apt-file -x search '/apacite.sty$'

returns:

/usr/share/texmf-texlive/tex/latex/apacite/apacite.sty

so I know it is installed. Then on Windows 7 TeXStudio has no problem finding the package (running MiKTeX 2.something for package management) and the file compiles without errors.

So my question would be: How do I convince TeXStudio to also check for packages in texmf-texlive?

  • 2
    Welcome to TeX.sx! What's the answer to kpsewhich apacite.sty? – egreg May 6 '13 at 10:25
  • It does not return anything. Should I navigate to a specific folder or use any options? edit: Thnx for the welcome. – Verfblikje May 6 '13 at 10:32
  • First of all try doing sudo texhash. – egreg May 6 '13 at 10:47
  • It returns texhash: Updating /usr/local/share/texmf/ls-R... texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN... texhash: Updating /var/lib/texmf/ls-R-TEXLIVE... texhash: Updating /var/lib/texmf/ls-R... texhash: Done. Then kpsewhich apacite.sty returns nothing (within ubuntu terminal). – Verfblikje May 6 '13 at 11:17
  • Do you have two tex systems? – Ulrike Fischer May 6 '13 at 11:20

Browse other questions tagged or ask your own question.