Results 1 to 7 of 7

Thread: [SOLVED] Intrepid TexLive "article.cls not found"

  1. #1
    Join Date
    Jun 2008
    Beans
    109
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    [SOLVED] Intrepid TexLive "article.cls not found"

    Ok, so I installed a Intrepid yesterday, and installed TexLive via apt-get, but now when I try to compile a .tex file, it fails saying "LaTeX Error: File `article.cls' not found." I did a search for article.cls, and sure enough there isn't anything with that name on my computer.

    I have no idea what's going on and I have math homework due on Tuesday. Please please please help.

    Thanks,
    -Calder Coalson

  2. #2
    Join Date
    Oct 2004
    Beans
    1,532

    Re: Intrepid TexLive "article.cls not found"

    I don't recall the standard suite of packages one should install to get a complete Latex installation, but a little poking around at packages.ubuntu.com shows that the package texlive-latex-base has the file /usr/share/texmf-texlive/tex/latex/base/article.cls

  3. #3
    Join Date
    Jun 2008
    Beans
    109
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Intrepid TexLive "article.cls not found"

    Thanks so much for the reply, but unfortunately it doesn't really solve anything: I have texlive-latex-base installed. Should I uninstall and reinstall? Also, could it have something to do with updmap-sys, whatever that is? I don't remember seeing that every time I had to install or remove a latex package under Hardy, but it shows up whenever I do now.

  4. #4
    Join Date
    Jun 2008
    Beans
    109
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Intrepid TexLive "article.cls not found"

    When computers act illogically, it makes me feel stupid, because I know it has perfectly good reasons for doing what it's doing, but I just don't understand them. I uninstalled and reinstalled and now there is a article.cls file in /usr/share/texmf-texlive/tex/latex/base, but I get the error "File `amsfonts.sty' not found."
    Last edited by CalderCoalson; November 2nd, 2008 at 08:40 PM.

  5. #5
    Join Date
    Jun 2008
    Beans
    109
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Intrepid TexLive "article.cls not found"

    That was really weird. I eventually just did:
    Code:
    sudo apt-get purge texlive
    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get install texlive
    and now it works. Something must have gotten corrupted or deleted or who-knows-what. 1 problem down, 3 to go: http://ubuntuforums.org/showthread.p...31#post6089631 *sigh*

  6. #6
    Join Date
    Jun 2009
    Location
    Little Rock, Arkansas
    Beans
    190
    Distro
    Ubuntu 12.04 Precise Pangolin

    Smile Re: [SOLVED] Intrepid TexLive "article.cls not found"

    Here is I think possibly a better solution.
    I suspect your system contained the article.cls file right from the beginning.
    Your system could not find the file because you didn't specify the TEXINPUTS variable.

    I ran into the error message months ago when I was trying to setup the Kile editor.
    I added the following directory to my TEXINPUTS environment variable:

    /usr/local/texlive/2011/texmf-dist/tex/latex/base

    I guess that directory might be different on your system but on my system this is the directory containing article.cls (even though tex and latex report that they can't find that file).


    If your running Kile this is done in Kile's configuration routine.

    I'm not satisfied with Kile so today I tried adding the LateX plugin to gedit.
    After setting up the plugin, I latexxed a file and the system could not
    find article.cls. I forgot how I solved the problem previously to I googled
    the error message. That's how I found your thread.

    Then I remembered my old solution and I learned the following.
    The system apparently can't see Kile's TEXINPUTS and,
    for some reason, Kile can't see the system's TEXINPUTS variable either.
    I had to setup TEXINPUTS twice.

    If you want to tex or latex from a bash terminal or from gedit with the latex
    plugin, you have to set TEXINPUTS in your ~/.profile file.

    If you need more info on setting up variables let me know. You might have to reboot
    or say something like source~/.profile at your bash prompt.

    Now I got two editors running but I'm not satisfied with either one of them, Kile
    or gedit with the LaTeX plugin. The problem with gedit is that the plugin supports
    latex only and does not support tex.

    good luck and regards - Randy

  7. #7
    Join Date
    Feb 2007
    Beans
    23,178
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: [SOLVED] Intrepid TexLive "article.cls not found"


    From the Ubuntu Forums Code of Conduct.
    If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.
    Thread closed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •