I have a clean install of texlive. While trying to compile any document which uses either the graphics, graphix, or the xcolor packages, I get errors that the compiler can't find the corresponding .def file.
pdftex.def - if I am using pdflatex
xetex.def - if I'm using xelatex
I have downloaded the graphics-def package from CTAN, and copied the
.def files to
/texmf-dist/tex/latex/graphics, but I had no luck. Maybe I don't know where the files are supposed to go.
The only thing that worked was putting the
.deffiles in the same directory as my
This is surely a path error. Where do I put the def files so that the packages can find them?
EDIT: I'm using Windows and TeXStudio. (Although I'm getting the same errors when I compile via command line)