From aa59d38c598f77cf1afbcb664e1ad73ed42ada52 Mon Sep 17 00:00:00 2001 From: Uwe Brauer Date: Fri, 17 Sep 2021 19:01:51 +0200 Subject: [PATCH] Replace hex representation by its literal form in pretty tex symbols * lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Correct error \Bbb{T}, replace hex representation by its literal form (bug#50645). --- lisp/textmodes/tex-mode.el | 167 ++++++++++++++++++------------------- 1 file changed, 83 insertions(+), 84 deletions(-) diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 0c7ab049d70..c8748e3740f 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -3469,98 +3469,97 @@ There might be text before point." ("\\Bbb{P}" . ?ℙ) ; Also sometimes \mathbb. ("\\Bbb{Q}" . ?ℚ) ("\\Bbb{R}" . ?ℝ) - ("\\Bbb{T}" . ?ℝ) - ("\\Bbb{T}" . #x1D54B) + ("\\Bbb{T}" . ?𝕋) ("\\Bbb{Z}" . ?ℤ) ("\\mathbb{N}" . ?ℕ) ; AMS commands for blackboard bold ("\\mathbb{P}" . ?ℙ) ; Also sometimes \mathbb. ("\\mathbb{Q}" . ?ℚ) ("\\mathbb{R}" . ?ℝ) - ("\\mathbb{T}" . #x1D54B) + ("\\mathbb{T}" . ?𝕋) ("\\mathbb{Z}" . ?ℤ) - ("\\pm" . ?\u00B1) - ("\\|" . ?\u2016) - ("\\varkappa" . ?\u03F0) + ("\\pm" . ?±) + ("\\|" . ?‖) + ("\\varkappa" . ?ϰ) ;; caligraphic - ("\\mathcal{A}" . #x1D49C) - ("\\mathcal{B}" . #x0212C) - ("\\mathcal{C}" . #x1D49E) - ("\\mathcal{D}" . #x1D49F) - ("\\mathcal{E}" . #x02130) - ("\\mathcal{F}" . #x02131) - ("\\mathcal{G}" . #x1D4A2) - ("\\mathcal{H}" . #x0210B) - ("\\mathcal{I}" . #x02110) - ("\\mathcal{J}" . #x1D4A5) - ("\\mathcal{K}" . #x1D4A6) - ("\\mathcal{L}" . #x02112) - ("\\mathcal{M}" . #x02133) - ("\\mathcal{N}" . #x1D4A9) - ("\\mathcal{O}" . #x1D4AA) - ("\\mathcal{P}" . #x1D4AB) - ("\\mathcal{Q}" . #x1D4AC) - ("\\mathcal{R}" . #x0211B) - ("\\mathcal{S}" . #x1D4AE) - ("\\mathcal{T}" . #x1D4AF) - ("\\mathcal{U}" . #x1D4B0) - ("\\mathcal{V}" . #x1D4B1) - ("\\mathcal{W}" . #x1D4B2) - ("\\mathcal{X}" . #x1D4B3) - ("\\mathcal{Y}" . #x1D4B4) - ("\\mathcal{Z}" . #x1D4B5) + ("\\mathcal{A}" . ?𝒜) + ("\\mathcal{B}" . ?ℬ) + ("\\mathcal{C}" . ?𝒞) + ("\\mathcal{D}" . ?𝒟) + ("\\mathcal{E}" . ?ℰ) + ("\\mathcal{F}" . ?ℱ) + ("\\mathcal{G}" . ?𝒢) + ("\\mathcal{H}" . ?ℋ) + ("\\mathcal{I}" . ?ℐ) + ("\\mathcal{J}" . ?𝒥) + ("\\mathcal{K}" . ?𝒦) + ("\\mathcal{L}" . ?ℒ) + ("\\mathcal{M}" . ?ℳ) + ("\\mathcal{N}" . ?𝒩) + ("\\mathcal{O}" . ?𝒪) + ("\\mathcal{P}" . ?𝒫) + ("\\mathcal{Q}" . ?𝒬) + ("\\mathcal{R}" . ?ℛ) + ("\\mathcal{S}" . ?𝒮) + ("\\mathcal{T}" . ?𝒯) + ("\\mathcal{U}" . ?𝒰) + ("\\mathcal{V}" . ?𝒱) + ("\\mathcal{W}" . ?𝒲) + ("\\mathcal{X}" . ?𝒳) + ("\\mathcal{Y}" . ?𝒴) + ("\\mathcal{Z}" . ?𝒵) ;; fractur - ("\\mathfrak{A}" . #x1D504) - ("\\mathfrak{B}" . #x1D505) - ("\\mathfrak{C}" . #x0212D) - ("\\mathfrak{D}" . #x1D507) - ("\\mathfrak{E}" . #x1D508) - ("\\mathfrak{F}" . #x1D509) - ("\\mathfrak{G}" . #x1D50A) - ("\\mathfrak{H}" . #x0210C) - ("\\mathfrak{I}" . #x02111) - ("\\mathfrak{J}" . #x1D50D) - ("\\mathfrak{K}" . #x1D50E) - ("\\mathfrak{L}" . #x1D50F) - ("\\mathfrak{M}" . #x1D510) - ("\\mathfrak{N}" . #x1D511) - ("\\mathfrak{O}" . #x1D512) - ("\\mathfrak{P}" . #x1D513) - ("\\mathfrak{Q}" . #x1D514) - ("\\mathfrak{R}" . #x0211C) - ("\\mathfrak{S}" . #x1D516) - ("\\mathfrak{T}" . #x1D517) - ("\\mathfrak{U}" . #x1D518) - ("\\mathfrak{V}" . #x1D519) - ("\\mathfrak{W}" . #x1D51A) - ("\\mathfrak{X}" . #x1D51B) - ("\\mathfrak{Y}" . #x1D51C) - ("\\mathfrak{Z}" . #x02128) - ("\\mathfrak{a}" . #x1D51E) - ("\\mathfrak{b}" . #x1D51F) - ("\\mathfrak{c}" . #x1D520) - ("\\mathfrak{d}" . #x1D521) - ("\\mathfrak{e}" . #x1D522) - ("\\mathfrak{f}" . #x1D523) - ("\\mathfrak{g}" . #x1D524) - ("\\mathfrak{h}" . #x1D525) - ("\\mathfrak{i}" . #x1D526) - ("\\mathfrak{j}" . #x1D527) - ("\\mathfrak{k}" . #x1D528) - ("\\mathfrak{l}" . #x1D529) - ("\\mathfrak{m}" . #x1D52A) - ("\\mathfrak{n}" . #x1D52B) - ("\\mathfrak{o}" . #x1D52C) - ("\\mathfrak{p}" . #x1D52D) - ("\\mathfrak{q}" . #x1D52E) - ("\\mathfrak{r}" . #x1D52F) - ("\\mathfrak{s}" . #x1D530) - ("\\mathfrak{t}" . #x1D531) - ("\\mathfrak{u}" . #x1D532) - ("\\mathfrak{v}" . #x1D533) - ("\\mathfrak{w}" . #x1D534) - ("\\mathfrak{x}" . #x1D535) - ("\\mathfrak{y}" . #x1D536) - ("\\mathfrak{z}" . #x1D537) + ("\\mathfrak{A}" . ?𝔄) + ("\\mathfrak{B}" . ?𝔅) + ("\\mathfrak{C}" . ?ℭ) + ("\\mathfrak{D}" . ?𝔇) + ("\\mathfrak{E}" . ?𝔈) + ("\\mathfrak{F}" . ?𝔉) + ("\\mathfrak{G}" . ?𝔊) + ("\\mathfrak{H}" . ?ℌ) + ("\\mathfrak{I}" . ?ℑ) + ("\\mathfrak{J}" . ?𝔍) + ("\\mathfrak{K}" . ?𝔎) + ("\\mathfrak{L}" . ?𝔏) + ("\\mathfrak{M}" . ?𝔐) + ("\\mathfrak{N}" . ?𝔑) + ("\\mathfrak{O}" . ?𝔒) + ("\\mathfrak{P}" . ?𝔓) + ("\\mathfrak{Q}" . ?𝔔) + ("\\mathfrak{R}" . ?ℜ) + ("\\mathfrak{S}" . ?𝔖) + ("\\mathfrak{T}" . ?𝔗) + ("\\mathfrak{U}" . ?𝔘) + ("\\mathfrak{V}" . ?𝔙) + ("\\mathfrak{W}" . ?𝔚) + ("\\mathfrak{X}" . ?𝔛) + ("\\mathfrak{Y}" . ?𝔜) + ("\\mathfrak{Z}" . ?ℨ) + ("\\mathfrak{a}" . ?𝔞) + ("\\mathfrak{b}" . ?𝔟) + ("\\mathfrak{c}" . ?𝔠) + ("\\mathfrak{d}" . ?𝔡) + ("\\mathfrak{e}" . ?𝔢) + ("\\mathfrak{f}" . ?𝔣) + ("\\mathfrak{g}" . ?𝔤) + ("\\mathfrak{h}" . ?𝔥) + ("\\mathfrak{i}" . ?𝔦) + ("\\mathfrak{j}" . ?𝔧) + ("\\mathfrak{k}" . ?𝔨) + ("\\mathfrak{l}" . ?𝔩) + ("\\mathfrak{m}" . ?𝔪) + ("\\mathfrak{n}" . ?𝔫) + ("\\mathfrak{o}" . ?𝔬) + ("\\mathfrak{p}" . ?𝔭) + ("\\mathfrak{q}" . ?𝔮) + ("\\mathfrak{r}" . ?𝔯) + ("\\mathfrak{s}" . ?𝔰) + ("\\mathfrak{t}" . ?𝔱) + ("\\mathfrak{u}" . ?𝔲) + ("\\mathfrak{v}" . ?𝔳) + ("\\mathfrak{w}" . ?𝔴) + ("\\mathfrak{x}" . ?𝔵) + ("\\mathfrak{y}" . ?𝔶) + ("\\mathfrak{z}" . ?𝔷) ("--" . ?–) ("---" . ?—) ("\\ordfeminine" . ?ª) -- 2.39.5