![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
Hi Sanjoy, Sanjoy Mahajan schrieb:
externalfigure is not finding figures in other directories, and I'm not sure if it's something I've messed up while compiling and testing new Ubuntu edgy backport packages. If I have fig.1 (a metapost eps file) in the current directory, then this test file works fine
\starttext \externalfigure[fig.1] \stoptext
But context won't find 1/fig.1 even if fig.1 is in the 1/ directory. This test file
\starttext \externalfigure[1/fig.1] \stoptext
produces this error in the log file
systems : begin file test at line 1 figures : figure 1/fig.1 can not be found
and a dummy figure.
ConTeXt ver: 2007.04.17 12:51 MKII fmt: 2007.5.30 (on Ubuntu/i386)
If you have any thoughts or have seen this behavior, let me know.
have you tried \externalfigure[./1/fig.1] ? Another option is to add the directory to the search path and not to use directories in the name. \setupexternalfigures[directory={% ./1,% ./2,% ../whatever/include}] I use relative and absolute paths in the search path and have no such problems. But I must admit, that I never used directories in the figure name. Greetings, Peter
-Sanjoy ___________________________________________________________________________________ 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 ___________________________________________________________________________________