![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Wed, 20 Jun 2012, Hans Hagen wrote:
On 20-6-2012 19:33, Aditya Mahajan wrote:
On Tue, 19 Jun 2012, Aditya Mahajan wrote:
On Mon, 18 Jun 2012, Marco wrote:
does the vim module have a feature to specify the input path, similar to \usepath for context files or \setupexternalfigures [directory=…] for graphics?
@Hans: Can we make the following change in file-res.lua
if isfile(fname) then if trace_files then report_files("found on extra path: %s",fname) --AM: was name end fnd = fname --- AM: was name break end
Then, getreadfilename("any", ".", name) will always return the location of the found file. This is also consistent with the behavior when the file is found in ../ or ../../ directories.
sure, just call it a bug -)
Thanks. @Marco: In the next version of t-filter (and by inheritence t-vim), the local files will also be searched in \usepath locations. Thus you can use: \usepath[list-of, paths] \starttext \process<fillter>file{file-in-path} \type<vim>file{file-in-path} \stoptext For the moment, this is MkIV only feature. If you want to experiment, make the above change in file-res.lua, regenerate the formats, and use t-filter.mkiv from github. Aditya