[NTG-context] components and figure search paths

Sanjoy Mahajan sanjoy at mrao.cam.ac.uk
Wed May 10 16:17:09 CEST 2006


> > 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


More information about the ntg-context mailing list