TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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/).

share|improve this question

closed as too localized by Joseph Wright Feb 2 '13 at 22:22

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

check if you have 'kpsewhich subfigure.sty' installed. relevant tex.stackexchange.com/questions/44668/… – texenthusiast Dec 6 '12 at 3: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 – WanderingMind Dec 6 '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 9 '12 at 5: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

Browse other questions tagged or ask your own question.