GNU bug report logs - #21103
24.5; LaTeX input mode: add more blackboard bold characters

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Ansgar Burchardt <ansgar@HIDDEN>; Keywords: patch; dated Tue, 21 Jul 2015 15:32:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 21103 <at> debbugs.gnu.org:


Received: (at 21103) by debbugs.gnu.org; 23 Feb 2016 09:38:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 23 04:38:25 2016
Received: from localhost ([127.0.0.1]:39110 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aY9QH-00065e-0R
	for submit <at> debbugs.gnu.org; Tue, 23 Feb 2016 04:38:25 -0500
Received: from hermes.netfonds.no ([80.91.224.195]:53970)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <larsi@HIDDEN>) id 1aY9QE-00065R-RT
 for 21103 <at> debbugs.gnu.org; Tue, 23 Feb 2016 04:38:23 -0500
Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161]
 helo=mouse)
 by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.72) (envelope-from <larsi@HIDDEN>)
 id 1aY9Pk-00016W-62; Tue, 23 Feb 2016 10:37:52 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Ansgar Burchardt <ansgar@HIDDEN>
Subject: Re: bug#21103: 24.5;
 LaTeX input mode: add more blackboard bold characters
References: <87lhe9oiku.fsf@HIDDEN>
Date: Tue, 23 Feb 2016 20:37:47 +1100
In-Reply-To: <87lhe9oiku.fsf@HIDDEN> (Ansgar Burchardt's
 message of "Tue, 21 Jul 2015 13:28:49 +0200")
Message-ID: <87oab7vkb8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-MailScanner-ID: 1aY9Pk-00016W-62
X-Netfonds-MailScanner: Found to be clean
X-Netfonds-MailScanner-From: larsi@HIDDEN
MailScanner-NULL-Check: 1456825074.48641@MXXoqooOng6n+kW4d7U/KA
X-Spam-Status: No
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 21103
Cc: 21103 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Ansgar Burchardt <ansgar@HIDDEN> writes:

> I miss at least =E2=84=82 (field of complex numbers), =F0=9D=94=BD (gener=
ic field), =F0=9D=95=82
> (generic field, German), =E2=84=8D (quaternions), =F0=9D=95=80 (identity =
map), =E2=84=9A (field of
> rational numbers), =E2=84=A4 (ring of integers). Others might miss a few =
more
> that are in common use, see [1].
>
> The attached patch adds all blackboard bold capital characters and "1"
> and "2" using the codepoints from the referenced Wikipedia article.

[...]

> This patch adds all capital blackboard bold letters and those for "1"
> and "2". Most characters are in common use in mathematics, but it does
> not seem useful to exclude the few not widely used.

It does seem more consistent to add them all, yes...

> - ("\\Bbb{N}" ?=E2=84=95)			; AMS commands for blackboard bold
> - ("\\Bbb{P}" ?=E2=84=99)			; Also sometimes \mathbb.
> + ("\\Bbb{A}" ?=F0=9D=94=B8)			; AMS commands for blackboard bold
> + ("\\Bbb{B}" ?=F0=9D=94=B9)			; Also sometimes \mathbb.
> + ("\\Bbb{C}" ?=E2=84=82)
> + ("\\Bbb{D}" ?=F0=9D=94=BB)
> + ("\\Bbb{E}" ?=F0=9D=94=BC)
> + ("\\Bbb{F}" ?=F0=9D=94=BD)
> + ("\\Bbb{G}" ?=F0=9D=94=BE)
> + ("\\Bbb{H}" ?=E2=84=8D)

(etc)

A question to the other Emacs maintainers -- would a change like this,
which is more than 15 lines, require a copyright assignment?  It's not
very "code-ey"...

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#21103; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Jul 2015 15:31:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jul 21 11:31:30 2015
Received: from localhost ([127.0.0.1]:55583 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ZHZVx-000653-0a
	for submit <at> debbugs.gnu.org; Tue, 21 Jul 2015 11:31:30 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53805)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <ansgar@HIDDEN>) id 1ZHVjz-0007Io-1o
 for submit <at> debbugs.gnu.org; Tue, 21 Jul 2015 07:29:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ansgar@HIDDEN>) id 1ZHVjo-0005lo-7q
 for submit <at> debbugs.gnu.org; Tue, 21 Jul 2015 07:29:37 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:55007)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ansgar@HIDDEN>) id 1ZHVjo-0005li-4g
 for submit <at> debbugs.gnu.org; Tue, 21 Jul 2015 07:29:32 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39037)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ansgar@HIDDEN>) id 1ZHVjm-00016c-GO
 for bug-gnu-emacs@HIDDEN; Tue, 21 Jul 2015 07:29:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ansgar@HIDDEN>) id 1ZHVjh-0005hX-8m
 for bug-gnu-emacs@HIDDEN; Tue, 21 Jul 2015 07:29:30 -0400
Received: from mx-out-1.rwth-aachen.de ([134.130.5.186]:15538)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ansgar@HIDDEN>) id 1ZHVjh-0005fi-1j
 for bug-gnu-emacs@HIDDEN; Tue, 21 Jul 2015 07:29:25 -0400
X-IronPort-AV: E=Sophos;i="5.15,515,1432591200"; 
 d="scan'208,223";a="464982784"
Received: from igpm.igpm.rwth-aachen.de ([134.130.161.1])
 by mx-1.rz.rwth-aachen.de with ESMTP; 21 Jul 2015 13:29:21 +0200
