On 26-5-2012 04:08, Aditya Mahajan wrote:
Currently, ConTeXt only recognizes the type of figure from the file extension. If a filename does not have an extension, \externalfigure fails.
For example:
$ cp `luatools hacker.jpg` something
ah .. i see, no extension .. too tricky to support that as they we'd need to run an identify on the image which is probably not what we want i've made a simple 'identify' but am yet unsure how to use that in the current lookup strategy (as i want to avoid too much overhead ... using images without suffix is bad anyway) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------