zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #04078
Re: Shorten the link text automatically
Daniel,
with your described use case, may be you want to try my „Searched tagged pages“ plugin?
I implemented a function „Add pages as link“ there which basically adds the found pages into the current page as links.
If you find this useful and / or need some adaptions (e.g. Just the page name as link text), let me know and I will review it.
Regards,
Murat
From: Zim-wiki [mailto:zim-wiki-bounces+murat.gueven=ts.fujitsu.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Daniel Hofer
Sent: Saturday, December 17, 2016 11:01 PM
To: Karthik Tayur <karthikstayur@xxxxxxxxx>
Cc: zim-wiki@xxxxxxxxxxxxxxxxxxx; Zim-wiki <zim-wiki-bounces+krisztianmukli=mukli.hu@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Zim-wiki] Shorten the link text automatically
Hi
thanks for the detailed information!
Mhm, my workflow is not the same but I really like to be persuaded for another workflow.
My problem is: I have thousends of nested pages. So I can’t remember in advance the name of the cards.
That’s the reason why I press Ctrl+L first (without selecting text before). After entering a search phrase I get a list of all search results.
With the help of this list in the link dialog I can remember the searched page.
This ist perfect this way for me.
Von: Karthik Tayur [mailto:karthikstayur@xxxxxxxxx]
Gesendet: Samstag, 17. Dezember 2016 20:37
An: Daniel Hofer <dh@xxxxxxxxxxxxx<mailto:dh@xxxxxxxxxxxxx>>
Cc: krisztianmukli@xxxxxxxx<mailto:krisztianmukli@xxxxxxxx>; zim-wiki@xxxxxxxxxxxxxxxxxxx<mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>; Zim-wiki <zim-wiki-bounces+krisztianmukli=mukli.hu@xxxxxxxxxxxxxxxxxxx<mailto:zim-wiki-bounces+krisztianmukli=mukli.hu@xxxxxxxxxxxxxxxxxxx>>
Betreff: Re: [Zim-wiki] Shorten the link text automatically
Typing the text and selecting it (shift+arrow keys) and invoking Ctrl+L brings up the insert link window. The field selected automatically is the link to field itself. This also has the benefit of confirming that the destination exists.
Additionally, It is not always necessary to indicate the full hierarchy of the destination - Zim automatically finds the reference so long as the reference rests in the same page-sub-page hierarchy.
Am I missing something here?
On 12 December 2016 at 09:09, Daniel Hofer <dh@xxxxxxxxxxxxx<mailto:dh@xxxxxxxxxxxxx>> wrote:
Hello Mukli
Thanks.
Yes that’s a possibility and I know it.
But an automatically shortened linktext would save a lot of time, because
In 99% of all cases I only need the pagetitle as linktext.
Daniel
Von: Mukli Krisztián [mailto:krisztianmukli@xxxxxxxx<mailto:krisztianmukli@xxxxxxxx>]
Gesendet: Montag, 12. Dezember 2016 09:51
An: Daniel Hofer <dh@xxxxxxxxxxxxx<mailto:dh@xxxxxxxxxxxxx>>
Cc: zim-wiki@xxxxxxxxxxxxxxxxxxx<mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>; Zim-wiki <zim-wiki-bounces+krisztianmukli=mukli.hu@xxxxxxxxxxxxxxxxxxx<mailto:mukli.hu@xxxxxxxxxxxxxxxxxxx>>
Betreff: Re: [Zim-wiki] Shorten the link text automatically
Hello Daniel!
Could you try overwrite the linktext in the Paste Link window? What's wrong with that?
[cid:image002.jpg@01D259E7.C0EF2060]
---
Mukli Krisztián
tel: +3630 347 4636
mail: krisztianmukli@xxxxxxxx<mailto:krisztianmukli@xxxxxxxx>
web: www.mukli.hu<http://www.mukli.hu>
12.12.2016 09:36 időpontban Daniel Hofer ezt írta:
Hello
Ctrl & l for inserting a link is great !
But is there a possibility to shorten the linktext ?
An Example :
The link is :
Book :BA :Harry Potter :Page 34
The link text appears the same way. What I’d like to have:
Only the last part, so I mean the page name «Page 34» should appear in the link text.
Does anybody have an idea how to «fix» this?
Thanks a lot!
Daniel
_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@xxxxxxxxxxxxxxxxxxx<mailto: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<mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~zim-wiki
More help : https://help.launchpad.net/ListHelp
References