emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: friedel@nomaden.org
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Links to id:xxxxxx don't work in exported html
Date: Thu, 8 Jan 2009 22:43:10 +0100	[thread overview]
Message-ID: <F7A3A61E-D159-473C-8F3A-3C1FC422FF79@uva.nl> (raw)
In-Reply-To: <20090108144916.GB5649@taupan.ath.cx>

Hi Friedrich,

thanks for bringing this up.  Yes, this should work.
Back when I did the id links, I thought it would be very hard,
but fortunately I did put the basic framework for additional
targets in place already a while ago, in response to a request
by Matt for hard targets that are good for permanent HTML links.

Now you can use the ID's.  The advantage is that, as you move
links around, they will continue to work.  So this is really
great for Notes that you might want to re-organize.

On the other hand, when building a website, explicit targets
may be more self-explanatory:

* Headline that should be linked to


- Carsten

On Jan 8, 2009, at 3:49 PM, Friedrich Delgado Friedrichs wrote:

> Hi!
> I really like org-link-to-org-use-id, however it breaks links to
> org items in html export for me.
> I have the following test file:
> ** Test [[id:45c4a467-b6ee-497c-9ed7-40342738e1c2][Item in a  
> different org-file]]
> - [[id:frz5htg0rhe0][Yet another item in a different org file]]
>   [[id:8611fa8f-7460-47b6-8edd-67e1ec25c5ce][Local Item]]
> ** Local Item
>   :ID:       8611fa8f-7460-47b6-8edd-67e1ec25c5ce
>   :END:
> The two external links have the mentioned ids and the links work in  
> org,
> however html export gives me the following html snippet:
> <div id="outline-container-1.1" class="outline-3">
> <h3 id="sec-1.1">1.1 Test <i>&lt;id:45c4a467- 
> b6ee-497c-9ed7-40342738e1c2&gt;</i> </h3>
> <div id="text-1.1">
> <ul>
> <li>
> <i>&lt;id:frz5htg0rhe0&gt;</i>
> <p>
> <a href="#sec-1.2">Local Item</a>
> </p>
> </li>
> </ul>
> </div>
> </div>
> <div id="outline-container-1.2" class="outline-3">
> <h3 id="sec-1.2">1.2 Local Item </h3>
> <div id="text-1.2">
> </div>
> </div>
> i.e. only the internal link works, the links to different org files
> are only displayed by their ids.
> -- 
>        Friedrich Delgado Friedrichs <friedel@nomaden.org>
>                             TauPan on Ircnet and Freenode ;)
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-01-08 21:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-08 14:49 Friedrich Delgado Friedrichs
2009-01-08 21:43 ` Carsten Dominik [this message]
2009-01-09 13:50   ` Friedrich Delgado Friedrichs
2009-01-09 15:21     ` Carsten Dominik
2009-01-09 16:59       ` Friedrich Delgado Friedrichs
2009-01-09 17:39         ` Carsten Dominik
2009-01-12 16:09           ` Friedrich Delgado Friedrichs
2009-01-13  9:17             ` Carsten Dominik
     [not found] <20090108160642.23D3D29407@mail1.panix.com>
2009-01-08 23:07 ` Tom Breton (Tehom)

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:

  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=F7A3A61E-D159-473C-8F3A-3C1FC422FF79@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=friedel@nomaden.org \
    --subject='Re: Links to id:xxxxxx don'\''t work in exported html' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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