Received: from snout.igpm.rwth-aachen.de ([134.130.161.52] helo=snout)
 by igpm.igpm.rwth-aachen.de with esmtps (UNKNOWN:AES128-GCM-SHA256:128)
 (Exim 4.72) (envelope-from <ansgar@HIDDEN>) id 1ZHVkF-0001ps-Lx
 for bug-gnu-emacs@HIDDEN; Tue, 21 Jul 2015 13:29:59 +0200
Received: from [127.0.0.1] (helo=snout.igpm.rwth-aachen.de)
 by snout with esmtp (Exim 4.86_RC4) (envelope-from <ansgar@HIDDEN>)
 id 1ZHVjd-0007BO-Bc
 for bug-gnu-emacs@HIDDEN; Tue, 21 Jul 2015 13:29:21 +0200
From: Ansgar Burchardt <ansgar@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.5; LaTeX input mode: add more blackboard bold characters
Date: Tue, 21 Jul 2015 13:28:49 +0200
Message-ID: <87lhe9oiku.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.3 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 21 Jul 2015 11:31:27 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.3 (----)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


1. Enable LaTeX input mode: C-\ "TeX" RETURN
2. Typing \Bbb{R} should now result in =E2=84=9D,
   but (for example) \Bbb{C} does not result in =E2=84=82.

I miss at least =E2=84=82 (field of complex numbers), =F0=9D=94=BD (generic=
 field), =F0=9D=95=82
(generic field, German), =E2=84=8D (quaternions), =F0=9D=95=80 (identity ma=
p), =E2=84=9A (field of
rational numbers), =E2=84=A4 (ring of integers). Others might miss a few mo=
re
that are in common use, see [1].

The attached patch adds all blackboard bold capital characters and "1"
and "2" using the codepoints from the referenced Wikipedia article.

Ansgar

  [1] <https://en.wikipedia.org/wiki/Blackboard_bold>

In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.16.4)
 of 2015-06-28 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11701000
System Description:	Debian GNU/Linux testing (stretch)


--=-=-=
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
 filename=0001-Add-more-blackboard-bold-characters.patch
Content-Transfer-Encoding: quoted-printable

From dbe72dfd8d230bb2d7cb17e5d573dd00b9e2d49d Mon Sep 17 00:00:00 2001
From: Ansgar Burchardt <ansgar@HIDDEN>
Date: Tue, 21 Jul 2015 13:05:39 +0200
Subject: [PATCH] Add more blackboard bold characters

This patch adds all capital blackboard bold letters and those for "1"
and "2". Most characters are in common use in mathematics, but it does
not seem useful to exclude the few not widely used.

Reference: https://en.wikipedia.org/wiki/Blackboard_bold
---
 lisp/leim/quail/latin-ltx.el | 28 ++++++++++++++++++++++++++--
 1 file changed, 26 insertions(+), 2 deletions(-)

diff --git a/lisp/leim/quail/latin-ltx.el b/lisp/leim/quail/latin-ltx.el
index 82c0aa3..366f21c 100644
--- a/lisp/leim/quail/latin-ltx.el
+++ b/lisp/leim/quail/latin-ltx.el
@@ -645,10 +645,34 @@ system, including many technical ones.  Examples:
  ("\\wp" ?=E2=84=98)
  ("\\wr" ?=E2=89=80)
=20
- ("\\Bbb{N}" ?=E2=84=95)			; AMS commands for blackboard bold
- ("\\Bbb{P}" ?=E2=84=99)			; Also sometimes \mathbb.
+ ("\\Bbb{A}" ?=F0=9D=94=B8)			; AMS commands for blackboard bold
+ ("\\Bbb{B}" ?=F0=9D=94=B9)			; Also sometimes \mathbb.
+ ("\\Bbb{C}" ?=E2=84=82)
+ ("\\Bbb{D}" ?=F0=9D=94=BB)
+ ("\\Bbb{E}" ?=F0=9D=94=BC)
+ ("\\Bbb{F}" ?=F0=9D=94=BD)
+ ("\\Bbb{G}" ?=F0=9D=94=BE)
+ ("\\Bbb{H}" ?=E2=84=8D)
+ ("\\Bbb{I}" ?=F0=9D=95=80)
+ ("\\Bbb{J}" ?=F0=9D=95=81)
+ ("\\Bbb{K}" ?=F0=9D=95=82)
+ ("\\Bbb{L}" ?=F0=9D=95=83)
+ ("\\Bbb{M}" ?=F0=9D=95=84)
+ ("\\Bbb{N}" ?=E2=84=95)
+ ("\\Bbb{O}" ?=F0=9D=95=86)
+ ("\\Bbb{P}" ?=E2=84=99)
+ ("\\Bbb{Q}" ?=E2=84=9A)
  ("\\Bbb{R}" ?=E2=84=9D)
+ ("\\Bbb{S}" ?=F0=9D=95=8A)
+ ("\\Bbb{T}" ?=F0=9D=95=8B)
+ ("\\Bbb{U}" ?=F0=9D=95=8C)
+ ("\\Bbb{V}" ?=F0=9D=95=8D)
+ ("\\Bbb{W}" ?=F0=9D=95=8E)
+ ("\\Bbb{X}" ?=F0=9D=95=8F)
+ ("\\Bbb{Y}" ?=F0=9D=95=90)
  ("\\Bbb{Z}" ?=E2=84=A4)
+ ("\\Bbb{1}" ?=F0=9D=9F=99)
+ ("\\Bbb{2}" ?=F0=9D=9F=9A)
  ("--" ?=E2=80=93)
  ("---" ?=E2=80=94)
  ;; We used to use ~ for NBSP but that's inconvenient and may even look li=
ke
--=20
2.1.4


--=-=-=--




Acknowledgement sent to Ansgar Burchardt <ansgar@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#21103; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 23 Feb 2016 09:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.