From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yagnesh Raghava Yakkala Subject: Re: ODT export Date: Mon, 12 Aug 2013 11:59:12 +0900 Message-ID: <87a9knlim7.fsf@yagnesh.org> References: <20130812002442.GB18065@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8iLr-0003eo-Kp for emacs-orgmode@gnu.org; Sun, 11 Aug 2013 22:59:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8iLj-0006mi-JS for emacs-orgmode@gnu.org; Sun, 11 Aug 2013 22:59:23 -0400 Received: from mailgate4.sys.hokudai.ac.jp ([133.87.1.143]:49227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8iLj-0006iG-1R for emacs-orgmode@gnu.org; Sun, 11 Aug 2013 22:59:15 -0400 Received: from mailgate4.sys.hokudai.ac.jp (localhost.localdomain [127.0.0.1]) by localhost.sys.hokudai.ac.jp (Postfix) with ESMTP id 439A042EBEC for ; Mon, 12 Aug 2013 11:59:07 +0900 (JST) Received: from okhotsk19 (sealion.lowtem.hokudai.ac.jp [133.87.217.30]) by mailgate4.sys.hokudai.ac.jp (Postfix) with ESMTP id 37D1D42EBE9 for ; Mon, 12 Aug 2013 11:59:07 +0900 (JST) Received: from localhost (localhost [127.0.0.1]) by okhotsk19 (Postfix) with ESMTPS id 91D101808DF for ; Mon, 12 Aug 2013 11:59:12 +0900 (JST) In-Reply-To: <20130812002442.GB18065@panahar> (Vikas Rawal's message of "Mon, 12 Aug 2013 05:54:42 +0530") 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 Hello Vikas, I don't think you can convert latex bits to org automatically. I was in a similar situation few days ago. I had very satisfying results using LaTeX2HTML and libreoffice convert. (org =E2=86=92 latex =E2=86=92 html =E2=86=92 odt/doc) Citing the procedure I used to convert. =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=A4 http://asku= buntu.com/a/239332/18411 =E2=94=9C=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2= =94=80 =E2=94=82Believe it or not, with complex documents and lots of packages inc= luded, I got =E2=94=82much better results with LaTeX2HTML than with LaTeX2RTF, Pandoc or= TeX4ht. =E2=94=82 =E2=94=82 latex2html texfile.tex -split 0 -no_navigation -info "" -address = "" -html_version 4.0,unicode =E2=94=82 =E2=94=82This will generate a folder with the same texfile name, so you'll = be able to =E2=94=82convert the generated HTML to ODT: =E2=94=82 =E2=94=82libreoffice --headless --convert-to odt:"OpenDocument Text Flat XM= L" texfile/index.html =E2=94=82 =E2=94=82This will produce a index.odt file. Take a look at this answer to = check how to =E2=94=82use LibreOffice's convert filters. =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80=E2=94=80 On Aug 12 2013, Vikas Rawal wrote: > I have an org file with some latex src code blocks embedded in it. > These are mainly tables which could not be made using orgmode and had > to be coded in latex (orgmode does not allow putting notes at the > bottom of table using something like threeparttable). > > I now need to convert the document to odt. What is my best bet? How > can I convert latex src code blocks to native org syntax, even if it > means loosing some of the things (for example, the threeparttable > stuff). > > Or do I need to write it all over again? > > Vikas > > Thanks., --=20 =E0=B0=8E=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B1=8B =E0=B0=AE=E0=B0=B9=E0=B0=BE= =E0=B0=A8=E0=B1=81=E0=B0=AD=E0=B0=BE=E0=B0=B5=E0=B1=81=E0=B0=B2=E0=B1=81 = =E0=B0=85=E0=B0=82=E0=B0=A6=E0=B0=B0=E0=B0=BF=E0=B0=95=E0=B0=BF =E0=B0=B5= =E0=B0=82=E0=B0=A6=E0=B0=A8=E0=B0=AE=E0=B1=81=E0=B0=B2=E0=B1=81. YYR