zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #04690
Re: Lots of automatic links pointing nowhere
Hi
Thanks for your response but this is not the problem I described. The targets do exist already, but elsewhere in the hierarchy.
An example:
A
B
C
1
2
3
Imagine I am writing an entry 3 and in it I would like to link to the (already existing) entry C.
What I do is
Cmd-L
I will type “C" (okay, the name is really longer but you get the idea)
In the drop down list that appears I select “C” and accept
What I get is a functional link, yes, but instead of taking me to C in the above example, I find it takes me to
A
B
C
1
2
3
A
B
C
Because the syntax that was automatically inserted looks like this:
A:B:C
Instead of
:A:B:C
Note the missing leading colon, thus the link is pointing to A:B:C starting from the actual position of the link origin (entry 3) rather than following an absolute path starting from the highest level in the hierarchy.
I hope this is clearer now.
Again, my question is if this is a known behaviour and what I can do to avoid this problem.
Thanks
Christoph
> On 9 May 2018, at 14:40, Guilherme Lino <guih.lino@xxxxxxxxx> wrote:
>
> Hello,
>
> By default there are several things that create links automatically.
>
> Writing " +something " a word starting with +
> Writing " SomeThing " camel case
> Writing " :something " a word starting with :
>
> Even if you paste the text from somewhere else. Those words will be clickable. Will appear grey in the tree until you put some content.
>
> Also pasting folders with .txt files inside one of Zim notebook folders will show in the links tree.
>
> Regards,
>
> On 9 May 2018 at 10:53, Christoph Held <kreisleriana@xxxxxxxxxx <mailto:kreisleriana@xxxxxxxxxx>> wrote:
> Hi all
>
> My main Zim Notebook is accumulating links that I have not set intentionally, to be more precise, I have created a link but it is pointing to a target that does not exist where the link is pointing thus a new but empty target appears in the Index pane in italic letters.
> The reason in a few cases seems to be that the link target is missing the leading colon.
>
> I usually create a link by typing Cmd-L (on a Mac) and type a few letters until the desired target appears in a drop down list, I select it, sometimes I adjust the descriptive text to make the rendered text look a bit more readable and accept my choice.
>
>
> Why would Zim sometimes suggest incomplete paths thus implicitly creating unwanted new targets with the shortest relative path? I am pretty sure I did not create these link targets myself.
>
> Any ideas how to fix or avoid this behaviour in the future?
>
> Christoph
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki <https://launchpad.net/~zim-wiki>
> Post to : zim-wiki@xxxxxxxxxxxxxxxxxxx <mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~zim-wiki <https://launchpad.net/~zim-wiki>
> More help : https://help.launchpad.net/ListHelp <https://help.launchpad.net/ListHelp>
>
>
>
> --
>
> Guilherme Lino
Follow ups
References