I'm using the minted package with lyx. I want to use
\inputminted and must be able to specify a relative path (to share between machines with different home directory names).
The problem is that the working directory when
\inputminted is invoked is
/tmp/lyxbuf_tmp. This mailing list post from 2009 discusses this exact problem of copying external material to this directory, but there appears to be no resolution that I can find.
Can anyone explain how to make a
minted.layout file which would allow me to use
\inputminted and have the desired effect of including an external source code file?
Alternatively can anyone suggest any ways to achieve the desired effect?