emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Konstantin Kliakhandler <kosta@slumpy.org>
To: Konstantin Kliakhandler <kosta@slumpy.org>, emacs-orgmode@gnu.org
Subject: Re: BUG: swapped utf-8 symbols in org-entities
Date: Thu, 30 Jun 2016 17:33:15 +0300	[thread overview]
Message-ID: <CAH+LVp=OFXkei3ZbQ1kPd379ZQK7AoB653Pfb1aiA7GqiMm3SA@mail.gmail.com> (raw)
In-Reply-To: <87por1xtax.fsf@saiph.selenimh>


[-- Attachment #1.1: Type: text/plain, Size: 879 bytes --]

Hello Nicolas,

Attached is the patch, as requested. I'm not sure what were the conclusions
of the side discussion, but I do want to point out that my change is in
accordance with unicode symbol names and with the symbols that pdflatex
prints on paper.

Thanks and regards,
Kosta

-- 
Konstantin Kliakhandler
    http://slumpy.org
          )°) )°( (°(

On 28 June 2016 at 17:49, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Hello,
>
> Konstantin Kliakhandler <kosta@slumpy.org> writes:
>
> > The unicode letters for 'varphi' and for 'phi' are swapped.
>
> Good catch.
>
> > Here is a patch correcting this:
>
> Would you mind providing a patch with a proper commit message and using
> git format-patch? See
> <http://orgmode.org/worg/org-contribute.html#patches> for details.
>
> Thank you.
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #1.2: Type: text/html, Size: 1720 bytes --]

[-- Attachment #2: 0001-org-entities.el-swapped-symbols-of-varphi-and-phi.patch --]
[-- Type: application/octet-stream, Size: 1235 bytes --]

From e321b043461aa3222b00729b93626f15c602b2c8 Mon Sep 17 00:00:00 2001
From: Konstantin Kliakhandler <kosta@slumpy.org>
Date: Thu, 30 Jun 2016 17:13:21 +0300
Subject: [PATCH] org-entities.el: swapped symbols of varphi and phi

* org-entities.el (`org-entities'): Swap the unicode symbol of phi and of
  varphi.

TINYCHANGE
---
 lisp/org-entities.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org-entities.el b/lisp/org-entities.el
index dec5064..36dfbd2 100644
--- a/lisp/org-entities.el
+++ b/lisp/org-entities.el
@@ -203,8 +203,8 @@ packages to be loaded, add these packages to `org-latex-packages-alist'."
      ("upsih" "\\Upsilon" t "&upsih;" "upsilon" "upsilon" "ϒ")
      ("upsilon" "\\upsilon" t "&upsilon;" "upsilon" "upsilon" "υ")
      ("Phi" "\\Phi" t "&Phi;" "Phi" "Phi" "Φ")
-     ("phi" "\\phi" t "&phi;" "phi" "phi" "φ")
-     ("varphi" "\\varphi" t "&varphi;" "varphi" "varphi" "ɸ")
+     ("phi" "\\phi" t "&phi;" "phi" "phi" "ɸ")
+     ("varphi" "\\varphi" t "&varphi;" "varphi" "varphi" "φ")
      ("Chi" "X" nil "&Chi;" "Chi" "Chi" "Χ")
      ("chi" "\\chi" t "&chi;" "chi" "chi" "χ")
      ("acutex" "\\acute x" t "&acute;x" "'x" "'x" "𝑥́")
-- 
2.7.4 (Apple Git-66)


  reply	other threads:[~2016-06-30 14:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-28  8:15 BUG: swapped utf-8 symbols in org-entities Konstantin Kliakhandler
2016-06-28 14:49 ` Nicolas Goaziou
2016-06-30 14:33   ` Konstantin Kliakhandler [this message]
2016-07-01  7:24     ` Nicolas Goaziou
2016-07-03 11:47       ` Konstantin Kliakhandler
2016-07-05 19:13         ` Nicolas Goaziou
2016-08-29 12:26           ` Konstantin Kliakhandler
2016-08-30  9:54             ` Nicolas Goaziou
2016-07-06 11:18       ` Rasmus
2016-07-06 13:10         ` Nicolas Goaziou
2016-06-28 19:21 ` Rasmus
2016-06-28 19:58   ` Nicolas Goaziou
2016-06-28 20:30     ` Rasmus
2016-06-28 20:10   ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+LVp=OFXkei3ZbQ1kPd379ZQK7AoB653Pfb1aiA7GqiMm3SA@mail.gmail.com' \
    --to=kosta@slumpy.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).