On 13-1-2010 17:30, Hans van der Meer wrote:
On 13 jan 2010, at 16:35, Otared Kavian wrote:
Hi Hans,
The following works for me both with mkii and mkiv (running Mac OS X
10.6.2).
Yes, I knew that. Adding the full path inside the \externalfigure works.
But I would like to access picture files by separately adressing
directory and filename, not combining them explicitely.
\setupexternalfigures[directory=..] was made for this. The annoying
thing is that \setupexternalfigures and \externalfigure apparently do
not work seamlessly together.
well, it's not deliberately .. just that i never use paths with spaces
in tex workflows so it never got tested
in grph-inc.lua patch the gmatch pattern:
if h[iv["global"]] then
for s in gmatch(pathlist,",* *([^,]+)") do
if not table.contains(t,s) then
t[#t+1] = s
end
end
end
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________