From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36525 Path: news.gmane.org!not-for-mail From: "Santy, Michael" Newsgroups: gmane.comp.tex.context Subject: Re: externalfigure and uppercase extensions Date: Thu, 13 Sep 2007 14:06:19 -0500 Message-ID: <6703815B292B664DBAEC55EE3192386A20BB65@poseidon.in.dynetics.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0227398562==" X-Trace: sea.gmane.org 1189710621 26312 80.91.229.12 (13 Sep 2007 19:10:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2007 19:10:21 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 13 21:10:19 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IVu4e-0001Ag-SB for gctc-ntg-context-518@m.gmane.org; Thu, 13 Sep 2007 21:10:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A0F9320024; Thu, 13 Sep 2007 21:10:00 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08638-01; Thu, 13 Sep 2007 21:10:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0F1961FF6D; Thu, 13 Sep 2007 21:07:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E01BE1FF6D for ; Thu, 13 Sep 2007 21:07:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07839-06-5 for ; Thu, 13 Sep 2007 21:07:35 +0200 (CEST) Original-Received: from myrddin.dynetics.com (myrddin.dynetics.com [204.154.192.33]) by ronja.ntg.nl (Postfix) with ESMTP id 4CC411FBE3 for ; Thu, 13 Sep 2007 21:07:34 +0200 (CEST) Original-Received: from poseidon.in.dynetics.com ([10.1.15.106]) by myrddin.dynetics.com (8.13.1/8.13.1) with ESMTP id l8DJ3Yu7026224 for ; Thu, 13 Sep 2007 14:03:34 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: externalfigure and uppercase extensions Thread-Index: Acf2LbAn3qOsxvKcQcq/jh+VvZV7YAACfhoj X-dynetics.com-MailScanner-Information: Please contact the ISP for more information X-dynetics.com-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.439, required 2, autolearn=disabled, ALL_TRUSTED -1.44, HTML_MESSAGE 0.00) X-MailScanner-From: michael.santy@dynetics.com X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36525 Archived-At: This is a multi-part message in MIME format. --===============0227398562== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F639.2AE38733" This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F639.2AE38733 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > 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, you would need an entry for=20 "Jpg", "jPg", "jpG", "JPg", "JpG", and "jPG" -- not even counting the = permutations for "jpeg". > You could consider using a case-insensitive file system to store > your data on, and lowercasing all entity input to ConTeXt, but > that is more clumsy than the extra \definefileinsertion-s. I don't think a case-insensitive FS is going to be an option for us = (*nix only). Back to my original question, should = "\externalfigure[MY_FIGURE.JPG][type=3Djpg] work? Or am I = misunderstanding the meaning of the type parameter? Cheers, Mike ------_=_NextPart_001_01C7F639.2AE38733 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: externalfigure and uppercase extensions

> 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, you would need an entry for
"Jpg", "jPg", "jpG", "JPg", = "JpG", and "jPG" -- not even counting the = permutations for "jpeg".

> You could consider using a case-insensitive file system to = store
> your data on, and lowercasing all entity input to ConTeXt, but
> that is more clumsy than the extra \definefileinsertion-s.

I don't think a case-insensitive FS is going to be an option for us = (*nix only).

Back to my original question, should = "\externalfigure[MY_FIGURE.JPG][type=3Djpg] work?  Or am I = misunderstanding the meaning of the type parameter?

Cheers,
Mike

------_=_NextPart_001_01C7F639.2AE38733-- --===============0227398562== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0227398562==--