From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Pandoc users, how do you use it with org-mode, and why? Date: Wed, 21 May 2014 13:01:31 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1ccae44b31d04f9ecc9af Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnApZ-0000DI-DU for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:01:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnApY-0001l0-F4 for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:01:33 -0400 Received: from mail-oa0-x22c.google.com ([2607:f8b0:4003:c02::22c]:45314) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnApY-0001iH-AJ for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:01:32 -0400 Received: by mail-oa0-f44.google.com with SMTP id o6so2688606oag.31 for ; Wed, 21 May 2014 11:01:31 -0700 (PDT) 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" --e89a8ff1ccae44b31d04f9ecc9af Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson --e89a8ff1ccae44b31d04f9ecc9af Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Lately been hearing great thin= gs about Pandoc's ability to export to ebook formats and more.=C2=A0

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

Kind regards,

Grant Re= ttke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
gcr@wisdomandwonder.com | http://www.wisdomand= wonder.com/
=E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates
((=CE=BB (x) (x x)= ) (=CE=BB (x) (x x)))
=E2=80=9CLife has become immeasurably better since= I have been forced to stop taking it seriously.=E2=80=9D --Thompson
--e89a8ff1ccae44b31d04f9ecc9af-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Pandoc users, how do you use it with org-mode, and why? Date: Wed, 21 May 2014 19:33:21 +0100 Message-ID: <878upv56dq.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnBKa-0006xY-Hk for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:33:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnBKR-0003tb-4x for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:33:36 -0400 Received: from mail-am1lp0011.outbound.protection.outlook.com ([213.199.154.11]:13575 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnBKQ-0003tK-VJ for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:33:27 -0400 In-Reply-To: (Grant Rettke's message of "Wed, 21 May 2014 13:01:31 -0500") 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: Grant Rettke Cc: "emacs-orgmode@gnu.org" On Wednesday, 21 May 2014 at 13: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? I've only recently started using pandoc and I have exactly one use case: the need, in some cases, to produce a .docx document with mathematics. Pandoc will convert LaTeX to docx and handles equations reasonably well (not perfect but better than any other alternative I have found to date). The LaTeX generated by org is usually perfectly fine. For >98% of my needs, org + included exporters + babel is more than enough, mind you. -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-966-g6cdf1b From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: Pandoc users, how do you use it with org-mode, and why? Date: Wed, 21 May 2014 20:49:01 +0200 Message-ID: References: <878upv56dq.fsf@ucl.ac.uk> Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnBZk-0003LE-K8 for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:49:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnBZc-0000ZD-3v for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:49:16 -0400 Received: from mail-ee0-f45.google.com ([74.125.83.45]:36976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnBZb-0000Z2-Uk for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:49:08 -0400 Received: by mail-ee0-f45.google.com with SMTP id d49so1907986eek.32 for ; Wed, 21 May 2014 11:49:06 -0700 (PDT) In-Reply-To: <878upv56dq.fsf@ucl.ac.uk> 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: Eric S Fraga Cc: org-mode mailing list , Grant Rettke >>=20 >> Lately been hearing great things about Pandoc's ability to export to = ebook >> formats and more. >>=20 >> Folks that use both Pandoc and org-mode: how do you use them = together, and >> why? >=20 > I've only recently started using pandoc and I have exactly one use = case: > the need, in some cases, to produce a .docx document with > mathematics. Pandoc will convert LaTeX to docx and handles equations > reasonably well (not perfect but better than any other alternative I > have found to date). The LaTeX generated by org is usually perfectly > fine. >=20 Pandoc to docx/odt conversion handles bibtex/biblatex citations, which = built-in org to odt/docx conversion does not. =20 Vikas= From mboxrd@z Thu Jan 1 00:00:00 1970 From: Igor Sosa Mayor Subject: Re: Pandoc users, how do you use it with org-mode, and why? Date: Wed, 21 May 2014 20:51:46 +0200 Message-ID: <87fvk3newt.fsf@pedroche.home> References: <878upv56dq.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnBcF-0004Y1-Ak for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:51:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnBc9-0001Xj-0I for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:51:51 -0400 Received: from plane.gmane.org ([80.91.229.3]:52966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnBc8-0001Xd-QI for emacs-orgmode@gnu.org; Wed, 21 May 2014 14:51:44 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WnBc7-0003cs-5l for emacs-orgmode@gnu.org; Wed, 21 May 2014 20:51:43 +0200 Received: from 95-91-249-163-dynip.superkabel.de ([95.91.249.163]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 May 2014 20:51:43 +0200 Received: from joseleopoldo1792 by 95-91-249-163-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 May 2014 20:51:43 +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: emacs-orgmode@gnu.org Vikas Rawal writes: > Pandoc to docx/odt conversion handles bibtex/biblatex citations, which > built-in org to odt/docx conversion does not. +1 it works reasonably well for latex->(odt)->doc, even with biblatex. 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-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert Krewinkel Subject: Re: Pandoc users, how do you use it with org-mode, and why? Date: Thu, 22 May 2014 09:39:17 +0200 Message-ID: <87mweagt3u.fsf@caffelatte.moltkeplatz.de> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnNbA-0007to-9u for emacs-orgmode@gnu.org; Thu, 22 May 2014 03:39:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnNb2-0004Kr-1C for emacs-orgmode@gnu.org; Thu, 22 May 2014 03:39:32 -0400 Received: from moltkeplatz.de ([85.214.95.47]:38516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnNb1-0004K3-Nd for emacs-orgmode@gnu.org; Thu, 22 May 2014 03:39:23 -0400 In-Reply-To: (Grant Rettke's message of "Wed, 21 May 2014 13:01:31 -0500") 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: Grant Rettke Cc: "emacs-orgmode@gnu.org" Hey, Grant Rettke writes: > 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? My personal use-case here is blogging: Nowadays, I'm writing my blog posts in Org and build the page using Hakyll[1], which is build on top of Pandoc. The work-flow is not perfect, in that metadata has to be specified separately as Hakyll ignores metadata returned by Pandoc, but it's good enough for what I want. I tried hacking something together using org's publishing features, but I found Hakyll/Pandoc to be more convenient and easier to use. Other uses include import of Markdown/HTML into Org documents and the use of Pandoc's support for references and citations; I rarely do that, though. Cheers, Albert [1] http://jaspervdj.be/hakyll/ -- Albert Krewinkel GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Pandoc users, how do you use it with org-mode, and why? Date: Thu, 22 May 2014 09:44:25 +0100 Message-ID: <8738g2fbiu.fsf@pinto.chemeng.ucl.ac.uk> References: <537D27AA.1060307@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnOcD-0004Sk-Vh for emacs-orgmode@gnu.org; Thu, 22 May 2014 04:44:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnOc2-00035P-As for emacs-orgmode@gnu.org; Thu, 22 May 2014 04:44:41 -0400 Received: from mail-db3lp0079.outbound.protection.outlook.com ([213.199.154.79]:22907 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnOc2-00035A-3z for emacs-orgmode@gnu.org; Thu, 22 May 2014 04:44:30 -0400 In-Reply-To: <537D27AA.1060307@gmail.com> (Alan L. Tyree's message of "Thu, 22 May 2014 08:24:42 +1000") 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 L Tyree Cc: emacs-orgmode@gnu.org On Thursday, 22 May 2014 at 08:24, Alan L Tyree wrote: [...] > 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 have a few of these, few enough that post-processing by hand is reasonable. However, if you do find a solution to this, I would be very happy to hear of it! Thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-949-g751506 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Tyree Subject: Re: Pandoc users, how do you use it with org-mode, and why? Date: Fri, 23 May 2014 05:35:29 +1000 Message-ID: References: <537D27AA.1060307@gmail.com> <8738g2fbiu.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba1efbc22f9aa504fa02370f Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnYm4-0008Cs-Dp for emacs-orgmode@gnu.org; Thu, 22 May 2014 15:35:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnYm2-0000Az-HY for emacs-orgmode@gnu.org; Thu, 22 May 2014 15:35:32 -0400 Received: from mail-ig0-x22d.google.com ([2607:f8b0:4001:c05::22d]:33738) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnYm2-0000An-Az for emacs-orgmode@gnu.org; Thu, 22 May 2014 15:35:30 -0400 Received: by mail-ig0-f173.google.com with SMTP id hn18so8072776igb.0 for ; Thu, 22 May 2014 12:35:29 -0700 (PDT) In-Reply-To: <8738g2fbiu.fsf@pinto.chemeng.ucl.ac.uk> 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 L Tyree , emacs-orgmode --90e6ba1efbc22f9aa504fa02370f Content-Type: text/plain; charset=UTF-8 Hi Eric, My "solution" was a keyboard macro at the LaTeX stage, replacing \ref{sec-3-2-1} with 3.2.1 in the text. Not very elegant, but it works for the time being when I don't have the time to consider anything better. A filter would obviously be better, but my elisp skills mean that it would take more time than I have right now. Also not a good solution since it trashes the LaTeX file. In my case, that's OK since the LaTeX file is just a means to an end. Cheers, Alan On 22 May 2014 18:44, Eric S Fraga wrote: > On Thursday, 22 May 2014 at 08:24, Alan L Tyree wrote: > > [...] > > > 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 have a few of these, few enough that post-processing by hand is > reasonable. However, if you do find a solution to this, I would be very > happy to hear of it! > > Thanks, > eric > -- > : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-949-g751506 > -- Alan L Tyree http://austlii.edu.au/~alan Tel: 04 2748 6206 sip:typhoon@iptel.org --90e6ba1efbc22f9aa504fa02370f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Eric,
My &q= uot;solution" was a keyboard macro at the LaTeX stage, replacing
\ref{sec-3-2-1} with 3.2.1 in the text.

Not very elega= nt, but it works for the time being when I don't have the time to consi= der anything better.

A filter would obviously be better, but my elisp skills mean that= it would take more time than I have right now.

Also not a goo= d solution since it trashes the LaTeX file. In my case, that's OK since= the LaTeX file is just a means to an end.

Cheers,
Alan

On 22 May 2014 18:44, Eric S Fraga <e.fraga@uc= l.ac.uk> wrote:
On Thursday, 22 May 2014 at 08:24, Alan L Ty= ree wrote:

[...]

> 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 have a few of these, few enough that post-processing by hand is
reasonable. =C2=A0However, if you do find a solution to this, I would be ve= ry
happy to hear of it!

Thanks,
eric
--
: Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-949-g751506=



--
Alan L Tyree=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 http://austlii.edu.au/~alan
Tel:=C2=A0 04 2748 6206=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 sip:typhoon@iptel.org
--90e6ba1efbc22f9aa504fa02370f-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Randby Subject: Re: Pandoc users, how do you use it with org-mode, and why? Date: Thu, 22 May 2014 16:31:21 -0400 Message-ID: <537E5E99.2080500@gmail.com> References: <878upv56dq.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnZeK-00015H-PJ for emacs-orgmode@gnu.org; Thu, 22 May 2014 16:31:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnZe9-0002wv-KR for emacs-orgmode@gnu.org; Thu, 22 May 2014 16:31:36 -0400 Received: from mail-ig0-x22c.google.com ([2607:f8b0:4001:c05::22c]:55010) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnZe9-0002wn-FD for emacs-orgmode@gnu.org; Thu, 22 May 2014 16:31:25 -0400 Received: by mail-ig0-f172.google.com with SMTP id uy17so8135783igb.5 for ; Thu, 22 May 2014 13:31:23 -0700 (PDT) Received: from [192.168.1.111] (cpe-24-165-203-246.neo.res.rr.com. [24.165.203.246]) by mx.google.com with ESMTPSA id f9sm2945565igc.15.2014.05.22.13.31.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 22 May 2014 13:31:23 -0700 (PDT) In-Reply-To: <878upv56dq.fsf@ucl.ac.uk> 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 On 05/21/2014 02:33 PM, Eric S Fraga wrote: > On Wednesday, 21 May 2014 at 13: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? > > I've only recently started using pandoc and I have exactly one use case: > the need, in some cases, to produce a .docx document with > mathematics. Pandoc will convert LaTeX to docx and handles equations > reasonably well (not perfect but better than any other alternative I > have found to date). The LaTeX generated by org is usually perfectly > fine. I've been playing around with Pandoc, and I've found that its ability to convert LaTeX to docx is rather limited. While it will convert equations and mathematical expressions reasonably well, it is not able to convert arrays that use things such as \hline or other formatting commands. This isn't surprising to me, but it means that arrays with special formatting need to be altered before using Pandoc. Scott Randby