From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Re: ODT export Date: Mon, 12 Aug 2013 20:01:42 +0530 Message-ID: <20130812143142.GA7826@panahar> References: <20130812002442.GB18065@panahar> <87a9knlim7.fsf@yagnesh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8tA4-0006vU-Bv for emacs-orgmode@gnu.org; Mon, 12 Aug 2013 10:32:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8t9y-0008ST-CZ for emacs-orgmode@gnu.org; Mon, 12 Aug 2013 10:31:56 -0400 Received: from mail-pd0-f174.google.com ([209.85.192.174]:62222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8t9y-0008SE-6P for emacs-orgmode@gnu.org; Mon, 12 Aug 2013 10:31:50 -0400 Received: by mail-pd0-f174.google.com with SMTP id y13so3479344pdi.5 for ; Mon, 12 Aug 2013 07:31:48 -0700 (PDT) Received: from panahar ([59.176.42.82]) by mx.google.com with ESMTPSA id sp4sm37615404pbc.45.2013.08.12.07.31.46 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 12 Aug 2013 07:31:47 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87a9knlim7.fsf@yagnesh.org> 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 > > ╭─────┤ http://askubuntu.com/a/239332/18411 ├───── > │Believe it or not, with complex documents and lots of packages included, I got > │much better results with LaTeX2HTML than with LaTeX2RTF, Pandoc or TeX4ht. > │ > │ latex2html texfile.tex -split 0 -no_navigation -info "" -address "" -html_version 4.0,unicode > │ > │This will generate a folder with the same texfile name, so you'll be able to > │convert the generated HTML to ODT: > │ > │libreoffice --headless --convert-to odt:"OpenDocument Text Flat XML" texfile/index.html > │ > │This will produce a index.odt file. Take a look at this answer to check how to > │use LibreOffice's convert filters. > ╰───── I tried this and it is indeed quite a promising solution. For my document, however, the cross-references do not work in the odt file (they do work in the html produced by latex2html). Vikas