Thanks Bastien, this works inline. Please put it in the manual, it's just one line. I've spent looking for it every inch of the manual for more than a day.

So will you be putting in \phantomsection for inline targets to work? I guess if someone is using a <<target>> then it's more likely /not/ to be a section heading. Putting it at a section heading doesn't hurt, but not having it inline makes for a useless <<target>>. Off course for Latex only, so probably should be in the exporter.

Indraneel

On 2010-09-22 14:40, Bastien wrote:
Hi Indraneel,

Indraneel Majumdar<indran...@indraneel.info>  writes:

11.
     #+<<target>>
     Some text
12.  More text [[target][go to]]
You're right that there is a problem.

The usual way of turning radio links invisible is to comment them, but
Org comments need to be at the beginning of the line, which breaks list
indentation.  (Btw, no need for the '+' in '#+' -- '#+' is the syntax
prefix for optional elements like blocks, etc.)

The workaround here is to add (INVISIBLE) after your<<target>>

This works:

11.<<target>>(INVISIBLE)
     Some text
12. More text [[target][go to]]
It exports okay in HTML and LaTeX.

I've added a FAQ entry for this -- not sure whether it should go in the
manual.

Thanks for bringing this up!


_______________________________________________
Emacs-orgmode mailing list
Please 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