From: Christoph LANGE <ch.lange@jacobs-university.de>
To: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: How to link to a fragment (aka anchor/bookmark) of a local file (e.g. a TiddlyWiki)?
Date: Wed, 09 Nov 2011 18:22:02 +0100 [thread overview]
Message-ID: <4EBAB6BA.6050405@googlemail.com> (raw)
Dear all,
I know that org-mode supports links to local files via relative file:
URLs, e.g. file:filename.html. It also supports links to fragments (aka
anchors/bookmarks) in remote files via http: URLs, e.g.
http://www.example.org/filename.html#section2.
Now, is there a way to combine these? I would like to use something
like file:filename.html#section2 to link to a fragment in a file that is
in the same directory as my org file. For portability reasons I don't
want to use any other way of linking to that file than a relative file: URL.
Please read on if and only if you are interested in my reasons for
wishing for such a feature :-)
My concrete use case is that before learning about org-mode I managed my
personal knowledge in a TiddlyWiki (http://www.tiddlywiki.com/), and
some of my knowledge I'm still keeping there. (Why? See below.) The
pages ("tiddlers") in a TiddlyWiki can be accessed as fragments of the
TiddlyWiki HTML file, e.g. file:/path/to/tiddly.html#WikiPage. I have
my TiddlyWiki file in the same directory as my org file and would like
to link to specific pages of it using file:tiddly.html#WikiPage in order
to achieve a tight integration between both knowledge collections.
FYI, and really just FYI, as I don't want to start a flamewar: The one
single thing that I still like better in TiddlyWiki than in org-mode and
that I haven't been able to reproduce in org-mode is that I can organize
my knowledge in a hierarchical and linked way by tagging pages with
other pages. E.g. I could have a page OrgMode tagged with
ProductivityTool, where ProductivityTool would not merely be a tag, but
the name of another page, which contains general information about such
tools. That is, to the best of my knowledge, not possible in org-mode,
which treats outline headlines and tags as two completely different things.
Cheers, and thanks in advance for any help,
Christoph
--
Christoph Lange, http://www.facebook.com/ch.lange, Skype duke4701
next reply other threads:[~2011-11-09 17:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 17:22 Christoph LANGE [this message]
2011-11-09 18:03 ` How to link to a fragment (aka anchor/bookmark) of a local file (e.g. a TiddlyWiki)? Samuel Wales
2011-11-11 20:06 ` Christoph LANGE
2011-11-11 20:30 ` Samuel Wales
2011-11-11 20:51 ` Christoph LANGE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EBAB6BA.6050405@googlemail.com \
--to=ch.lange@jacobs-university.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).