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 unwanted, heading-anchors can be overriden). Perhaps a higher level heading could have the priority, if there are more with the same name. Anyway, if one want to avoid trouble with linkiong to duplicate headings, he can always add an explicit anchor. I would consider duplicate headings as the user's responsibility, Zim would simply use the first one on the highest level.

The point is to have the possibility to write e.g. :SomePage#Summary, which would point us to the content under the heading "Summary". And we did not have to put an anchor manually anywhere, it would work by magic :-)

When needed, we could still insert a "true" anchor into the page, let's say near an image, and then link :ThatPage#RelatedImage.

Is that comprehensible?

Dan

Dne 25.11.2012 14:16, jayseye napsal(a):
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 as an implicit anchor?

Best,
Marc

On 11/25/12, Dan Lessner <dan.less...@centrum.cz> wrote:
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 napsal(a):
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 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.

Regards,
Marc Paul Rubin
"jayseye"


On 11/24/12, John Geoffrey <XXX@XXXXX> wrote:
oh? that doesn't work yet? I was thinking about trying out if that
works
somehow for months. Yes, I'd be interested.

On 25 November 2012 04:04, jayseye <XXX@XXXXX> wrote:

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.

Would anyone else be interested in using anchors in Zim?

Thanks,
Marc Paul Rubin
"jayseye"
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp







_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to