From: Jambunathan K <kjambunathan@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [dev] Implement "ref" link types
Date: Mon, 05 Mar 2012 15:07:09 +0530 [thread overview]
Message-ID: <81hay3pewq.fsf@gmail.com> (raw)
In-Reply-To: <87y5rx22km.fsf@gmail.com> (Nicolas Goaziou's message of "Mon, 20 Feb 2012 11:59:05 +0100")
> On the Org side, when a link like [[something]] or [[something][text]]
> is encountered in a buffer, the search would go on like this:
>
> 1. Search any "<<something>>" or "#+target: something"[1].
> 1. A link to an invisible target will be replaced with _nothing_
> (that's the point of being invisible).
What led you to come up with this interpretation? [3].
A target *reference* will *always* export and create a clickable link
irrespective how the target is *defined*.
Read on...
> [1] This is the replacement for invisible targets, since they cannot
> live in comments anymore.
I think there is an element of confusion about what invisible target is.
After some digging, I realize that they were originally called as
invisible anchors.
The manual [1] has the following note:
,----
| * Matt Lundin has proposed last-row references for table formulas
| and named invisible anchors.
`----
The original post [2] from Matt says
,----
| # <<radiotarget>>
|
| should become
|
| <a name="radiotarget"></a>
`----
Now the question is what is invisible? The "description" in <a ...> </a>
becomes invisible.
Why was the term invisible chosen in the first place. For this one has
to look at the the "default" behaviour for targets which is to export
with *both* the anchor name and anchor description.
So, I think a correction is in order.
Footnotes:
[1] (info "(org) History and Acknowledgments")
[2] http://lists.gnu.org/archive/html/emacs-orgmode/2008-11/msg00327.html
[3] If I export the following unit test snippet, the produced output
from LaTeX/PDF has *just* "Paragraph" and nothing else.
,----
| Paragraph.
| #+TARGET: Test
| [[Test]]
`----
--
prev parent reply other threads:[~2012-03-05 9:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-19 18:08 [dev] Implement "ref" link types Nicolas Goaziou
2012-02-19 19:28 ` Christian Moe
2012-02-19 19:41 ` Nicolas Goaziou
2012-02-19 20:11 ` Toby Cubitt
2012-02-19 20:20 ` Christian Moe
2012-02-19 19:41 ` Samuel Wales
2012-02-19 20:02 ` Nicolas Goaziou
2012-02-19 20:48 ` Samuel Wales
2012-02-19 20:10 ` Carsten Dominik
2012-02-20 0:51 ` Nicolas Goaziou
2012-02-20 7:09 ` Carsten Dominik
2012-02-20 10:59 ` Nicolas Goaziou
2012-02-20 22:06 ` Nicolas Goaziou
2012-02-21 1:26 ` Thomas S. Dye
2012-02-21 5:14 ` David Maus
2012-02-21 9:18 ` Nicolas Goaziou
2012-02-27 19:38 ` Nicolas Goaziou
2012-02-27 20:38 ` David Maus
2012-03-05 9:37 ` Jambunathan K [this message]
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=81hay3pewq.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=n.goaziou@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.