1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-27 07:37:25 +00:00

ox-texinfo: Escape @ { } in index

* lisp/ox-texinfo.el (org-texinfo-keyword): Escape @ { } in index.
This commit is contained in:
Nicolas Goaziou 2017-06-14 21:27:02 +02:00
parent b47920ed20
commit a621289953

View File

@ -969,7 +969,8 @@ contextual information."
"Transcode a KEYWORD element from Org to Texinfo.
CONTENTS is nil. INFO is a plist holding contextual information."
(let ((key (org-element-property :key keyword))
(value (org-element-property :value keyword)))
(value (org-texinfo--sanitize-content
(org-element-property :value keyword))))
(cond
((string= key "TEXINFO") value)
((string= key "CINDEX") (format "@cindex %s" value))