From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Witte Subject: Re: Using Emacs, Org-mode and R for Research Writing in Social Sciencess Date: Wed, 14 May 2014 11:02:54 +0200 Message-ID: References: <87bnv15zih.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2ee642e3f6f04f95872b8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkV5Y-0003PR-Rg for emacs-orgmode@gnu.org; Wed, 14 May 2014 05:03:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkV5U-0000vU-B3 for emacs-orgmode@gnu.org; Wed, 14 May 2014 05:03:00 -0400 Received: from mail-qg0-f47.google.com ([209.85.192.47]:32787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkV5U-0000vI-7v for emacs-orgmode@gnu.org; Wed, 14 May 2014 05:02:56 -0400 Received: by mail-qg0-f47.google.com with SMTP id j107so2305265qga.34 for ; Wed, 14 May 2014 02:02:55 -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: org-mode mailing list --001a11c2ee642e3f6f04f95872b8 Content-Type: text/plain; charset=UTF-8 The latest version of Pandoc can now also read in org mode files http://johnmacfarlane.net/pandoc/releases.html#pandoc-1.12.4-07-may-2014 So perhaps the conversion of Org->Latex is no longer needed. Chris. On 14 May 2014 09:00, Vikas Rawal wrote: > > > > pandoc -f latex -t docx test.tex -o test.docx > > > > I see Org has exported my "W m^{-2}" as "W m$^{\text{-2}}$", which is > > not what I would expect in LaTeX. In OS X Pages.app viewing the docx > > this appears as "W m". In Word it shows up either as just "-2" or "W > > m-2". In Word, the Math shows up with each character as a box (the math > > is just missing in Pages). In Word the figures are missing (they appear > > in Pages). > > > > > First, you should differentiate between whether the problem is in > Org->LaTeX conversion, or in LaTeX->Docx conversion. > > From what you describe above, the problem seems to be in Org->LaTeX > conversion. > > For me, $W m^{-2}$ in Org produces correct LaTeX markup, and I get a good > docx using Pandoc. > > Vikas > --001a11c2ee642e3f6f04f95872b8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The latest version of Pandoc can now also read i= n org mode files http://johnmacfarlane.net/pandoc/releases.html#p= andoc-1.12.4-07-may-2014
So perhaps the conversion of Org->Latex is no longer needed.
Chris.


On 14 May 2014 09:00, Vikas Rawal <vikaslists@ag= rarianresearch.org> wrote:
>
> pandoc -f latex -t docx test.tex -o test.docx
>
> I see Org has exported my "W m^{-2}" as "W m$^{\text{-2= }}$", which is
> not what I would expect in LaTeX. In OS X Pages.app viewing the docx > this appears as "W m". In Word it shows up either as just &q= uot;-2" or "W
> m-2". In Word, the Math shows up with each character as a box (th= e math
> is just missing in Pages). In Word the figures are missing (they appea= r
> in Pages).
>


First, you should differentiate between whether the problem is in Org= ->LaTeX conversion, or in LaTeX->Docx conversion.

>From what you describe above, the problem seems to be in Org->LaTeX conv= ersion.

For me, $W m^{-2}$ in Org produces correct LaTeX markup, and I get a good d= ocx using Pandoc.

Vikas

--001a11c2ee642e3f6f04f95872b8--