Skip to content

Instantly share code, notes, and snippets.

@psachin
Created August 5, 2014 11:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psachin/e99b35ebb600541fa11d to your computer and use it in GitHub Desktop.
Save psachin/e99b35ebb600541fa11d to your computer and use it in GitHub Desktop.
Convert org file to ODT(Libre Ofiice)
(if (file-exists-p "/usr/bin/soffice")
(setq org-export-odt-convert-processes
"/usr/bin/soffice --headless --convert-to %f%x --outdir %d %i"
org-export-odt-preferred-output-format "odt"
org-export-odt-convert-process "/usr/bin/soffice")
(message "SOFFICE path not found"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment