3

In my current LaTeX document I am using the "classico" package, which sets the classico font for a document (this means I can use plain LaTeX instead of xeTeX). I can compile the document with pdfLaTeX fine from the command line. But in Emacs, with aucTeX, I get the error:

ERROR: LaTeX Error: File `classico.sty' not found.

When I run kpsewhich classico.sty it comes back with

/usr/local/texlive/texmf-local/tex/latex/classico/classico.sty

However, kpsewhich geometry.sty (which is found by aucTeX) returns

/usr/local/texlive/2015/texmf-dist/tex/latex/geometry/geometry.sty

So it seems that packages in the /usr/local/texlive/texmf-local/ tree are not being properly picked up, whereas the packages in the /usr/local/texlive/2015/texmf-dist/ are.

How can I adjust aucTeX so that it can find the packages in the first tree?

closed as unclear what you're asking by Keks Dose, TeXnician, Stefan Pinnow, CarLaTeX, Martin Schröder Apr 25 '17 at 9:18

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Strange. But maybe you have put something into your init file (e.g. .emacs). Close Emacs and restart it from command line with emacs -Q, open your file, switch to latex-mode (M-x latex-mode RET) and compile. If compiling succeeds, there is a command in your init file, which prevents loading the local tree. Or do you have by chance another TeX-installation or another local tree on your system? – Keks Dose Apr 21 '17 at 9:45
  • Which OS are you running on? For MacOS you may want to use the exec-path-from-shell package to import your standard shell environment variables. – Andrew Swann Apr 25 '17 at 7:09

Browse other questions tagged or ask your own question.