19 Jun
2012
19 Jun
'12
6:36 a.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