Re: [libreoffice-users] relative paths to linked graphics do not work
Hi :) Good point. A . is the current directory/folder .. is the folder that contains the folder you are currently in (=the "parent" folder) and / is the root of the entire file-system. In Windows-only nomenclature it would be C: Regards from Tom :) --- On Sun, 29/1/12, Brian Barker wrote: From: Brian Barker Subject: Re: [libreoffice-users] relative paths to linked graphics do not work To: users@global.libreoffice.org Date: Sunday, 29 January, 2012, 21:47 At 21:32 29/01/2012 +0100, Daniel Wibbing wrote: > you are a genius! :) Possibly not - but I'm pleased if I've solved your problem, of course. > Using this little dot in front of the path name really works! >> ./Bilder/Kapitel 2/Hall_effect_A.png > > Like this I am now able to delete the beginnings of the absolute path names, > set the dot in front of the relative part and the picture will be shown. > Great! > > However this is certainly not the most elegant way a program should work. > cK correctly said: >> I have same problem. >> Help says "A relative reference is only possible when both files exist on >> the same drive" >> (http://help.libreoffice.org/Common/Relative_and_Absolute_Links) >> Nevertheless, it seems LO turns relative links to absolute links >> automatically. And there is no way around. > > So I would guess that there is a real bug in LibreOffice concerning that. I'm not sure that this is true. If you start a path with a slash - as /Bilder/Kapitel 2/Hall_effect_A.png - it has to be interpreted relative to *something*, and you are assuming that this will be the folder containing the parent document. But this appears not to be so: perhaps instead it is interpreted relative to the path set for the default folder for documents. Or perhaps the root folder on the current drive. (I haven't tested this.) The dot forces the starting folder to be the current one. Brian Barker -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] relative paths to linked graphics do not work
Hi :) This guide might help http://wiki.documentfoundation.org/BugReport One of the drop-downs has an option for "feature request" or something. Good luck and regards from Tom :) --- On Sun, 29/1/12, Daniel Wibbing wrote: From: Daniel Wibbing Subject: Re: [libreoffice-users] relative paths to linked graphics do not work To: users@global.libreoffice.org Date: Sunday, 29 January, 2012, 20:32 Hi Brian, you are a genius! :) Using this little dot in front of the path name really works! > ./Bilder/Kapitel 2/Hall_effect_A.png Like this I am now able to delete the beginnings of the absolute path names, set the dot in front of the relative part and the picture will be shown. Great! However this is certainly not the most elegant way a program should work. cK correctly said: > I have same problem. > Help says "A relative reference is only possible when both files exist on the > same drive" (http://help.libreoffice.org/Common/Relative_and_Absolute_Links) > Nevertheless, it seems LO turns relative links to absolute links > automatically. And there is no way around. > > cK So I would guess that there is a real bug in LibreOffice concerning that. Could anyone tell me how bugs are reported? Thanks a lot for all your answers! Daniel Am 29.01.2012 um 17:52 schrieb Brian Barker: > At 17:37 29/01/2012 +0100, you wrote: >> I tried to edit the path to the source manually by typing e.g. >> /Bilder/Kapitel 2/Hall_effect_A.png >> where "/Bilder" is a folder within the folder in which the document is >> located as well. >> But it didn't work out. > > Have you tried > ./Bilder/Kapitel 2/Hall_effect_A.png > - with that leading dot? Does that help? > > (Hmm: I used to know about the Hall effect - some forty years ago!) > > Brian Barker > -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] relative paths to linked graphics do not work
At 21:32 29/01/2012 +0100, Daniel Wibbing wrote: you are a genius! :) Possibly not - but I'm pleased if I've solved your problem, of course. Using this little dot in front of the path name really works! ./Bilder/Kapitel 2/Hall_effect_A.png Like this I am now able to delete the beginnings of the absolute path names, set the dot in front of the relative part and the picture will be shown. Great! However this is certainly not the most elegant way a program should work. cK correctly said: I have same problem. Help says "A relative reference is only possible when both files exist on the same drive" (http://help.libreoffice.org/Common/Relative_and_Absolute_Links) Nevertheless, it seems LO turns relative links to absolute links automatically. And there is no way around. So I would guess that there is a real bug in LibreOffice concerning that. I'm not sure that this is true. If you start a path with a slash - as /Bilder/Kapitel 2/Hall_effect_A.png - it has to be interpreted relative to *something*, and you are assuming that this will be the folder containing the parent document. But this appears not to be so: perhaps instead it is interpreted relative to the path set for the default folder for documents. Or perhaps the root folder on the current drive. (I haven't tested this.) The dot forces the starting folder to be the current one. Brian Barker -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] relative paths to linked graphics do not work
Daniel: Perhaps a little studying on how relative paths work is in order. When you see a relative path that begins with ./xxx, this means to begin looking for xxx in the same folder you are presently in. (xxx can be a folder or file.) When you see a relative path that begins with ../xxx, this means to begin looking for xxx in the folder containing the folder you are presently in. For example: the document is in /home/Document/aaa/bbb. The picture file something.png is in /home/Document/aaa/bbb/ccc. Then the relative path for the picture file is ./ccc/something.png. You are in the bbb folder. Look for ccc in it. Then look for something.png in the ccc folder. But if the path for something.png is /home/Document/aaa/ddd/something.png, the relative path would be ../ddd/something.png. You are in the bbb folder. The paths says go back to the aaa folder and locate for the ddd folder there. Then locate something.png in the ddd folder. --Dan On Sun, 2012-01-29 at 21:32 +0100, Daniel Wibbing wrote: > Hi Brian, > > you are a genius! :) > Using this little dot in front of the path name really works! > > ./Bilder/Kapitel 2/Hall_effect_A.png > > Like this I am now able to delete the beginnings of the absolute path names, > set the dot in front of the relative part and the picture will be shown. > Great! > > However this is certainly not the most elegant way a program should work. > cK correctly said: > > I have same problem. > > Help says "A relative reference is only possible when both files exist on > > the same drive" > > (http://help.libreoffice.org/Common/Relative_and_Absolute_Links) > > Nevertheless, it seems LO turns relative links to absolute links > > automatically. And there is no way around. > > > > cK > > So I would guess that there is a real bug in LibreOffice concerning that. > > Could anyone tell me how bugs are reported? > > Thanks a lot for all your answers! > Daniel > > > Am 29.01.2012 um 17:52 schrieb Brian Barker: > > > At 17:37 29/01/2012 +0100, you wrote: > >> I tried to edit the path to the source manually by typing e.g. > >> /Bilder/Kapitel 2/Hall_effect_A.png > >> where "/Bilder" is a folder within the folder in which the document is > >> located as well. > >> But it didn't work out. > > > > Have you tried > > ./Bilder/Kapitel 2/Hall_effect_A.png > > - with that leading dot? Does that help? > > > > (Hmm: I used to know about the Hall effect - some forty years ago!) > > > > Brian Barker > > > > -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] relative paths to linked graphics do not work
Hi Brian, you are a genius! :) Using this little dot in front of the path name really works! > ./Bilder/Kapitel 2/Hall_effect_A.png Like this I am now able to delete the beginnings of the absolute path names, set the dot in front of the relative part and the picture will be shown. Great! However this is certainly not the most elegant way a program should work. cK correctly said: > I have same problem. > Help says "A relative reference is only possible when both files exist on the > same drive" (http://help.libreoffice.org/Common/Relative_and_Absolute_Links) > Nevertheless, it seems LO turns relative links to absolute links > automatically. And there is no way around. > > cK So I would guess that there is a real bug in LibreOffice concerning that. Could anyone tell me how bugs are reported? Thanks a lot for all your answers! Daniel Am 29.01.2012 um 17:52 schrieb Brian Barker: > At 17:37 29/01/2012 +0100, you wrote: >> I tried to edit the path to the source manually by typing e.g. >> /Bilder/Kapitel 2/Hall_effect_A.png >> where "/Bilder" is a folder within the folder in which the document is >> located as well. >> But it didn't work out. > > Have you tried > ./Bilder/Kapitel 2/Hall_effect_A.png > - with that leading dot? Does that help? > > (Hmm: I used to know about the Hall effect - some forty years ago!) > > Brian Barker > -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] relative paths to linked graphics do not work
On 01/29/2012 09:11 AM, Daniel Wibbing wrote: Hi everyone! I am new to this mailing list. I hope I am using it in the right way: The situation: I have a document (my dissertation) with a lot of pictures, which I inserted as links. The document is in a folder "Dissertation" The pictures are in the folder "Bilder/..." in the folder "Dissertation" I copied the the folder "Dissertation" to different volumes when I was working on my project at different places. I always updated LibreOffice to the most recent version. I now have LibreOffice 3.4.5 The problem is: The pictures are not shown any more in my document. Instead only the absolute link from one of the volumes on which I added the picture is shown. example: file:///Users/daniel/Volumes/share/SensMiLi/Dissertation/Bilder/Kapitel 2/Hall_effect_A.png My question is: Why does LibreOffice not find the relative path to the pictures in the "myProject" folder, which always stayed the same? example: /Bilder/Kapitel 2/Hall_effect_A.png I would be very happy if you could help me! :) Daniel I have same problem. Help says "A relative reference is only possible when both files exist on the same drive" (http://help.libreoffice.org/Common/Relative_and_Absolute_Links) Nevertheless, it seems LO turns relative links to absolute links automatically. And there is no way around. cK -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted
Re: [libreoffice-users] relative paths to linked graphics do not work
Daniel Wibbing, I donot know if early versions suported "relative" links, as the link is stored a a url ? with a simple macro you can restore easly the URL's to your original path Greetz Fernand Hi everyone! I am new to this mailing list. I hope I am using it in the right way: The situation: I have a document (my dissertation) with a lot of pictures, which I inserted as links. The document is in a folder "Dissertation" The pictures are in the folder "Bilder/..." in the folder "Dissertation" I copied the the folder "Dissertation" to different volumes when I was working on my project at different places. I always updated LibreOffice to the most recent version. I now have LibreOffice 3.4.5 The problem is: The pictures are not shown any more in my document. Instead only the absolute link from one of the volumes on which I added the picture is shown. example: file:///Users/daniel/Volumes/share/SensMiLi/Dissertation/Bilder/Kapitel 2/Hall_effect_A.png My question is: Why does LibreOffice not find the relative path to the pictures in the "myProject" folder, which always stayed the same? example: /Bilder/Kapitel 2/Hall_effect_A.png I would be very happy if you could help me! :) Daniel -- For unsubscribe instructions e-mail to: users+h...@global.libreoffice.org Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette List archive: http://listarchives.libreoffice.org/global/users/ All messages sent to this list will be publicly archived and cannot be deleted