doc-view (for OpenDocument files) uses the below mentioned work around.
The fix can be ported to `org-odt.el' and `ox-odt.el'.
--8<---cut here---start->8---
(defun doc-view-odf->pdf-converter-soffice (odf callback)
"Convert ODF to PDF asynchronously and cal
Thanks Takaaki! That did the trick. Now things work as they should. :)
Takaaki ISHIKAWA writes:
> Dear Julian,
>
> Sorry, the code is an old setting for the previous org.
> Please try org-odt-preferred-output-format.
>
> #+BEGIN_SRC emacs-lisp
> (setq org-odt-preferred-output-format "pdf")
>
Hi all,
Takaaki ISHIKAWA writes:
> Dear Julian,
>
> Sorry, the code is an old setting for the previous org.
> Please try org-odt-preferred-output-format.
>
> #+BEGIN_SRC emacs-lisp
> (setq org-odt-preferred-output-format "pdf")
> (setq org-odt-convert-processes
>'(("LibreOffic
"Julian M. Burgos" writes:
> Hi Takaaki,
>
> Many thanks, but no luck. I tried adding the complete path to soffice as you
> did below
> (of course with the right path in my machine) and no luck. If I do it
> just like you, the export format does not change and is still ODT. If
> instead of us
Dear Julian,
Sorry, the code is an old setting for the previous org.
Please try org-odt-preferred-output-format.
#+BEGIN_SRC emacs-lisp
(setq org-odt-preferred-output-format "pdf")
(setq org-odt-convert-processes
'(("LibreOffice"
"/Applications/LibreOffice.app/Conten
Hi Takaaki,
Many thanks, but no luck. I tried adding the complete path to soffice as you
did below
(of course with the right path in my machine) and no luck. If I do it
just like you, the export format does not change and is still ODT. If
instead of using (setq org-export-odt-preferred-output-
Dear Julian,
When I use "soffice" with exec-path setting,
the ODT export is failed like you.
So currently, I use the following setting:
#+BEGIN_SRC emacs-lisp
(setq org-export-odt-preferred-output-format "pdf")
(setq org-export-odt-convert-processes
'(("LibreOffice"
Hi Christian,
The value
for org-odt-convert-processes is (("LibreOffice" "soffice --headless
--convert-to %f%x --outdir %d %i")
("unoconv" "unoconv -f %f -o %d %i"))
"soffice" is in my path, so I can run it from any directory.
Carsten, I have permission in /home. That is where I had my trial
On 7 mei 2013, at 14:29, Christian Moe wrote:
>
> Hi,
>
> Possible checks: What value do you have for org-odt-convert-processes?
> Does the command it provide launch LibreOffice services on your system?
>
> On my Mac, the default "soffice" command is not recognized out of the
> box; providing
Hi,
Possible checks: What value do you have for org-odt-convert-processes?
Does the command it provide launch LibreOffice services on your system?
On my Mac, the default "soffice" command is not recognized out of the
box; providing the full path to soffice
("/Applications/LibreOffice.app/Content
By the way, it also fails with the "pdf" and "doc" options...
Julian M. Burgos writes:
> Hello everyone,
> I want to export via ODT directly into a "docx" format. Following the
> instructions in the manual, I added
> (setq org-odt-preferred-output-format "docx")
> to my .emacs file. But if I t
Hello everyone,
I want to export via ODT directly into a "docx" format. Following the
instructions in the manual, I added
(setq org-odt-preferred-output-format "docx")
to my .emacs file. But if I try to do an export I get the following
error message:
"Export to /home/trial.docx failed"
I am us
12 matches
Mail list logo