1

I'm trying to create a beamer presentation through Auctex in emacs. In the process I have to include several style packages (subfigure.sty, stmaryrd.sty) in the tex file. However the problem is that when I try to compile the .tex file through Auctex, it throws me an error saying these style files are not available. However I do have a TeXLive installed in my computer and I'm able to compile the same file using TeXworks.

So the question is how can I make sure that the Auctex can read the style files that are installed in my system (I use Ubuntu 11.10 and the TeXLive is installed in /usr/share/texmf-texlive/).

  • 1
    check if you have 'kpsewhich subfigure.sty' installed. relevant http://tex.stackexchange.com/questions/44668/auctex-in-emacs-doesnt-seem-to-find-certain-packages – texenthusiast Dec 06 '12 at 03:30
  • @texenthusiast Thank you for the thread suggestion. However I have the tex path suggested in my bashrc. For example the PATH variable is defined as PATH=/usr/local/texlive/2011/bin/i386-linux:$PATH. All the executables (latex,kpsewhich) are all installed in the above mentioned directory – rambalachandran Dec 06 '12 at 12:39
  • @RamBalachandran, I use TeXmaker all time, so i may not be best person to answer, check this good place for more info – texenthusiast Dec 09 '12 at 05:02
  • Are you using Mac OS X? If so PATH, and other environment variables, don't get picked up by GUI applications like Emacs when you set them in .bashrc. There are many questions on Stack Overflow about how to work around this. – Ivan Andrus Jan 17 '13 at 23:15

0 Answers0