Version: 1.8 (using KDE KDE 3.4.2) Installed from: SuSE RPMs OS: Linux I think that the path to the files belonging to a project should be relative to the project path (the path of the *.kilepr file). I have had some serious problem due to the use of absolute paths. I usually pickup some done reports when I want to start a new one, so I can use part of the work/structure already done. If I'm not carefull, I'm working in a new project, in a new folder, but the files of this new project are the old ones, so I'm tampering with the a previous report and not the new one!!! Besides, using relative paths allows to move the project between folders without any problems. Also, when I wan to add a file to the project, if starts the "Open File" dialog in my home page!? Shouldn't it start in the project page? And then it would only have to store the relative path of he file. Just my wish. I'm sure others have had similar experiences. Nevertheless, congratulations for the kile project. Hugo
Kile adds the relative paths by default (at least that it how it should be), except for files that are higher in the directory structure than the project file. best, Jeroen
Humm, so, if I copy a folder containing latex files and the kile project file from one place to another, then open the project in it's new location, it will open also the files in the new location? Maybe I didn't notice the improvement because I've been doing things more carefully since I got those problems a time ago. In this case, please forget part of my report and consider only the following part: When I want to add a file to the project (clicking "Add Files"), it starts the "Open File" dialog in my home folder!? Shouldn't it start in the project base folder?
I second that. "lastDocument" as well as "masterDocument" are stored with absolute paths. In my case, moving a project from one box to another simple won't work without changing theses hardcoded paths. Example: [General] archive=tar zcvf '%S.tar.gz' %F extIsRegExp=false extensions=.eps .pdf .dvi .ps .fig .log .aux .gif .jpg .png .fig img_extIsRegExp=false img_extensions=.eps .pdf .dvi .ps .fig .gif .jpg .jpeg .png lastDocument=file:///home/daniel/dissertation/thesis/tex/wasp.tex masterDocument=/home/daniel/dissertation/thesis/tex/thesis.tex name=thesis [snip] [item:thesis.tex] archive=true column=55 encoding=ISO 8859-15 highlight=LaTeX line=7 open=true
Ok, I fixed the lastDocument and masterDocument keys in the .kilepr file. The other work for me (i.e. relative paths are stored). best, Jeroen
*** Bug has been marked as fixed ***.
Thanks. Best wishes. Hugo
Jeroen, I just found this relative path in my kileprj: masterDocument=../../../../../daniel/dissertation/thesis/tex/thesis.tex Since thesis.tex and thesis.kileprj reside within the same directory, I'd expect either "masterDocument=thesis.tex" or "masterDocument=./thesis.tex", not an (almost) full path?! The problem is quite similar to my comment #3, a second box doesn't have that subdirectory "daniel" -- changing that path to thesis.tex, without the preceding '..'s, works as expected. Thanks for your work! Daniel P.S. running gentoo, kile-1.9b2 ebuilds