>>>>> "Carlos" == Carlos A M dos Santos <[EMAIL PROTECTED]> writes:

Carlos> Hello I'm using fancyvrb to include copies of some files into
Carlos> a text. I used

Carlos>         \VerbatimInput[fontsize=\small,numbers=left]{COPYING.GNU.V2}

Carlos> maked as TeX. If I export my document to LaTeX format and
Carlos> compile it by hand everything goes ok, but if I select a
Carlos> preview from under LyX the text is not included. My conclusion
Carlos> was that since LyX is running LaTeX at /tmp and not at the
Carlos> document's directory, LaTeX doen't find the included file.

Carlos> As a temporary "solution" I can put a symlink in
Carlos> /tmp/lyx_tmp??? pointing to the real file, but this is far
Carlos> from elegant. Any better idea?

LyX rely on packages to use LaTeX \input@path macro to find files. It
appears that fancyvrb.sty does not do that. I do not know whether this
should be considered as a bug or not, though...

JMarc

Reply via email to