TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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 am trying to compile a document in TexMaker with the following document class


I am using bibtex to display my bibliography. I have created a file 'ferroelectrics.bib' and use the following command at the end of my document


When I try to compile this document using latex -> bibtex, the process exits with errors and the following error is reported in the .blg file that is generated:

I couldn't open style file apsrev4-1.bst

What's weird about this error is that when I compile using only the command line, I get no such error and the document compiles just fine. I have been doing various google searches all day trying to figure this out, but to no avail. What can I do to enable TexMaker to open apsrev4-1.bst?


share|improve this question

closed as too localized by Martin Schröder, Kurt, Werner, Guido, Thorsten Dec 23 '12 at 7:16

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.

Did you install the texlive-full package (or at least texlive-publishers)? – Caramdir Jul 24 '12 at 19:49
I had installed texlive 2012 from tug.org, since the texlive-full package is 3 years old. I just installed the texlive-full package to be on the safe side, and now TexMaker works fine. Why should this be the case? – Chris Jul 24 '12 at 21:46
It sounds like TexMaker is using the packages from the Debian repositories rather than the TL from TUG (does it include apsrev4-1.bst?). I think you need to make sure your editor is pointed towards the distribution you want to use. (I've never used TeXMaker, though, so I can't help with that; but there are lots of posts that talk about having a parallel installation.) – jon Jul 25 '12 at 0:43

Browse other questions tagged or ask your own question.