emacs-unoffice

Emacs library to reclaim text from office documents (abw, odt, docx).
Log | Files | Refs

commit 80f2604d8dd7fbda8f4552983514164d6e8069e7
parent dd9fd7b2d0a1321a5f85315b62d35df3500d111a
Author: Tomas Hlavaty <tom@logand.com>
Date:   Sun, 31 Jan 2021 23:58:48 +0100

properly end align in org export

Diffstat:
Memacs-unoffice.el | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/emacs-unoffice.el b/emacs-unoffice.el @@ -198,7 +198,11 @@ (unless table (insert "\n"))) (t (mapc #'rec (cdr x)))))))) - (rec x)))) + (rec x)) + (when (and align (not (eq align 'left))) + (insert "#+end_") + (insert (symbol-name align)) + (insert "\n")))) (defun unoffice--from-abw () (let* (z (left '(left)) (align left) pp p)