zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #01276
understanding directory usage
-
To:
zim-wiki@xxxxxxxxxxxxxxxxxxx
-
From:
Alessandro Magni <magni@xxxxxxxx>
-
Date:
Tue, 21 Jun 2011 10:54:29 +0200
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc13 Thunderbird/3.1.10
Hi everybody,
I'm trying to understand Zim's usage of directories.
Since I make use a lot of absolute paths, I never noticed that Zim uses
relative paths in a rather peculiar way
(please excuse me if it has been already discussed, I didnt find anything).
Just starting from scratch with a test page in a given dir:
/my/test/dir> zim here.txt
here.txt is of course created in /my/test/dir.
But if I have the image /my/test/dir/testimage.jpg, why is it that
{{testimage.jpg}} reports a broken link, while {{../testimage.jpg}} works???
Even more confusing: a link like: [[there]] works flawlessly loading
there.txt from /my/test/dir, so the logic used for images is different here!
I'm a bit confused here....
alessandro
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/ Dr.Alessandro Magni
\ Electromagnetics Division
/ INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\ Email magni@xxxxxxxx
/ Tel: 0039-011-3919821 Fax: 0039-011-3919834
\ URL http://www.inrim.it/~magni
/ Our business in life is not to succeed but to continue to fail
\ in high spirits. -- Robert Louis Stevenson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Follow ups