emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Steen Hoyer <j.s.hoyer@wustl.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Radio targets in comment lines
Date: Thu, 22 Aug 2013 20:40:04 +0200	[thread overview]
Message-ID: <8738q1y3gb.fsf@gmail.com> (raw)
In-Reply-To: <7F46F598-FC89-49C1-8076-DC9D88DC6097@wustl.edu> (Steen Hoyer's message of "Thu, 22 Aug 2013 09:16:48 -0500")

Steen Hoyer <j.s.hoyer@wustl.edu> writes:

> Thank you Nicolas! I will think about a patch for the FAQ. I don't quite understand one of your comments:
>
>> There is no point in making radio targets invisible. 
>
> I think that invisible radio targets are precisely what I want -
> that's why I made so many of them in comments under the old system. Am
> I missing something? I've tried putting the radio targets in
> a :LOGBOOK:, which works fine in Emacs, but not after export. Perhaps
> I should use some other type of non-exported drawer?
>
> For what it is worth, I am trying to able to paste text from academic papers (with multiple possible citation styles) and have links to notes elsewhere in the file appear automatically.
>
> * Author Year
> <<<Author et al., Year>>>
> <<<Author et al. (Year)>>>
>
> I am not using the radio targets in a sentence and therefore I don't
> want them to be visible. I could use <<Author et al., Year>> to make
> an invisible target (or use a custom ID), but then to link I would
> need [[Author et al., Year]], instead of simply Author et al., Year.
> Does this make sense, is there some workaround I'm missing, or should
> I give up on this clumsy system?

I'm not sure to understand. With this method, you're just creating
broken links since the source (the radio target) will be removed upon
exporting. All these links will have no destination.

If you just want the links when writing the document and have them
turned into plain text when exporting the document, you can simply
delete the radio targets using a function within
`org-export-before-processing-hook'.


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2013-08-22 18:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 23:05 Radio targets in comment lines Steen Hoyer
2013-08-22  8:56 ` Nicolas Goaziou
2013-08-22 14:16   ` Steen Hoyer
2013-08-22 18:40     ` Nicolas Goaziou [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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738q1y3gb.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=j.s.hoyer@wustl.edu \
    /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 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).