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. -- Giuseppe "Oblomov" Bilotta
why don't you specify the path to your figures manually? \setupexternalfigures[directory={path1/subpath1,path2}] Wolfgang Giuseppe Bilotta schrieb:
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.
Buongiorno Giuseppe, For external figures you should setup the path with \setupexternalfigures[directory={d:/subdir}] Kind regards Willi 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.
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.
Friday, September 16, 2005 Taco Hoekwater wrote:
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).
Good point. It's all right if it's WAD (Working As Designed), but it would be less surprising if it was documented :) -- Giuseppe "Oblomov" Bilotta
participants (4)
-
Giuseppe Bilotta
-
Taco Hoekwater
-
Willi Egger
-
Wolfgang Zillig