Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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+help@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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.