| Summary: | Kile should use relative paths for files belonging to projects | ||
|---|---|---|---|
| Product: | [Applications] kile | Reporter: | Hugo Costelha <hugo.costelha> |
| Component: | general | Assignee: | Jeroen Wijnhout <spam> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | franke.daniel |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Hugo Costelha
2005-09-05 19:39:08 UTC
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 |