[Zim-wiki] Anchors

2019-01-27 Thread Alessia Moretti
Hello everyone, I'm begin to using zim again after a while and I find it very fitying my needs (simple journaling and tasks and notes). I'm wandering if there is somthing like an anchor inside the notebook page (and the possibility to link to it)or if not (I didn't find it as for now), if such thin

Re: [Zim-wiki] Anchors for links?

2012-11-27 Thread jayseye
Thanks Dan - Yes it's comprehensible, though implementation of implicit anchors might be complex. The issues mentioned could be just the tip of the iceberg. For instance, what happens when someone changes the text of a heading which is serving as an anchor? Since Zim uses plain text files, any im

Re: [Zim-wiki] Anchors for links?

2012-11-27 Thread jayseye
@Jaap: Thanks for pointing out the open request in the bug tracker. I'll remember to check the tracker in the future, before posting here to the mailing list. Have now bookmarked that open request, and will check it in detail after making more progress on folding. BTW your message somehow escaped

Re: [Zim-wiki] Anchors for links?

2012-11-26 Thread Dan Lessner
Hi, my idea was exactly that the user would not need to specify the anchor at all, every heading would implicitly behave as one. Let's say that a part behind # aims to an anchor. When resolving a link, Zim would check "explicit anchors" and then headings (therefore implicit, and maybe unwante

Re: [Zim-wiki] Anchors for links?

2012-11-26 Thread Dan Lessner
Hi again. As to the "if one page gets large enough to require local links, then perhaps it should be broken up into multiple pages": That is a fair point. It is however sometimes good to have also an overall view, not having everything fragmented into single one-screen-sized pages. The answer t

Re: [Zim-wiki] Anchors for links?

2012-11-26 Thread Jean-Baptiste Holcroft
The related bug : https://bugs.launchpad.net/zim/+bug/380844 I'm also interested, I don't see anything missing. I end up with the following comment : - is it interesting to add a contextual menu to headings when rigth-clicking : "Get Anchor" ? When you use Mediawiki, you always have the Table Of

Re: [Zim-wiki] Anchors for links?

2012-11-26 Thread Jaap Karssenberg
There has been an open request for this in the bug tracker for some time, including some example code how to add this feature. I think most discussion in the thread is also already found in the comments of the bug report. Please check if there is anything missing there and if so please add to the

Re: [Zim-wiki] Anchors for links?

2012-11-25 Thread jayseye
Yes Brian, I also use headings and the ToC plugin. There would be one main advantage of linking to an anchor on the same page: to avoid duplication of information. A counter-argument might be: if one page gets large enough to require local links, then perhaps it should be broken up into multiple p

Re: [Zim-wiki] Anchors for links?

2012-11-25 Thread jayseye
Thanks, Dan - It certainly may be convenient, in some cases, to link to a heading. Explicit anchors would allow increased flexibility and, IMO, anchors would facilitate both usage and implementation. However, I would be interested to learn the details, about how the user might specify a heading a

Re: [Zim-wiki] Anchors for links?

2012-11-25 Thread Dan Lessner
This could be combined, i.e. headings could serve as implicit anchors. That would make such feature even smoother to use. And yes, I am one those who would welcome the possibility to link a specific place in a page. Best regards, Dan Lessner Dne 25.11.2012 05:43, Brian Allen Vanderburg II na

Re: [Zim-wiki] Anchors for links?

2012-11-24 Thread Brian Allen Vanderburg II
I've been interested in such a feature, though for now I just use headings in the wiki pages and use the Table of Contents plugin. It would be nice to link to a specific anchor point on a page from another page though. Brian Vanderburg II On 11/24/2012 11:01 PM, jayseye wrote: > John - > > As a

Re: [Zim-wiki] Anchors for links?

2012-11-24 Thread jayseye
John - As a fairly new Zim user, perhaps it's just that I've yet to discover how to create an Anchor. Have already looked very thoroughly, though, before asking here. Good to hear that there is interest in the feature. If you do find an existing way to create an anchor, please let me know! Thanks

[Zim-wiki] Anchors for links?

2012-11-24 Thread jayseye
An "anchor" allows linking to a specific place (target) on a page. If Zim supported anchors, you could link to an anchor on the same page, or to an anchor on another page. WikiMedia syntax supports anchors, so the precedent exists. Of course, anchors are also very commonly used in HTML on the Web