From a138fedfd2ac41d3192294d06bafdb4b043ec09c Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 8 Jun 2017 21:16:43 +0200 Subject: [PATCH] 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. --- lisp/ox-texinfo.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index 7ffcffbd4..034065d9d 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