Tell me more ×
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.

I am trying to run latex on archlinux, but I get the error:

ERROR: LaTeX Error: File `article.cls' not found.

As indicated in this previous question, I installed texlive-latextra and ran mktexlsr, but the error is still persisting. Has anybody encountered the same problem?

Thanks

share|improve this question
4  
On the face of it, that looks like a seriously broken installation. I'd suggest you back it all up, then do a clean, fresh install of TeXLive 2011 (or 2012 if you're prepared to wait a bit). – Brent.Longborough Jul 6 '12 at 10:05
@Brent.Longborough by "broken installation", do you mean the installation of arch or of texlive? I am now refreshing the packages list, so I'll reinstall everything. Out of interest, what makes you think it's an installation problem? Do you have a way for me to check quickly if I am missing something (like some stuff is missing in my PATH for example)? thanks – S4M Jul 6 '12 at 10:11
Sorry. I meant your TeX(live) installation. – Brent.Longborough Jul 6 '12 at 10:12
@Brent.Longborough I reinstalled texlive, even though pacman was telling me my installation was up to date. then ran mktexlsr. It works now! I don't know what has changed! – S4M Jul 6 '12 at 10:14
That's good! I thought it was broken because article.cls is part of the base LaTeX bundle that I think isn't even optional to install. On the PATH, I'm afraid I can't help - I'm a W*ndows user myself... – Brent.Longborough Jul 6 '12 at 10:14

closed as too localized by egreg, doncherry, dıʞsdoʇ, Claudio Fiandrino, Joseph Wright Jul 6 '12 at 18:20

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, see the FAQ.

1 Answer

Just answering to close the post:

Reinstalling texlive somehow fixed the problem. As indicated by Brent.Longborough, my installation was probably corrupted.

share|improve this answer
do this request by flagging this question..some moderator would definitely notice your flagging.. – Vineet Menon Jul 6 '12 at 11:45
@VineetMenon done! thanks for the tip. – S4M Jul 6 '12 at 11:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.