From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: the role of org-odt-preferred-output-format etc Date: Sun, 10 Apr 2016 13:41:15 +0000 Message-ID: <8760vp37k4.fsf@mat.ucm.es> References: <87mvp139fh.fsf@mat.ucm.es> <87y48liony.fsf@ericabrahamsen.net> 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]:58397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apFcF-00052F-1g for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 09:41:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1apFcB-0004YS-RB for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 09:41:26 -0400 Received: from plane.gmane.org ([80.91.229.3]:56122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1apFcB-0004XX-Ko for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 09:41:23 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1apFc9-0008Dc-1M for emacs-orgmode@gnu.org; Sun, 10 Apr 2016 15:41:21 +0200 Received: from 70.red-88-1-198.dynamicip.rima-tde.net ([88.1.198.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Apr 2016 15:41:21 +0200 Received: from oub by 70.red-88-1-198.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 10 Apr 2016 15:41:21 +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 >>> "Eric" == Eric Abrahamsen writes: > 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? I made some progress, I tried out docx and it failed I went back to doc format in in the message buffer, the following lines Executing soffice --headless --convert-to doc:"MS Word 97" --outdir /home/oub/tex/Proy-MTM-2016/LaTeX-org/ /home/oub/tex/Proy-MTM-2016/LaTeX-org/cv-libre.odt Export to /home/oub/tex/Proy-MTM-2016/LaTeX-org/cv-libre.doc failed Indicate that it fails again, but I don't understand why. I tried rtf and got Executing soffice --headless --convert-to doc:"MS Word 97" --outdir /home/oub/tex/Proy-MTM-2016/LaTeX-org/ /home/oub/tex/Proy-MTM-2016/LaTeX-org/cv-libre.odt Export to /home/oub/tex/Proy-MTM-2016/LaTeX-org/cv-libre.doc failed He also claims that the directory /home/oub/tex/Proy-MTM-2016/LaTeX-org/rft does not exist. Why the heck he needs it is beyond me. What I understand is that he uses soffice, which is the official old version from my ubuntu version, I have newer versions which I installed in /opt/libreoffice4.3 and /opt/libreoffice5.1. How can I tell org to use those? Uwe Brauer