This problem has been previously reported as bug 1751
http://bugzilla.lyx.org/show_bug.cgi?id=1751
when i looked at the tex file created in /tmp i found
\makeatletter
[EMAIL PROTECTED]/Users/my/path//}}
\makeatother
Note the double // at the end. That seemed odd to me.
If I go back to my lyx file and put in the preamble
\makeatletter
[EMAIL PROTECTED]/Users/my/path}}
\makeatother
with no // at the end, then everything works fine again and I can use
relative paths in the includepdf command
So it seems like something in the LyX code is producing the // in the
path command?
I am using LyX/Mac 1.5.5 with tex-live 2007
The preamble definition is an easier workaround since you only need
the full path once.
On Aug 31, 2008, at 9:21 PM, Stephen Buonopane wrote:
In LyX 1.4 I used to be able to just use the filename with the
includepdf command in ERT, \includepdf{myfile}
In LyX 1.5.5 it seems that I need to put the full pathname and
filename, \includepdf{\very\long\path\myfile}
which is inconvenient because the pathname is very long and some of
the directories may contain spaces.
If I export to latex and compile outside of lyx the
\includepdf{myfile} works fine.
Any way to just use \includepdf{myfile} in LyX 1.5.5?
thanks
steve