I am trying to get my TeX document to build. I know this works because I've done it on another system, but I recently put Lubuntu on my Linux partition, so everything is new again.
I've installed Texmaker as well as texlive and texlive-latex-extra and a few other related LaTeX packages. elsarticle.cls is supposed to be part of texlive-latex-extra but when I quick build my document I still get
! LaTeX Error: File `elsarticle.cls' not found.
Is there something I have to do to tell Texmaker that I've installed extra packages, and that it can look for elsarticle.cls in texlive-latex-extra? How do I fix this?
Additional info: here are screenshots of my Texmaker settings. Please let me know if I should include anything else.
kpsewhich elsarticle.clsgive you? – Mico May 20 '14 at 05:57elsarticle.clswas not installed in a folder that's searched by your TeX distribution. (Maybe it wasn't installed at all...) Try downloading the basic files from the CTAN page and running the fileelsarticle.insthrough LaTeX to createelsarticle.cls. – Mico May 20 '14 at 06:00/usr/local/share/texmf/but it still doesn't seem to work. When Ikpsewhich elsarticle.clsin that directory it finds it but not from the directory my TeX document is in. Should I be using a different directory to containelsarticle.cls? – agampersand May 20 '14 at 06:12texhashmight do the job.) – Mico May 20 '14 at 06:22elsarticle.clsin your documents directory. Did it run without a problem? – May 20 '14 at 07:05