[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Logical not in org-entities.el
From: |
Bastien |
Subject: |
Re: [O] Logical not in org-entities.el |
Date: |
Sun, 06 Jan 2013 12:39:42 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Hi Florian,
Florian Beck <address@hidden> writes:
> With org-pretty-entities:
> On display, org-entities handles all entities and displays them as unicode
> characters, even inside math blocks.
> On export, org-entities only handles entities outside math. Most of the
> time it doesn't matter because the entity name is the same as the latex
> command. But in case of "$\not a$" latex export and fontification differ:
> the fontified buffer shows the angled dash (¬), the exported document shows
> a slash through the next charaxter.
In master, I added
("neg" "\\neg{}" nil "¬" "[angled dash]" "¬" "¬")
in (defconst org-entities ...)
so that you can now use it to produce \\neg{} where relevant.
Thanks,
--
Bastien