From: Puneeth Chaganti <punchagan@gmail.com>
To: Bodhi <thebbroy@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Reg: Publishing in html using property tags
Date: Mon, 15 Aug 2011 12:39:05 +0530 [thread overview]
Message-ID: <CALnw1fRX5dOZ7ZHzKv9YNe1fNqJm2aiTGhbgJHgi7CY1mk=vUQ@mail.gmail.com> (raw)
In-Reply-To: <CADgoivLLRicyfnHXsvhVp3viWE10XGX5OYwwr3oUT8f0jbRDuQ@mail.gmail.com>
Hi Bodhi,
On Mon, Aug 15, 2011 at 9:20 AM, Bodhi <thebbroy@gmail.com> wrote:
> Hi Puneeth,
> Let us assume I have two files: foo.org and bar.org.
> foo.bar contains:
> :PROPERTIES:
> :CUSTOM_ID: testing
> :END:
>
> bar.org contains
> [[CUSTOM_ID:testing]]
>
> Now, I wish to click on bar.org's link, and it should open up the file
> foo.org. Is there a way to do so? To be more specific, I wish to put any
> link without any relative or absolute addressing, and I should still be able
> to jump to links, using some kind of invisible data base which org-mode
> uses. And I wish to convert it to html for publishing these documents, using
> the htmlize.el by Niksic.
To be able to do this, you should let org-mode create a universal ID
for the heading that you want to link to. The following steps should
help you do this.
1. Make sure you have the org-id module loaded.
: (require 'org-id)
2. In the file foo.org, go to the first heading (presuming that's the
heading you want to link to).
3. Call the function =org-store-link=.
: M-x org-store-link
4. Go to the location in bar.org, where you want to insert the link.
5. Call the function =org-insert-link=.
: M-x org-insert-link
Use the arrow keys to select the link you want to insert, from the
list.
HTH,
Puneeth
next prev parent reply other threads:[~2011-08-15 7:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-14 16:13 Reg: Publishing in html using property tags Bodhi
2011-08-14 16:34 ` Puneeth Chaganti
2011-08-15 3:50 ` Bodhi
2011-08-15 7:09 ` Puneeth Chaganti [this message]
2011-08-15 8:14 ` Bodhi
2011-08-16 17:20 ` Puneeth Chaganti
2011-08-16 17:31 ` Bodhi
2011-08-16 17:37 ` Puneeth Chaganti
2011-08-17 3:21 ` Bodhi
2011-08-17 4:04 ` Puneeth Chaganti
2011-08-17 9:19 ` Bodhi
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='CALnw1fRX5dOZ7ZHzKv9YNe1fNqJm2aiTGhbgJHgi7CY1mk=vUQ@mail.gmail.com' \
--to=punchagan@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=thebbroy@gmail.com \
/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).