From 4f27391197e7d15ea7d1176c6246c1d0fe25bffe Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Tue, 24 May 2011 14:02:43 +0200 Subject: [PATCH] Turn of LaTeX preprocessing for table.el tables * lisp/org-latex.el (org-export-latex-special-chars): Do nothing in table.el tables. Table.el does its own protection of special characters. --- lisp/org-latex.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 516ee1261..764a48d79 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1627,7 +1627,8 @@ See the `org-export-latex.el' code for a complete conversion table." (goto-char (point-min)) (while (re-search-forward c nil t) ;; Put the point where to check for org-protected - (unless (get-text-property (match-beginning 2) 'org-protected) + (unless (or (get-text-property (match-beginning 2) 'org-protected) + (org-at-table.el-p)) (cond ((member (match-string 2) '("\\$" "$")) (if (equal (match-string 2) "\\$") nil