[NTG-context] Directories of pictures

Hans Hagen pragma at wxs.nl
Mon Oct 23 22:56:46 CEST 2006


Maurício wrote:
> Hans Hagen wrote:
>   
>> � wrote:
>>     
>>>    With your previous example, I would have to place my pictures in 
>>> <current_dir>/scr/images. I would like to put my pictures in 
>>> <tex_file_dir>/scr/images, and have Context to find them no matter which 
>>> directory I'm in when I execute texexec. Also, I would like to use 
>>> relative paths, not absolute paths.
>>>   
>>>       
>> ./src/images 
>>
>> you can see what happens with 
>>
>> \traceexternalfigurestrue 
>>
>>     
>
>    \traceexternalfigurestrue just says it's checking '.', but it doesn't 
> say if '.' is current shell directory or tex file directory.
>   
tex cannot expand a path so we cannot determine that; 

directory={.,default} 

is also an option since default will make context lookj in tex related paths 

Hans 

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



More information about the ntg-context mailing list