Fix LaTeX export of tags containing the character `#'

* lisp/org-latex.el (org-export-latex-keywords-maybe): Protect # in tags.

The `#' is a special LaTeX character and needs to be protected.
This commit is contained in:
Carsten Dominik 2011-03-27 09:04:09 +02:00
parent 001346cbe7
commit 35a2ef3400
1 changed files with 1 additions and 1 deletions

View File

@ -1524,7 +1524,7 @@ links, keywords, lists, tables, fixed-width"
(format org-export-latex-tag-markup
(save-match-data
(replace-regexp-in-string
"_" "\\\\_" (match-string 0)))))
"\\([_#]\\)" "\\\\\\1" (match-string 0)))))
t t)))))
(defun org-export-latex-fontify-headline (string)