![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
18 Jun
2012
18 Jun
'12
10:36 p.m.
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?
Currently, it does not.
I'm looking for a solution not to hard-code paths into my files. Example:
\usemodule [vim] \definevimtyping [XML] [syntax=xml]
\starttext \typeXMLfile{code/foo.xml} % what I do now %\typeXMLfile{foo.xml} % what is desired \stoptext
I'll see how easy it is to hook into the code for \usepath etc. It might be best to add this feature to the filter module, but I'll have to come up with another key as `directory` is already taken to specify output directory. Aditya