emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Florian Beck <fb@miszellen.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Logical not in org-entities.el
Date: Sun, 06 Jan 2013 12:39:42 +0100	[thread overview]
Message-ID: <87a9smh6tt.fsf@bzg.ath.cx> (raw)
In-Reply-To: <50E954A6.5040802@miszellen.de> (Florian Beck's message of "Sun, 06 Jan 2013 11:40:38 +0100")

Hi Florian,

Florian Beck <fb@miszellen.de> 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 "&not;" "[angled dash]" "¬" "¬")

in (defconst org-entities ...)

so that you can now use it to produce \\neg{} where relevant.

Thanks,

-- 
 Bastien

  reply	other threads:[~2013-01-06 11:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-05 21:11 Logical not in org-entities.el Florian Beck
2013-01-05 22:08 ` Florian Beck
2013-01-06  6:14   ` Bastien
2013-01-06 10:40     ` Florian Beck
2013-01-06 11:39       ` Bastien [this message]
2013-01-06 22:00         ` Florian Beck
2013-01-06 22:07           ` Bastien

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=87a9smh6tt.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=fb@miszellen.de \
    /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).