diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-06-08 21:16:43 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-06-08 21:16:43 +0200 |
commit | a138fedfd2ac41d3192294d06bafdb4b043ec09c (patch) | |
tree | 888300dca0732d6a7ab5e3371d3e4577d5ebec96 | |
parent | 6921d84198d836fd65c661c9ed586a90a744c74e (diff) | |
download | org-mode-a138fedfd2ac41d3192294d06bafdb4b043ec09c.tar.gz |
ox-texinfo: Use UTF-8 instead of LaTeX for entities
* lisp/ox-texinfo.el (org-texinfo-entity): Use UTF-8 instead of LaTeX
for entities.
-rw-r--r-- | lisp/ox-texinfo.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index 7ffcffb..034065d 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -732,11 +732,8 @@ holding contextual information." ;;;; Entity (defun org-texinfo-entity (entity _contents _info) - "Transcode an ENTITY object from Org to Texinfo. -CONTENTS are the definition itself. INFO is a plist holding -contextual information." - (let ((ent (org-element-property :latex entity))) - (if (org-element-property :latex-math-p entity) (format "@math{%s}" ent) ent))) + "Transcode an ENTITY object from Org to Texinfo." + (org-element-property :utf-8 entity)) ;;;; Example Block |