[NTG-context] Including images in included files in subdirectory

Taco Hoekwater taco at elvenkind.com
Fri Sep 16 13:30:51 CEST 2005


Hi,

I agree with Willi and Wolfgang's remarks, but I also agree with
Giuseppe that the behaviour is a bit weird. Assuming context
will not be changed, something about this should be written
down somewhere (in manual or Wiki).

Taco

Giuseppe Bilotta wrote:
> Situation:
> 
> Tree structure:
> 
> main.tex
> subdir/inc.tex
> subdir/fig.1
> 
> in main .tex
> 
> "
> \include subdir/inc.tex
> "
> 
> in subdir/inc.tex
> 
> "
> \externalfigure[fig.1]
> "
> 
> texexecing main.tex doesn't find the figure fig.1
> 
> subdir/inc.tex must use
> 
> "
> \externalfigure[subdir/fig.1]
> "
> 
> for the figure to be found.
> 
> IMO this is a bug. Image should be checked for existence
> using as base the directory of the current input file
> *first*, then in the others.
> 


More information about the ntg-context mailing list