From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: org export to org Date: Wed, 28 Jan 2015 23:26:22 -0500 Message-ID: <87pp9yfc0h.fsf@pierrot.dokosmarshall.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGgge-0005cT-GJ for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 23:26:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGgga-0001KH-2H for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 23:26:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:54580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGggZ-0001Jv-S8 for emacs-orgmode@gnu.org; Wed, 28 Jan 2015 23:26:32 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YGggW-0000jz-E5 for emacs-orgmode@gnu.org; Thu, 29 Jan 2015 05:26:28 +0100 Received: from pool-108-20-41-17.bstnma.fios.verizon.net ([108.20.41.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jan 2015 05:26:28 +0100 Received: from ndokos by pool-108-20-41-17.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jan 2015 05:26:28 +0100 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: emacs-orgmode@gnu.org John Kitchin writes: > All the discussion about citations has gotten me thinking. It is easy > enough to export cite links to the pandoc format, including pre and post > text. I have done a proof of concept of this in a markdown export. > > I would like to do an org export to org, with the goal of the exported > org document to no longer have cite:KEY1,KEY2 but rather [@KEY1; @KEY2]. So far my > investigations of exporting org to org have not led anywhere; the links are > untouched, even with an org format option in the link definition. > > Are links ignored in an org export to org? If not, is there some trick > to converting them to another format? > ox-org.el defines the org backend with (link . org-org-identity) - actually just about everything is tied to org-org-identity (with a few exceptions of course). Maybe you can derive a backend which munges links appropriately (for some value of "appropriately")? -- Nick