Quantcast
Channel: Question and Answer » texlive
Viewing all articles
Browse latest Browse all 29

Texlive 2015 problem – cannot find 'article.cls' [closed]

$
0
0

EDIT: This turned out to be a problem due to having forgotten to update the distribution in the Texpad editor preferences!

I have just updated from TexLive 2014 to 2015 using the full MacTeX-2015 Distribution on Yosemite which I downloaded and installed yesterday. Upon compiling a simple new document with pdflatex

documentclass[11pt]{article}

begin{document}
Test
end{document}

I get an error message:

/usr/texbin/pdflatex -file-line-error -interaction=nonstopmode -synctex=1 -output-directory=/Users/xyz/    Desktop/.texpadtmp test.tex

This is pdfTeX, Version 3.14159265-2.6-1.40.16 (TeX Live 2015) (preloaded format=pdflatex)
 restricted write18 enabled.
entering extended mode
(./test.tex
LaTeX2e <2015/01/01> patch level 2
Babel <3.9m> and hyphenation patterns for 79 languages loaded.

! 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: 
./test.tex:2: Emergency stop.
<read *> 

l.2 ^^M

./test.tex:2:  ==> Fatal error occurred, no output PDF file produced!
Transcript written on /Users/xyz/Desktop/.texpadtmp/test.log.

Needless to say that the file article.cls sits happily at

/usr/local/texlive/2015/texmf-dist/tex/latex/base/article.cls

I have tried

sudo -H mktexlsr

and the result looks OK to me:

mktexlsr: Updating /usr/local/texlive/2015/texmf-config/ls-R... 
mktexlsr: Updating /usr/local/texlive/2015/texmf-dist/ls-R... 
mktexlsr: Updating /usr/local/texlive/2015/texmf-var/ls-R... 
mktexlsr: Updating /usr/local/texlive/texmf-local/ls-R... 
mktexlsr: Done.

and the output from

kpsepath tex | sed 's/:/n/g'

also looks fine as far as I can tell:

    .n/Users/xyz/Library/texlive/2015/texmf-config/tex/kpsewhich//n/Users/xyz/Library/texlive/2015/texmf-var/tex/kpsewhich//n/Users/xyz/Library/texmf/tex/kpsewhich//n!!/usr/local/texlive/2015/texmf-config/tex/kpsewhich//n!!/usr/local/texlive/2015/texmf-var/tex/kpsewhich//n!!/usr/local/texlive/texmf-local/tex/kpsewhich//n!!/usr/local/texlive/2015/texmf-dist/tex/kpsewhich//n/Users/xyz/Library/texlive/2015/texmf-config/tex/generic//n/Users/xyz/Library/texlive/2015/texmf-var/tex/generic//n/Users/xyz/Library/texmf/tex/generic//n!!/usr/local/texlive/2015/texmf-config/tex/generic//n!!/usr/local/texlive/2015/texmf-var/tex/generic//n!!/usr/local/texlive/texmf-local/tex/generic//n!!/usr/local/texlive/2015/texmf-dist/tex/generic//n/Users/xyz/Library/texlive/2015/texmf-config/tex///n/Users/xyz/Library/texlive/2015/texmf-var/tex///n/Users/xyz/Library/texmf/tex///n!!/usr/local/texlive/2015/texmf-config/tex///n!!/usr/local/texlive/2015/texmf-var/tex///n!!/usr/local/texlive/texmf-local/tex///n!!/usr/local/texlive/2015/texmf-dist/tex///

When I switch back to the 2014 distro all seems to be working OK…

I’m at a loss – any ideas would be greatly appreciated!


Viewing all articles
Browse latest Browse all 29

Trending Articles