I have a document class in my `~/texmf/tex/latex/CLASSNAME` directory named `CLASSNAME.cls`. In the same folder is an PDF file, named `LogoNewDesign.pdf`. The logo is used in the class file in an `\includegraphics`:

``````\includegraphics[width=5cm,height=3cm,keepaspectratio]{LogoNewDesign}
``````

I've run `mktexlsr` and `texhash`, both as user and as root (TeXlive 2013 is installed to `/usr/local/texlive/2013`, available to all users). Additionally, I run `texhash ~/texmf`.

When I compile a TeX file using the class with `pdflatex`, everything is fine. The logo is correctly included. Doing the same thing with `lualatex`, the error `! LaTeX Error: File 'LogoNewDesign' not found.` comes up.

With LuaLaTeX in TeXlive 2012 the class worked before upgrading to 2013.

My `texlive.profile` looks like that:

``````TEXDIR /usr/local/texlive/2013
TEXMFCONFIG ~/.texlive2013/texmf-config
TEXMFHOME ~/texmf
TEXMFLOCAL /usr/local/texlive/texmf-local
TEXMFSYSCONFIG /usr/local/texlive/2013/texmf-config
TEXMFSYSVAR /usr/local/texlive/2013/texmf-var
TEXMFVAR ~/.texlive2013/texmf-var
``````

I think I have a configuration/file list problem somewhere, but I can't figure out where to look. My `texmf.cnf` is empty (only the default comment lines are there), as it was with TeXlive 2012.

-

## closed as off-topic by Joseph Wright♦Aug 19 '13 at 13:07

• This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

Why do you have any `.cls` or `.pdf` there? (Note: I'm still on TL2012, but that still seems very odd.) Also, what happens if you move the two folders to the more usual `~/texmf/tex/latex` folder? –  jon Jun 20 '13 at 5:55
@jon - I moved the class file and the image to `~/texmf/tex/latex/CLASSNAME`. The problem persists. I edited the question accordingliy. –  zero0 Jun 20 '13 at 10:10
Never do `texhash ~/texmf`. Remove the `ls-R` file thus created. –  egreg Jun 20 '13 at 10:15
I tested a similar configuration and it works on my system –  egreg Jun 20 '13 at 10:20
Remove teh `ls-R` file as @egreg said, test again with `\listfiles` in the preamble, and examine and perhaps post the `.log` along with a minimal example (or here) –  jon Jun 20 '13 at 15:13