From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ansgar Burchardt Newsgroups: gmane.emacs.bugs Subject: bug#21103: 24.5; LaTeX input mode: add more blackboard bold characters Date: Tue, 21 Jul 2015 13:28:49 +0200 Message-ID: <87lhe9oiku.fsf@snout.igpm.rwth-aachen.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1437492743 30970 80.91.229.3 (21 Jul 2015 15:32:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jul 2015 15:32:23 +0000 (UTC) To: 21103@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 21 17:32:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZHZWc-0003ct-Cz for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jul 2015 17:32:10 +0200 Original-Received: from localhost ([::1]:59784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHZWb-0001BD-Ot for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Jul 2015 11:32:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHZWY-0001B4-7A for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 11:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHZWU-0004lJ-Vj for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 11:32:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54137) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHZWU-0004lF-SZ for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 11:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZHZWU-00065y-CI for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 11:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ansgar Burchardt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Jul 2015 15:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21103 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143749269023385 (code B ref -1); Tue, 21 Jul 2015 15:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jul 2015 15:31:30 +0000 Original-Received: from localhost ([127.0.0.1]:55583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHZVx-000653-0a for submit@debbugs.gnu.org; Tue, 21 Jul 2015 11:31:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53805) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZHVjz-0007Io-1o for submit@debbugs.gnu.org; Tue, 21 Jul 2015 07:29:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHVjo-0005lo-7q for submit@debbugs.gnu.org; Tue, 21 Jul 2015 07:29:37 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:55007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVjo-0005li-4g for submit@debbugs.gnu.org; Tue, 21 Jul 2015 07:29:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVjm-00016c-GO for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 07:29:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHVjh-0005hX-8m for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 07:29:30 -0400 Original-Received: from mx-out-1.rwth-aachen.de ([134.130.5.186]:15538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHVjh-0005fi-1j for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 07:29:25 -0400 X-IronPort-AV: E=Sophos;i="5.15,515,1432591200"; d="scan'208,223";a="464982784" Original-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 Original-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 ) id 1ZHVkF-0001ps-Lx for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 13:29:59 +0200 Original-Received: from [127.0.0.1] (helo=snout.igpm.rwth-aachen.de) by snout with esmtp (Exim 4.86_RC4) (envelope-from ) id 1ZHVjd-0007BO-Bc for bug-gnu-emacs@gnu.org; Tue, 21 Jul 2015 13:29:21 +0200 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-Mailman-Approved-At: Tue, 21 Jul 2015 11:31:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105056 Archived-At: --=-=-= 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] 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 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 --=-=-=--