From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: problem with ox-pandoc export Date: Wed, 01 Jul 2015 14:57:39 +0200 Message-ID: <87mvzg827w.fsf@nicolasgoaziou.fr> References: <87a8vmv5vq.fsf@nicolasgoaziou.fr> <87pp4htpk1.fsf@nicolasgoaziou.fr> <878ub2k8pq.fsf@nicolasgoaziou.fr> <874mlqjqfk.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAHZ1-00013H-OP for emacs-orgmode@gnu.org; Wed, 01 Jul 2015 08:56:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAHZ0-0006CO-G0 for emacs-orgmode@gnu.org; Wed, 01 Jul 2015 08:56:31 -0400 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:45842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAHZ0-0006Bw-8l for emacs-orgmode@gnu.org; Wed, 01 Jul 2015 08:56:30 -0400 In-Reply-To: (Alan Schmitt's message of "Tue, 30 Jun 2015 09:31:35 +0200") 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: Alan Schmitt Cc: emacs-orgmode Alan Schmitt writes: > In short, it exports the org file to another temporary org file (using > the pandoc exporter that inherits from the org exporter), then it calls > the pandoc binary to convert from org to the target format. The first > step (org to temporary org) is used to extract some information from the > org file that is used in further steps (like creating a custom CSS or > adding arguments to the call to the pandoc binary). So this is not a Pandoc export back-end (i.e. a back-end that translates Org syntax into Pandoc's extended Markdown syntax). I think it would be nice to have the latter in core, even more so when we finally introduce citation syntax in Org. > The problem seems to be that the org to org export part is not the > identity. Calling `org-org-template' in `org-pandoc-template' solves the > issue. Then mimic `org-org-template' in `org-pandoc-template', as it is really basic. Regards,