diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-06-17 12:04:36 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-06-17 12:04:36 +0200 |
commit | 39351d0d14d3e059d5b997c9a0ff7cfae7ceedb4 (patch) | |
tree | 65d4d283dd8c1fc5bef93eaac1c87772648634cb | |
parent | 673fe87b05fddf7f6cd68184081ae28c0805f5d4 (diff) | |
download | org-mode-39351d0d14d3e059d5b997c9a0ff7cfae7ceedb4.tar.gz |
ox-texinfo: Add missing entities
* lisp/ox-texinfo.el (org-texinfo-entity): Add "@textdegree{}" and
"@registeredsymbol".
-rw-r--r-- | lisp/ox-texinfo.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ox-texinfo.el b/lisp/ox-texinfo.el index c0b5e60..9e76f50 100644 --- a/lisp/ox-texinfo.el +++ b/lisp/ox-texinfo.el @@ -741,6 +741,7 @@ holding contextual information." ("aelig" "@ae{}") ((or "bull" "bullet") "@bullet{}") ("copy" "@copyright{}") + ("deg" "@textdegree{}") ((or "dots" "hellip") "@dots{}") ("equiv" "@equiv{}") ((or "euro" "EUR") "@euro{}") @@ -763,11 +764,12 @@ holding contextual information." ("pound" "@pound{}") ("raquo" "@guillemetright{}") ((or "rArr" "Rightarrow") "@result{}") + ("reg" "@registeredsymbol{}") ((or "rightarrow" "to" "rarr") "@arrow{}") ("rsaquo" "@guilsinglright{}") ("thorn" "@th{}") ("THORN" "@TH{}") - ((and (pred (string-prefix-p "_")) name) ;spacing entities. + ((and (pred (string-prefix-p "_")) name) ;spacing entities (format "@w{%s}" (substring name 1))) (_ (org-element-property :utf-8 entity)))) |