[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] problem with ox-pandoc export
From: |
Alan Schmitt |
Subject: |
Re: [O] problem with ox-pandoc export |
Date: |
Sat, 27 Jun 2015 12:19:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
On 2015-06-27 12:07, Alan Schmitt <address@hidden> writes:
> No, and I can reproduce this with an empty configuration. So I guess
> there is something fishy going on in the generation of the temporary org
> file.
Here is an ECM to show the issue. Evaluate this code:
#+begin_src emacs-lisp
(org-export-define-derived-backend 'mytest 'org
:translate-alist '((template . org-pandoc-template))
:export-block "MYTEST"
:menu-entry '(?t "test" as/org-export-test))
(defun as/org-export-test (&optional a s v b e)
(org-export-to-file 'mytest
(org-export-output-file-name
(concat (make-temp-name ".tmp") ".org") s)))
#+end_src
Then try it with this file
--8<---------------cut here---------------start------------->8---
#+title: This is a title
#+date: 1/2/3
* First section
foo
* Second section
bar
--8<---------------cut here---------------end--------------->8---
The resulting exported file is missing the title and date.
Best,
Alan
--
OpenPGP Key ID : 040D0A3B4ED2E5C7
Athmospheric CO₂ average (2015-05-30, Mauna Loa Observatory): 403.41 ppm
signature.asc
Description: PGP signature
- [O] problem with ox-pandoc export, Alan Schmitt, 2015/06/26
- Re: [O] problem with ox-pandoc export, Nicolas Goaziou, 2015/06/26
- Re: [O] problem with ox-pandoc export, Alan Schmitt, 2015/06/27
- Re: [O] problem with ox-pandoc export,
Alan Schmitt <=
- Re: [O] problem with ox-pandoc export, Nicolas Goaziou, 2015/06/27
- Re: [O] problem with ox-pandoc export, Alan Schmitt, 2015/06/28
- Re: [O] problem with ox-pandoc export, Alan Schmitt, 2015/06/29
- Re: [O] problem with ox-pandoc export, Nicolas Goaziou, 2015/06/29
- Re: [O] problem with ox-pandoc export, Alan Schmitt, 2015/06/29
- Re: [O] problem with ox-pandoc export, Nicolas Goaziou, 2015/06/29
- Re: [O] problem with ox-pandoc export, Alan Schmitt, 2015/06/30