mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-11 09:20:32 +00:00
ox-latex: Fix matrices export
* lisp/ox-latex.el (org-latex--wrap-latex-matrices): Do not add spurious blank lines within a matrices block. Reported-by: thomas.stenhaug@gmail.com <http://permalink.gmane.org/gmane.emacs.orgmode/109854>
This commit is contained in:
parent
c58e1b565b
commit
e5ca11cab8
@ -2661,8 +2661,12 @@ it."
|
||||
(org-element-extract-element previous)
|
||||
(org-element-adopt-elements matrices previous)
|
||||
(setq previous next))
|
||||
;; Inherit `:post-blank' from the value of the last
|
||||
;; swallowed table. Set the latter's `:post-blank'
|
||||
;; value to 0 so as to not duplicate empty lines.
|
||||
(org-element-put-property
|
||||
matrices :post-blank (org-element-property :post-blank previous))
|
||||
(org-element-put-property previous :post-blank 0)
|
||||
(org-element-extract-element previous)
|
||||
(org-element-adopt-elements matrices previous))))))
|
||||
info)
|
||||
|
Loading…
Reference in New Issue
Block a user