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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________