Sanjoy Mahajan wrote:
Is the idea to use \currentcomponentpath in the directory={...}? I put
indeed
I've just tried the version below, but abc-1.eps cannot be found (I also tried \noexpand\currentcomponentpath):
% file: chap/1/c_ch1.tex \startcomponent c_ch1 \product onebook \project project_books \setupexternalfigures[directory={\currentcomponentpath}] % but, just as a sanity check, this way works: % \setupexternalfigures[directory={chap/1}] \title{One} Hi \useexternalfigure[ff][abc-1.eps] \placefigure[here][ff]{Some caption}{\externalfigure[ff]} \stopcomponent
so how is this component, when run on itself, supposed to locate itself, - how does the dir structure look - where did you put the file - where did you run it (there is also the option to say: \usesubpath[1,2,3,4,5,6]) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------