<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 18 April 2013 05:17, Wilfred van Rooijen <span dir="ltr"><<a href="mailto:wvanrooijen@yahoo.com" target="_blank">wvanrooijen@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><br><div style="font-family:times new roman,new york,times,serif;font-size:12pt">
<div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div><div class="im"> >Avoid file names with an unusual number of dots (unusual is<br>> everything not equal to 0). <br><br></div>I would say everything not equal to 1. In fact, I am surprised that graphicx processes the file name with two dots correctly. Normally graphicx uses the last dot to be the delimiter for the file extension. Anything that looks like .crop.pdf or so usually does not work. How does graphicx implement the routine to determine the file extension. Apparently it uses some tex-engine specific routines. I never knew that.<span class="HOEnZb"><font color="#888888"><br>
<br></font></span></div> </div> </div>  </div></div><br></blockquote><div><br></div><div>by default graphicx takes everything after the first . as the extension, what happens after that is up to the back end driver code. On drivers where different inclusion \special's are needed for different filetypes then normally such filenames don't work by default however some drivers basically treat all file types the same at this level in which case the extension doesn't matter (This seems to be the case with xetex.def which has a default rule for any extension)<br>
<br></div><div>You can disable the graphicx filename parsing and supply the extension explicitly.<br><br></div><div>\includegraphics[type=QTm,ext=.foo.bar.1]{my.file}<br><br></div><div>should load my.file.foo.bar.1 and handle it via is QTM code. If you use the ext key the graphicx code does not try to split up the filename given in the second argument.<br>
<br></div><div>David<br><br></div></div></div></div>