From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: the role of org-odt-preferred-output-format etc Date: Sun, 10 Apr 2016 21:22:41 +0800 Message-ID: <87y48liony.fsf@ericabrahamsen.net> References: <87mvp139fh.fsf@mat.ucm.es> 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]:55178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apFMU-0002AP-UH for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 09:25:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apFMQ-00019u-S8 for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 09:25:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:55641) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apFMQ-00019P-Lj for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 09:25:06 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1apFMO-00025o-Jr for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 15:25:04 +0200 Received: from 222.128.163.222 ([222.128.163.222]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Apr 2016 15:25:04 +0200 Received: from eric by 222.128.163.222 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Apr 2016 15:25:04 +0200 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" To: emacs-orgmode@gnu.org Uwe Brauer writes: > Hello > > Maybe I misunderstood the manual > http://orgmode.org/manual/Extending-ODT-export.html > and > http://orgmode.org/manual/Configuring-a-document-converter.html#Configuring-a-document-converter > > I can successfully convert a org file to odt, but sometimes I need it to > be directly in doc format. > > So I thought I set org-odt-preferred-output-format > to «doc». I set that option to the string "rtf", and everything works as expected. You don't actually specify the preferred output, you just export to ODT, and then the secondary conversion happens automtically. Ie, I now just export to ODT, and automatically end up with an RTF file. I haven't tried that programmatically, but I'd guess it works the same way: just don't put the "doc" in there at all. Does that work? > But then what? > > Shall I use > > org-odt-convert > > For example > (org-odt-convert "~/tex/Proy-MTM-2016/LaTeX-org/cv-libre.odt" "doc") > > That did not work > > I also checked the variable > org-odt-convert-process > > which was set to «Libreoffice», I changed that to «unoconv», but that did > not help. > > Any suggestion? > > thanks > > Uwe Brauer