1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-11 09:20:51 +00:00

2008-12-21 Carsten Dominik <dominik@science.uva.nl>

* org-export-latex.el (org-export-latex-special-chars): Handle
          case where there is no match group 3.
This commit is contained in:
Carsten Dominik 2008-12-21 10:03:15 +00:00
parent 6671980fe2
commit e9aab93b7a
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,8 @@
* org-export-latex.el (org-export-latex-make-header): Double the
commenting % in the time stamp format.
(org-export-latex-special-chars): Handle case where there is no
match group 3.
2008-12-20 Carsten Dominik <carsten.dominik@gmail.com>

View File

@ -913,7 +913,8 @@ See the `org-export-latex.el' code for a complete conversion table."
(replace-match (or (save-match-data
(org-export-latex-treat-backslash-char
(match-string 1)
(match-string 3))) "") t t))
(or (match-string 3) "")))
"") t t))
((member (match-string 2) '("_" "^"))
(replace-match (or (save-match-data
(org-export-latex-treat-sub-super-char