Explorar o código

org-latex.el: bugfix about exporting narrowed tables.

* org-latex.el (org-export-latex-tables): Bugfix: remove
properties from fields.

Thanks to Frederik for reporting this.
Bastien Guerry %!s(int64=13) %!d(string=hai) anos
pai
achega
3018219cca
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      lisp/org-latex.el

+ 3 - 1
lisp/org-latex.el

@@ -1930,7 +1930,9 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
                   (mapcar
                    (lambda(elem)
                      (or (and (string-match "[ \t]*|-+" elem) 'hline)
-                         (org-split-string (org-trim elem) "|")))
+                         (org-split-string 
+			  (progn (set-text-properties 0 (length elem) nil elem)
+				 (org-trim elem)) "|")))
                    lines))
             (when insert
               (insert (org-export-latex-protect-string