commit 53b940ea79ebe591df8eae3cc1e38a686ae52c0e
parent 4ba6ac8e579ac0d6522b990cbe2283bc8eb6d079
Author: Tomas Hlavaty <tom@logand.com>
Date: Thu, 28 Jan 2021 00:01:49 +0100
use hard page breaks only, no soft page breaks
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/emacs-unoffice.el b/emacs-unoffice.el
@@ -135,9 +135,10 @@
(ins "<<")
(ins (xml-get-attribute x 'w:name))
(ins ">>"))
- (w:lastRenderedPageBreak
+ (w:br
(unless tablep
- (insert "\n")))
+ (when (equal "page" (xml-get-attribute x 'w:type))
+ (insert "\n"))))
(w:tc
(insert "|")
(mapc #'rec (cddr x)))