← Back to team overview

zim-wiki team mailing list archive

Re: Anchors for links?

 

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 to this relates closely to folding. My ultimate paradise will be the tool, where I can interactively choose the scope and level of detail of my view. E.g. "I want to see the contents of this subtree (pages or headings, that would not matter anymore) to the depth of three" (deeper details would be hidden and and accesible upon unfold). In other words, in paradise there is folding and the tree of pages (Index) seamlessly continues with tree of headings (TOC).

There is a student (Hello, Honzo!) working on a related project. Its aim is a Zim plugin to automatically split a page into a tree of subpages by headings and vice versa, join a tree into a single page, keeping the structure as headings. Anchors and subpage-linking capability in Zim would certainly help him with keeping links consistency during joins and splits (for which we do not see a really good solution so far).

(We will appreciate feedback on the ideas in this mail, in the conference or privately.)

Concluded, intra-page linking certainly makes sense from my point of view.

Regards,
Dan


Dne 25.11.2012 14:34, jayseye napsal(a):
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 pages.
As a new Zim user, one reason I posted here to the mailing list was to
get feedback on the pros and cons of anchors as a possible feature.

There is another rationale in support of intra-page anchors: there is
strong interest in folding, which indicates that relatively large
pages may be used to advantage.

Thanks,
Marc

On 11/24/12, Brian Allen Vanderburg II <brianvanderburg2@xxxxxxx> wrote:
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@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp







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




References