summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2011-05-24 14:02:43 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2011-05-24 14:02:43 +0200
commit4f27391197e7d15ea7d1176c6246c1d0fe25bffe (patch)
tree2d2d760b2dc4bc0d27c5f083989be17d2120c7eb
parentaf7aefe94599ff3b27910f9861b6f423004813e7 (diff)
downloadorg-mode-4f27391197e7d15ea7d1176c6246c1d0fe25bffe.tar.gz
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.
-rw-r--r--lisp/org-latex.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-latex.el b/lisp/org-latex.el
index 516ee12..764a48d 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