From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: BUG: swapped utf-8 symbols in org-entities Date: Tue, 28 Jun 2016 16:10:48 -0400 Message-ID: <87bn2l5b1z.fsf@alphaville.usersys.redhat.com> References: <87por1azlx.fsf@gmx.us> 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]:55915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHzLt-0006da-Cy for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 16:11:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHzLq-0005WL-22 for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 16:11:21 -0400 Received: from plane.gmane.org ([80.91.229.3]:35203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHzLp-0005WH-RM for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 16:11:17 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bHzLj-0002fc-6I for emacs-orgmode@gnu.org; Tue, 28 Jun 2016 22:11:11 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jun 2016 22:11:11 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Jun 2016 22:11:11 +0200 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" To: emacs-orgmode@gnu.org Rasmus writes: > Konstantin Kliakhandler writes: > >> Hello, >> >> The unicode letters for 'varphi' and for 'phi' are swapped. >> >> Here is a patch correcting this: >> >> diff --git a/lisp/org-entities.el b/lisp/org-entities.el >> index 4044432..6f6d054 100644 >> --- a/lisp/org-entities.el >> +++ b/lisp/org-entities.el >> @@ -204,9 +204,8 @@ packages to be loaded, add these packages to >> `org-latex-packages-alist'." >> ("upsih" "\\Upsilon" t "ϒ" "upsilon" "upsilon" "ϒ") >> ("upsilon" "\\upsilon" t "υ" "upsilon" "upsilon" "υ") >> ("Phi" "\\Phi" t "Φ" "Phi" "Phi" "Φ") >> - ("phi" "\\phi" t "φ" "phi" "phi" "φ") >> - ("varphi" "\\varphi" t "ϕ" "varphi" "varphi" "ɸ") >> + ("phi" "\\phi" t "φ" "phi" "phi" "ɸ") >> + ("varphi" "\\varphi" t "ϕ" "varphi" "varphi" "φ") > > It's not straight forward. > > The behavior is "correct" with reference to (La)TeX. E.g. > > M-x set-input-method RET TeX RET > > Then, > > \phi → φ > \varphi → ϕ > That's not what Lamport says (p.41, 2nd ed.) Maybe the input method got it wrong? > Your suggestion is correct with reference to HTML. > > I’d tend to favor the TeX interpretation even if it’s technically wrong. > > Rasmus -- Nick