GeneralLatex can't find class/style files???

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
giizm
Posts: 1
Joined: Wed Dec 05, 2007 6:18 pm

Latex can't find class/style files???

Post by giizm »

All,

Although I've used latex for years now, I consider myself to be slightly less than an newbie. So please be gentle :) ! I've run into a rather unusual problem with latex. I administrate a Linux (Fedora 6) workstation for a small group of graduate students (myself included). The latex installation is straight "out-of-the-box" I've not installed anything new or changed any configurations. We all do, however, have our own TEXINPUT variable that points to style files that we use in our home directories. All but one of us is able to use latex with NO problem. The user that can't use it gets the following error:

Code: Select all

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

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: cls)

Enter file name:
In an effort to temporarily fix this I copied the article.cls file to his working directory and just typed the filename in when it asked for it. This action fixed the above error, but we got another error about some other style file that couldn't be found. I haven't tested this theory, but I would guess that this would continue until we had copied all the style/class files necessary for his paper into the working directory. I can, however, login as root and compile his paper (in his directory) as root with no problems. Another fix that we have tried is moving his files to his account on an older linux box (which others are capable of using latex on), and he gets the exact same error on the different machine. This is very unusual because just two days ago he was able to compile his latex code without a problem, now there are nothing but problems. Is it possible that some sort of enviornment variable needs to be set for him that we have missed or unset? I am at a total loss on this one :(

Thanks for your help!
greg

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply