From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: render "->" as "&rarr" on html export? Date: Tue, 24 Mar 2015 10:39:43 +0100 Message-ID: <87pp7y7mzk.fsf@gmx.us> References: <87egof8x2c.fsf@gmx.us> <86lhim3hl1.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaLJh-0006fH-AE for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 05:40:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YaLJd-0000eI-54 for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 05:40:09 -0400 Received: from plane.gmane.org ([80.91.229.3]:38650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YaLJc-0000cL-VD for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 05:40:05 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YaLJY-0004db-11 for emacs-orgmode@gnu.org; Tue, 24 Mar 2015 10:40:00 +0100 Received: from tsn109-201-154-158.dyn.nltelcom.net ([109.201.154.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Mar 2015 10:39:59 +0100 Received: from rasmus by tsn109-201-154-158.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Mar 2015 10:39:59 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Sebastien Vauban writes: > Rasmus wrote: >> Matt Price writes: >> >>> I feel like I've seen the answer to this somewhere but I can't find it -- >>> is it possible for me to get "->" and "=>" to render as rightarrows (→, ⇒)? >> >> Do you want to render it in the buffer or on export? For the buffer you >> could use prettify-symbols-mode. > > ... by adding the following into your .emacs: > > ;; Show entities as UTF8 characters. > (setq org-pretty-entities t) ; emsp, etc. This would work for "\rightarrow" but I don't think you can configure it to support "->". For that you'd need prettify-symbols-mode, I think. —Rasmus -- Dung makes an excellent fertilizer