From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Radio targets in comment lines Date: Thu, 22 Aug 2013 20:40:04 +0200 Message-ID: <8738q1y3gb.fsf@gmail.com> References: <35822ACE-C595-4215-9BD6-613048F1691C@wustl.edu> <87ioyyxfw6.fsf@gmail.com> <7F46F598-FC89-49C1-8076-DC9D88DC6097@wustl.edu> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCZnZ-0000qp-SX for emacs-orgmode@gnu.org; Thu, 22 Aug 2013 14:40:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCZnU-00031J-MT for emacs-orgmode@gnu.org; Thu, 22 Aug 2013 14:39:57 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:62658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCZnU-000314-GE for emacs-orgmode@gnu.org; Thu, 22 Aug 2013 14:39:52 -0400 Received: by mail-wi0-f174.google.com with SMTP id j17so1076172wiw.1 for ; Thu, 22 Aug 2013 11:39:51 -0700 (PDT) In-Reply-To: <7F46F598-FC89-49C1-8076-DC9D88DC6097@wustl.edu> (Steen Hoyer's message of "Thu, 22 Aug 2013 09:16:48 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Steen Hoyer Cc: emacs-orgmode@gnu.org Steen Hoyer 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 > <<>> > <<>> > > I am not using the radio targets in a sentence and therefore I don't > want them to be visible. I could use <> 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