From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Hetzner Subject: Re: How to write medical journal articles with org-mode Date: Mon, 20 Jan 2014 22:39:18 -0800 Message-ID: <87wqhton3d.wl%egh@e6h.org> References: <877g9vccm7.fsf@channing.harvard.edu> <87mwiqk23w.wl%egh@e6h.org> <87fvoia30n.fsf@channing.harvard.edu> Reply-To: Erik Hetzner Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5Uzj-0001iS-DU for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 01:39:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5Uzf-000477-4g for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 01:39:31 -0500 Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]:64656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5Uze-00046z-Si for emacs-orgmode@gnu.org; Tue, 21 Jan 2014 01:39:27 -0500 Received: by mail-pd0-f171.google.com with SMTP id g10so7051742pdj.30 for ; Mon, 20 Jan 2014 22:39:25 -0800 (PST) In-Reply-To: <87fvoia30n.fsf@channing.harvard.edu> 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: regcl Cc: emacs-orgmode@gnu.org At Mon, 20 Jan 2014 14:04:24 -0500, regcl wrote: >=20 > Erik Hetzner writes: >=20 > > At Mon, 20 Jan 2014 02:54:08 -0500, > > regcl wrote: > >>=20 > >> 3) How do I get references into MS word? > >>=20 > > Hi George, > > > > For question 3, you might have a look at pandoc > > (http://johnmacfarlane.net/pandoc/), which can convert from markdown > > to docx (MS Word) with citation support. You might find it simpler to > > export from org-mode to markdown and use pandoc to produce your docx > > files, thus saving some steps above. > > > > best, Erik >=20 > Hi Erik, Thank you for the suggestion. =20 >=20 > WRT this approach, I see that Rick Frankel has said ... >=20 > > From: Rick Frankel > > Subject: Re: [O] Org Table Export to Markdown Table Question > > Date: Thu, 09 Jan 2014 11:58:37 -0500 > > > > > On 2014-01-08 15:41, Aric wrote: > > > I am trying to use org-mode now with R code in it to write > > > manuscripts. That does unfortunately mean that it must be eventually > > > exported to some doc format. I have been able to export to markdown a= nd > > > everything looks good in markdown (even previewed on github) with the > > > exception of latex code which is not converted. However, using pandoc= to > > > convert the markdown to docx, the tables are not converted properly (= all > > > a single column). > >=20 > > I'm not sure why you are using markdown as an intermediate file > > format. Org will export to latex, pdf (via latex) and openoffice odt > > (which can be exported from open/libre office to doc/docx.). > >=20 > > Both the above exporters are much more mature that the markdown > > exporter. > >=20 > > rick > >=20 >=20 > ... which makes me wonder... Has anyone out there tried this for a > journal manuscript with figures, tables, and citations? >=20 > If I want go with pandoc, would I be ahead to do ... >=20 > org > latex > pandoc > docx ? >=20 > Thanks, George Hi George, pandoc has very rich citation citation support, much better than org-mode as far as I know. If you are exporting to LaTeX you can use BibTeX or BibLaTeX which of course work well, but pandoc can handle citation export to docx, odt, etc. using any citation style supported by citeproc. The problem is that org-mode exports tables in markdown as HTML tables, not pandoc tables. It should be possible to modify the ox-md exporter to support pandoc tables, but it looks a little tricky. pandoc=A2s standard input is markdown, so you=A2re probably best sticking with that, but you might be able to get org -> latex -> pandoc -> docx to work. best, Erik --=20 Sent from my free software system .