Re: [O] ox-md conforming pandoc-markdown

2014-01-23 Thread Michel Kuhlmann
On Thu, Jan 23, 2014 at 12:12:30PM +0100, Nicolas Goaziou wrote:
 
  This seems easy enough to fix, we simply need to add:
 
(org-element-put-property item :post-blank nil)
 
  to the org-md-item function. Can anybody tell me if this is a bad
  idea? Otherwise I will send a patch.
 
 This should be already fixed in maint branch.
 

Great, thanks



Re: [O] ox-md conforming pandoc-markdown

2014-01-22 Thread Michel Kuhlmann
  - customisable meta-data export (currently nothing exported) of, say,
 
  […]
  * pandoc header
  
  % myTitle
  % meMyself
  % 2014-01-21
 
 Basic support for this is in the org-pandoc project, which bases its
 export on ox-md but adds some additional features.
 
 I’d like to expand org-pandoc to support more pandoc features,
 including those you mention. I just pushed up a (very rudimentary)
 change to my fork of this project to support proper table export for
 pandoc as well.
 
   https://github.com/egh/org-pandoc

This sounds great, thanks.



[O] ox-md conforming pandoc-markdown

2014-01-21 Thread Michel Kuhlmann
Hi,
I often convert files with `pandoc`. Currently there is no
pandoc-org-mode-reader, so I'm using markdown as an intermediate step.

I'm aware of https://github.com/robtillotson/org-pandoc.git; this
also uses `ox-md`, so the issue applies also there.

I found these issues inconvenient:

- Listings create blank-lines in between
+ Currently
- uno
   - uno
   - dos-  - dos
   - tres
- tres
+ Desired
   - uno- uno
   - dos-  - dos
   - tres   - tres

- Formulas are getting surrounded by \(  \); 
+ Currently
$Q_{max}$  - \(Q_{max}\)
+ Desired
$Q_{max}$  - $Q_{max}$

- customisable meta-data export (currently nothing exported) of, say,

#+TITLE: myTitle
#+KEYWORDS: cat1 cat2
#+AUTHOR: meMyself
#+DATE : 2014-01-21
#+OPTIONS: toc:t

+ Desired
* meta-yaml-block

---
title:  myTitle
author: meMyself
catgories: cat1 cat2
date: 2014-01-21
toc: toc:t
...

* pandoc header

% myTitle
% meMyself
% 2014-01-21

Kind regards,
Michel