Question about org-export:

I'd like to create invisible radio targets to html anchor links using
org-export.

E.g., 

# <<radiotarget>>

should become

<a name="radiotarget"></a>

Currently, however, there are a couple of behaviors of org-exp.el that
make this difficult.

1) Org-export does convert invisible targets, but it puts paragraph
tags around the anchor, thus creating an empty line in the html
export, which messes up the layout.

         <p>
         <a name="radiotarget">&nbsp;</a>
         </p>

2) If the commented radio target is directly beneath or above a
headline, it is not exported. I checked org-exp.el and this seems to
be an intentional behavior. I'm not sure I understand the reasons
behind this, as it prevents one from giving custom anchors to
headlines.

This is especially important if one wants to be able to create
permalinks to headlines from other pages.

Thanks. Any feedback would be greatly appreciated.

Matt


_______________________________________________
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 via email to