Hello,

I'm using conTeXt as the renderer in a XML workflow and have run into a problem 
with externalfigure.  When a user chooses to include a PNG, PDF, or JPG image 
with an extension that is capitalized (or more generally, not all lower case), 
the externalfigure just includes a grey box like it can't find the file.  The 
snippet below illustrates the problem.  Note that I'm able to include the image 
by renaming the file to IMG_0103.jpg and changing the externalfigure to the 
corresponding filename.

\starttext
\externalfigure[IMG_0103.JPG]
\stoptext

I tried adding type=jpg and/or method=jpg to the externalfigure arguments, but 
the file did not compile.

I found that by adding the entry 
"\definefileinsertion{tpd}{JPG}{\handlepdfimage}" to the spec-tpd.tex file in 
the context distribution, the externalfigure is able to include this image 
correctly.      Should the mappings in these files be case insensitive?

I'm sure that I'm missing something basic.  Could someone please enlighten me?

Cheers,
Mike Santy 
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to