emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Broken CUSTOMID links


From: Carsten Dominik
Subject: Re: [Orgmode] Broken CUSTOMID links
Date: Sat, 6 Nov 2010 15:36:42 -0400


On Nov 5, 2010, at 6:53 PM, Jambunathan K wrote:


Note the 'H:1' in options line. Export this to HTML. Note that CUSTOMID
link is broken. A snippet of relevant HTML section is attached
below.

Change 'H:1' to 'H:3' note that there is no more brokenness.

Possible root cause: When headlines are turned to list 'extra-targets'
are not identified correctly.

That is correct - Org does not assign IDs or names to list items,
so it has no place to link to. This could probably be fixed - anyone would
like to fix this?

- Carsten


(This bug is unrelated to any of the previous internal link bugs that I
have reported)

# Input file

#+OPTIONS:   H:1

* Links
** Targets

*** Fuzzy Target

*** Target with CUSTOMID
  :PROPERTIES:
  :CUSTOM_ID: aabbccddeeff
  :END:

*** Dedicated Target
#   <<Dedicated Target>>

*** <<<Radioed Target>>>

** References

*** References to Fuzzy Target
  This is a link to [[Fuzzy Target]].

*** References to CUSTOMID links
  This link to  [[#aabbccddeeff][CUSTOMID Target]] is broken.

*** References to Dedicated Target
  There is a link to nodesc [[Dedicated Target]] here. There is a link
  to [[Dedicated%20Target][Jump to Dedicated Target]] here.

*** References to Radioed Links
  This section has references to Radioed Target. One more reference
  to Radioed Target.



#+begin_src html
<!-- Headline defined here -->
<ul>
  <li id="sec-1_1_2">
    <a name="sec-1_1_2" id="sec-1_1_2">
    </a>
    Target with CUSTOMID
    <br/>
  </li>
</ul>

<!-- Headline referenced here   -->
<ul>
  <li id="sec-1_2_2">
    References to CUSTOMID links
    <br/>
    This link to
    <a href="#aabbccddeeff">
      CUSTOMID Target
    </a>
    is broken.
  </li>
</ul>
#+end_src


Jambunathan K.

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]