[NTG-context] Directories of pictures
Hans Hagen
pragma at wxs.nl
Thu Oct 26 10:07:15 CEST 2006
Sanjoy Mahajan wrote:
>>> Note that ./png-images seems to look for
>>> <current_shell_directory>/png-images.
>>>
>>>
>>>
>> what is tex_file_directory?
>>
>
> I'm guessing "the directory in which the tex source file lives", what
> I often wished TeX used as its search path for relative paths -- the
> way some (all?) C compilers will when looking for include files.
>
it depends on your texinputs variable:
\setupexternalfigures[location={local,global,default}]
here, default will eventually fall back to tex's input path search
\externalfigure[tmp/cow.pdf]
but, there need to be a tmp path relative to one of the paths that make up texinputs; in context mkiv we can use more clever methods because there we will have more control over finding and opening files; for now, we depend on what tex and kpse/web2c provide
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