emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Export Org mode files to (gag, barf) MS Office?


From: Tim Cross
Subject: Re: Export Org mode files to (gag, barf) MS Office?
Date: Sun, 27 Jun 2021 14:05:49 +1000
User-agent: mu4e 1.5.13; emacs 28.0.50

Brandon Taylor <donnie126_2002@hotmail.com> writes:

> Okay. Well, I've gone ahead and installed LibreOffice, which took care of the 
> "missing 'soffice'" problem, but like a frustrating game of Whac-A-Mole,
> another problem popped up. Now I'm left high and dry as to what might have 
> happened, because after adding the location of soffice.exe in my
> Windows PATH environment variable, I get the following output:
>
> Executing soffice --headless --convert-to odt --outdir 
> "c:/Users/donni/OneDrive/Documents/" 
> "c:/Users/donni/OneDrive/Documents/belvoire.odt"
>  
> Export to c:/Users/donni/OneDrive/Documents/belvoire.odt failed
>
> with absolutely no rhyme or reason as to what went wrong.
>

You can try turning on debug on error with

M-x toggle-debug-on-error

which might give you a backtrace that will provide more details.

I would also try executing the command

soffice --headless --convert-to odt --outdir 
"c:/Users/donni/OneDrive/Documents/" 
"c:/Users/donni/OneDrive/Documents/belvoire.odt"

at a command prompt and see if you get any additonal information. I've
not done odt exports of org files, but that command line looks odd to me
- it looks like it is trying to convert an odt file to odt?

I suspect you will have a hard time getting all this to work on Windows.
It is possible, but as Windows is not a 'preferred' platform, you have a
significant amount of configuration/customisation to do to get it
working.

I never use Windows, so cannot provide much help of any real substance.
I do wonder if it might be easier if you use WSL?

-- 
Tim Cross



reply via email to

[Prev in Thread] Current Thread [Next in Thread]