[pdftex] graphicx, pdftex and upper case extensions

David Carlisle davidc at nag.co.uk
Tue Aug 24 18:46:33 CEST 2004


> \DeclareGraphicsExtensions{.jpg,.JPG}

just adds .JPG to the list of default extensions that the package will try
which does nothing here as you have the .JPG explicit in \includegraphics

what you want to do is declare that .JPG files are to be handled by the
same code as .jpg which is type jpg in the case of pdftex

\DeclareGraphicsRule{.JPG}{jpg}{#1}{.JPG}{}

> (I have no permissions to change the pdftex.def file
> at my site).

You can put the above in your document preamble so you don't need to
touch this file, even if the change did need to go there (or you want to
put it there to save editing lots of document preambles) you can copy
the file to anywhere (eg the current directory) and edit it there. As
usual, the first copy in TeX's input path is the one actually used so you
can easily arrange to override a site-wide file with a local copy.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________



More information about the pdftex mailing list