On 13 jan 2010, at 11:55, luigi scarso wrote:

On Wed, Jan 13, 2010 at 11:51 AM, Hans van der Meer <h.vanderm...@uva.nl > wrote:
I would like to include a file with spaces in its name.
Clearly it does not work using: \input /Users/me/dir with spaces/file
I can use something like:
\def\DataDirectory#1{\def\DATADIRECTORY{#1/}} % in reality coping with
empty #1
 \DataDirectory{/Users/me/dir with spaces}
 \def\Input#1{\input "\DATADIRECTORY#1"}
and then that file is read.
When however I want to set this directory with
 \setupexternalfigures[directory=\DATADIRECTORY]
it does not find the picture file there.

How can I accomplish the setup? Do I miss something? Using contextbeta, if
that makes a difference.

Hans van der Meer


what about
\setupexternalfigures[directory={\DATADIRECTORY}]
?

Tried it but NO. That didn't work. Without a space in the directory name I can find the picture. But as soon as a space gets in the directory name then the picture file is not found.

Hans van der Meer.
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to