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:
parent
001346cbe7
commit
35a2ef3400
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue