Quote special characters in tables for LaTeX export.
Text inside tables did not receive the full treatment of handling sub- and superscripts, and of special character quoting like %, &, and {}. This patch does fix this, but I am worried that I am overlooking the true reason why Bastien did switch off these conversions. We'll see if and what this will break.
This commit is contained in:
parent
0ea9fb46c5
commit
e4ed09207d
|
@ -1,5 +1,8 @@
|
|||
2008-12-16 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-export-latex.el (org-export-latex-special-chars): Replace
|
||||
special characters also in tables.
|
||||
|
||||
* org-agenda.el (org-agenda-change-all-lines): New argument
|
||||
FORCE-TAGS.
|
||||
(org-agenda-set-tags): Cet the new tags and pas them to
|
||||
|
|
|
@ -877,8 +877,9 @@ 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 (or (get-text-property (match-beginning 2) 'org-protected)
|
||||
(org-at-table-p))
|
||||
; (unless (or (get-text-property (match-beginning 2) 'org-protected);
|
||||
; (org-at-table-p))
|
||||
(unless (get-text-property (match-beginning 2) 'org-protected)
|
||||
(cond ((member (match-string 2) '("\\$" "$"))
|
||||
(if (equal (match-string 2) "\\$")
|
||||
(replace-match (concat (match-string 1) "$"
|
||||
|
|
Loading…
Reference in New Issue