From bfd31d7268a56ef7b61b07965eb40208a5a72ab4 Mon Sep 17 00:00:00 2001 From: Jambunathan K Date: Wed, 22 Feb 2012 20:17:25 +0530 Subject: [PATCH] org-export: Modify dispatcher to accommodate e-odt backend * contrib/lisp/org-export.el (org-export-dispatch) (org-export-dispatch-ui): New entries for ODT backend. --- contrib/lisp/org-export.el | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index a765e8e71..5c05bf537 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -3247,6 +3247,12 @@ Return an error if key pressed has no associated command." (?b (org-open-file (org-e-html-export-to-html (memq 'subtree optns) (memq 'visible optns) (memq 'body optns)))) + ;; Export with `e-odt' back-end. + (?o (org-e-odt-export-to-odt + (memq 'subtree optns) (memq 'visible optns) (memq 'body optns))) + (?O (org-open-file + (org-e-odt-export-to-odt + (memq 'subtree optns) (memq 'visible optns) (memq 'body optns)))) ;; Publishing facilities (?F (org-e-publish-current-file (memq 'force optns))) (?P (org-e-publish-current-project (memq 'force optns))) @@ -3294,6 +3300,9 @@ final interactive export options as CDR." \[h] to HTML file [b] ... and open it \[H] to temporary buffer +--------------------- ODF Export ----------------------- +\[o] to ODT file [O] ... and open it + ------------------------- Publish ------------------------- \[F] current file [P] current project \[X] a project [E] every project"