emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Yagnesh Raghava Yakkala <hi@yagnesh.org>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: ODT export
Date: Mon, 12 Aug 2013 11:59:12 +0900	[thread overview]
Message-ID: <87a9knlim7.fsf@yagnesh.org> (raw)
In-Reply-To: <20130812002442.GB18065@panahar> (Vikas Rawal's message of "Mon, 12 Aug 2013 05:54:42 +0530")


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 → latex → html → odt/doc)


Citing the procedure I used to convert.

╭─────┤ 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.
╰─────


On Aug 12 2013, Vikas Rawal <vikaslists@agrarianresearch.org> 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.,
-- 
ఎందరో మహానుభావులు అందరికి వందనములు.
YYR

  reply	other threads:[~2013-08-12  2:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-12  0:24 ODT export Vikas Rawal
2013-08-12  2:59 ` Yagnesh Raghava Yakkala [this message]
2013-08-12 13:57   ` Vikas Rawal
2013-08-12 14:31   ` Vikas Rawal
  -- strict thread matches above, loose matches on Subject: below --
2016-10-08  8:10 Philip Hudson
2016-10-09  9:33 ` Philip Hudson
2016-10-11 16:58   ` Eduardo Mercovich
2016-10-12  8:59     ` Christian Moe
     [not found]     ` <f3d70ad741fd459ca272f553e551464a@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-10-13  7:40       ` Eric S Fraga
2017-07-03  4:02 ` Bastien

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=87a9knlim7.fsf@yagnesh.org \
    --to=hi@yagnesh.org \
    --cc=emacs-orgmode@gnu.org \
    /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).