ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Input path to include external files with vim module
@ 2012-06-18 10:17 Marco
  2012-06-19  4:36 ` Aditya Mahajan
  0 siblings, 1 reply; 7+ messages in thread
From: Marco @ 2012-06-18 10:17 UTC (permalink / raw)
  To: ntg-context

Hi,

does the vim module have a feature to specify the input path,
similar to \usepath for context files or \setupexternalfigures
[directory=…] for graphics? 

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


Marco


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-06-20 20:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-18 10:17 Input path to include external files with vim module Marco
2012-06-19  4:36 ` Aditya Mahajan
2012-06-20 17:33   ` Aditya Mahajan
2012-06-20 17:46     ` Hans Hagen
2012-06-20 19:46       ` Aditya Mahajan
2012-06-20 20:40         ` Marco
2012-06-20 20:58           ` Aditya Mahajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).