On Thu, Jun 5, 2008 at 7:06 AM, Erez Yerushalmi <[EMAIL PROTECTED]> wrote: > > Dear all, > > I don't seem to find the answer in the help file or in the forum, so I hope > you can help me. > > I'm using LyX 1.5.5 on XP. > I'm slowly building a larger and larger file and adding more and more > figures. > > Assume my figure is located in: > > C:/PHD/Notes on Dynamic GE/Diagrams/risk aversion.jpg > > LyX converts it to an EPS and dumps it in the same folder location as the > original figure. > Then LyX uses it, and everything is fine. > > The PROBLEM arrises when i take my file to a different computer, and the > links obviously gets broken. > I have been trying to keep the figure and the lyx file close together say: > > C:/PHD/Notes on Dynamic GE/Files/Notes v1.lyx > > I am looking for a way in which all I do is copy my work on a disk-on-key > and open it in another computer, and the lyx file will know where to find > the figure. > > Can anyone give me advice about this. > > Thanks a lot, Erez > > -- > View this message in context: > http://www.nabble.com/How-to-stop-Figure-location-broken-when-I-open-file-in-different-computer--tp17669372p17669372.html > Sent from the LyX - Users mailing list archive at Nabble.com. > >
I think the problem is that the lyx file and pictures need to be in the same directory or the pictures in a subdirectory. This way LyX will use relative paths otherwise how do expect the program to follow your logic of where you are storing the files. Hence, LyX stores the absolute path. To clarify, here's an example Put your LyX files in: C:/PHD/Notes on Dynamic GE/Files/Notes v1.lyx Put your pictures in either: C:/PHD/Notes on Dynamic GE/Files/risk aversion.jpg C:/PHD/Notes on Dynamic GE/Files/Diagrams/risk aversion.jpg The point is the pictures need to be at the same level or below the LyX file for LyX to use a relative path. Cheers, /Bob