Hi.

I'd like to make a comment on relative paths within ERT boxes. Lyx (I'm using 1.3.6) seems to have a strange behaviour with some packages. For instance, I can use the listings package with no trouble:

\lstinputlisting{this/is/a/relative.path} ("this" and "foo.lyx" are in the same dir)

but with pdfpages I need

\includepdf{/home/somebody/this/is/an/absolute.path}

because I'm told that LaTeX can't locate the file if the path is relative (actually, LyX produces a broken PDF and prints an error in LaTeX Logfile). Everything is fine when exporting to TeX and running pdflatex. This is not a big problem, but makes my writings unportable.

Any idea about what's wrong?

Reply via email to