emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Hetzner <egh@e6h.org>
To: regcl <regcl@channing.harvard.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to write medical journal articles with org-mode
Date: Mon, 20 Jan 2014 22:39:18 -0800	[thread overview]
Message-ID: <87wqhton3d.wl%egh@e6h.org> (raw)
In-Reply-To: <87fvoia30n.fsf@channing.harvard.edu>

At Mon, 20 Jan 2014 14:04:24 -0500,
regcl wrote:
> 
> Erik Hetzner <egh@e6h.org> writes:
> 
> > At Mon, 20 Jan 2014 02:54:08 -0500,
> > regcl wrote:
> >> 
> >> 3) How do I get references into MS word?
> >> 
> > 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
> 
> Hi Erik, Thank you for the suggestion.  
> 
> WRT this approach, I see that Rick Frankel has said ...
> 
> > 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 and
> > > 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).
> > 
> > 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.).
> > 
> > Both the above exporters are much more mature that the markdown
> > exporter.
> > 
> > rick
> > 
> 
> ... which makes me wonder... Has anyone out there tried this for a
> journal manuscript with figures, tables, and citations?
> 
> If I want go with pandoc, would I be ahead to do ...
> 
> org > latex > pandoc > docx ?
> 
> 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’s standard input is markdown, so you’re probably best sticking
with that, but you might be able to get org -> latex -> pandoc -> docx
to work.

best, Erik

-- 
Sent from my free software system <http://fsf.org/>.

      parent reply	other threads:[~2014-01-21  6:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20  7:54 How to write medical journal articles with org-mode regcl
2014-01-20 10:28 ` Jambunathan K
2014-01-20 17:13 ` Erik Hetzner
2014-01-20 19:04   ` regcl
2014-01-20 19:20     ` Jambunathan K
2014-01-21  6:50       ` Aric
2014-01-21  6:39     ` Erik Hetzner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wqhton3d.wl%egh@e6h.org \
    --to=egh@e6h.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=regcl@channing.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).