Le Wed, 30 May 2007 14:02:19 +0100, Sanjoy Mahajan a écrit: >> have you tried >> >> \externalfigure[./1/fig.1] ? >> > > Good thought, although it also did not work. > > The behavior very strange because the subdirectory specification sort > of works if the figure name is 1/fig.2 but not if it is 1/fig.1 or > 1/fig.3. I say 'sort of' because it finds the figure and gets the > dimensions from the .rli file it makes, but it doesn't include the > figure in the PDF. > > I'm trying \tracingall to see whether I can find what goes wrong. > >> 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}] > > Thanks, that works reliably. > > -Sanjoy > > `If we are fortunate, Republicans will complete their self-destruction > before they extinguish the Constitution and destroy America.' > --Paul Roberts, former assistant Treasury Secretary under Reagan > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________
Hi Sanjoy I put this in my env file and all images, external docs are found, assuming that they are in "children" folders of the *.tex doc \setupexternalfigures[directory={img,img/base,doc,doc/ascenseur,doc/elec}] etc I've not tested more than 3 levels of folders. Cheers ___________________________________________________________________________________ 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 ___________________________________________________________________________________