Hans,
You asked me to remind you this week to look into problems externalfigures and
filenames with uppercase extensions. Have you gotten a chance to look into the
problem?
Cheers,
Mike
___
If your question is
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
Santy, Michael wrote:
I tried adding type=jpg and/or method=jpg to the externalfigure
arguments, but the file did not compile.
That is a bit odd, I thought that should have worked. But:
I found that by adding the entry
\definefileinsertion{tpd}{JPG}{\handlepdfimage} to the spec-tpd.tex
Santy, Michael wrote:
This makes sense. So much so that perhaps it could be added to the
core spec-tpd.tex file.
I think it would make more sense for conTeXt to first convert an image's
extension to lower case before trying to figure out rule to apply. Otherwise
in order to be correct,
Santy, Michael wrote:
Back to my original question, should
\externalfigure[MY_FIGURE.JPG][type=jpg] work? Or am I
misunderstanding the meaning of the type parameter?
Personally, I thought that
\externalfigure[MY_FIGURE.JPG][method=jpg]
was supposed to work. But it doesn't, so I must