ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Santy, Michael" <Michael.Santy@dynetics.com>
To: <ntg-context@ntg.nl>
Subject: externalfigure and uppercase extensions
Date: Thu, 13 Sep 2007 11:56:38 -0500	[thread overview]
Message-ID: <6703815B292B664DBAEC55EE3192386A20BB61@poseidon.in.dynetics.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1041 bytes --]



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 

[-- Attachment #1.2: Type: text/html, Size: 1544 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

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

maillist : ntg-context@ntg.nl / 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	other threads:[~2007-09-13 16:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-13 16:56 Santy, Michael [this message]
2007-09-13 17:27 ` Taco Hoekwater
     [not found] <mailman.1759.1189705411.2346.ntg-context@ntg.nl>
2007-09-13 19:06 ` Santy, Michael
2007-09-13 20:21   ` Hans Hagen
2007-09-13 21:48   ` Taco Hoekwater
2007-09-24 16:38 Santy, Michael

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6703815B292B664DBAEC55EE3192386A20BB61@poseidon.in.dynetics.com \
    --to=michael.santy@dynetics.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).