emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bodhi <thebbroy@gmail.com>
To: Puneeth Chaganti <punchagan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Reg: Publishing in html using property tags
Date: Mon, 15 Aug 2011 13:44:06 +0530	[thread overview]
Message-ID: <CADgoiv+xng2d-mPQ28MVywuqR=5eXAoH24Qsu+qqotN9syr8xA@mail.gmail.com> (raw)
In-Reply-To: <CALnw1fRX5dOZ7ZHzKv9YNe1fNqJm2aiTGhbgJHgi7CY1mk=vUQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1825 bytes --]

Dear Puneeth,
The org-mode link works magically. Thanks!
But the same doesn't work for the generated html page.
The pages get built, and the ID gets created, the html href contains that
unique ID, but the browser is unable to load foo.html from the link in
bar.html.

Did you get any success on that front? Any ideas? I'm running org-mode 7.4.

On Mon, Aug 15, 2011 at 12:39 PM, Puneeth Chaganti <punchagan@gmail.com>wrote:

> 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
>



-- 
Regards,
Bodhisatta Barman Roy

[-- Attachment #2: Type: text/html, Size: 2736 bytes --]

  reply	other threads:[~2011-08-15  8:14 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
2011-08-15  8:14       ` Bodhi [this message]
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='CADgoiv+xng2d-mPQ28MVywuqR=5eXAoH24Qsu+qqotN9syr8xA@mail.gmail.com' \
    --to=thebbroy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=punchagan@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).