Hello!
I have a class file that uses \includegraphics for a logo. The class file is in a common area, not per document. I add the .cls file location to the root directories, update FNDB, and everything works except the logo graphic isn't found.
I tried some experiments with using \graphicspath in the class file, but no luck.
I don't want users to explicitly add the path the graphic in their own documents. I want users to simply specify the document class and have the logo be automatically found by some means.
I'm using MikTex 2.8.
Thanks for any advice!
-steve
Document Classes ⇒ graphics path in class file
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: graphics path in class file
Where did you put the logo file? In the same folder as the .cls file? I would have guess that should work...
graphics path in class file
Right, I tried putting them in the same spot. In my case the paths look like this:
But no luck.
Code: Select all
my_class/tex/latex/base/myclass.cls
my_class/tex/latex/base/mylogo.pdf
Re: graphics path in class file
Try in my_class/tex/generic/mylogo.pdf and refresh the FNDB afterwards.
Re: graphics path in class file
That works! Thanks frabjous!