emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Broken CUSTOMID links
@ 2010-11-05 17:53 Jambunathan K
  2010-11-06 19:36 ` Carsten Dominik
  0 siblings, 1 reply; 8+ messages in thread
From: Jambunathan K @ 2010-11-05 17:53 UTC (permalink / raw)
  To: emacs-orgmode


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.

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-11-21  8:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-05 17:53 Broken CUSTOMID links Jambunathan K
2010-11-06 19:36 ` Carsten Dominik
2010-11-08 13:39   ` [PATCH 2/2] Fix broken CUSTOM_ID links Jambunathan K
2010-11-12 15:50     ` Carsten Dominik
2010-11-17 13:26       ` Carsten Dominik
2010-11-17 15:22         ` [PATCH: RESUBMITTED] " Jambunathan K
2010-11-17 15:22         ` Jambunathan K
2010-11-21  8:45           ` Carsten Dominik

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