From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan L Tyree Subject: Re: Pandoc users, how do you use it with org-mode, and why? Date: Thu, 22 May 2014 08:24:42 +1000 Message-ID: <537D27AA.1060307@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------050904070302070808030502" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnEwO-0004KT-8I for emacs-orgmode@gnu.org; Wed, 21 May 2014 18:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnEwJ-0002hD-Lh for emacs-orgmode@gnu.org; Wed, 21 May 2014 18:24:52 -0400 Received: from mail-pd0-x233.google.com ([2607:f8b0:400e:c02::233]:61423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnEwJ-0002go-A5 for emacs-orgmode@gnu.org; Wed, 21 May 2014 18:24:47 -0400 Received: by mail-pd0-f179.google.com with SMTP id x10so1787013pdj.24 for ; Wed, 21 May 2014 15:24:45 -0700 (PDT) Received: from [192.168.1.1] (202.63.32.163.static.rev.eftel.com. [202.63.32.163]) by mx.google.com with ESMTPSA id ib5sm9738706pbb.55.2014.05.21.15.24.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 May 2014 15:24:45 -0700 (PDT) In-Reply-To: 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 This is a multi-part message in MIME format. --------------050904070302070808030502 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit I'm using org-mode for a lengthy book. My editor has graciously agreed to edit the raw ord-mode files, thus eliminating yet another source of re-introduced errors. However, the publisher asks her to format in Word, so after all the editing is done, I need to convert to Word. Pandoc seems a good choice: org -> latex -> docx: the first step normal org export, the second step Pandoc. It is good EXCEPT my book contains many, many cross references. In docx they come out looking like: "see [sec-3-4-2]" when I want them to look like "see 3.4.2". I'm still on a steep part of the learning curve, so don't know if Pandoc can be tweaked to fix this. I have also tried oolatex which is a part of the tex4ht suite. It does the right thing on cross references, but has some other minor problems. I have also used Pandoc to convert a friends Markdown to ePub. Slick and nice. Cheers, Alan On 22/05/14 04:01, Grant Rettke wrote: > Hi, > > Lately been hearing great things about Pandoc's ability to export to > ebook formats and more. > > Folks that use both Pandoc and org-mode: how do you use them together, > and why? > > Kind regards, > > Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi > gcr@wisdomandwonder.com | > http://www.wisdomandwonder.com/ > “Wisdom begins in wonder.” --Socrates > ((λ (x) (x x)) (λ (x) (x x))) > “Life has become immeasurably better since I have been forced to stop > taking it seriously.” --Thompson -- Alan L Tyree http://www2.austlii.edu.au/~alan Tel: 04 2748 6206 sip:typhoon@iptel.org --------------050904070302070808030502 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm using org-mode for a lengthy book. My editor has graciously agreed to edit the raw ord-mode files, thus eliminating yet another source of re-introduced errors.

However, the publisher asks her to format in Word, so after all the editing is done, I need to convert to Word. Pandoc seems a good choice:

org -> latex -> docx: the first step normal org export, the second step Pandoc.

It is good EXCEPT my book contains many, many cross references. In docx they come out looking like:

"see [sec-3-4-2]" when I want them to look like "see 3.4.2".

I'm still on a steep part of the learning curve, so don't know if Pandoc can be tweaked to fix this. I have also tried oolatex which is a part of the tex4ht suite. It does the right thing on cross references, but has some other minor problems.

I have also used Pandoc to convert a friends Markdown to ePub. Slick and nice.

Cheers,
Alan

On 22/05/14 04:01, Grant Rettke wrote:
Hi,

Lately been hearing great things about Pandoc's ability to export to ebook formats and more. 

Folks that use both Pandoc and org-mode: how do you use them together, and why?

Kind regards,

Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/
“Wisdom begins in wonder.” --Socrates
((λ (x) (x x)) (λ (x) (x x)))
“Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson

-- 
Alan L Tyree                    http://www2.austlii.edu.au/~alan
Tel:  04 2748 6206              sip:typhoon@iptel.org
--------------050904070302070808030502--