bug-auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71467: Value of `LaTeX-math-menu-unicode' on macOS


From: Arash Esbati
Subject: bug#71467: Value of `LaTeX-math-menu-unicode' on macOS
Date: Mon, 10 Jun 2024 10:34:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Hi all,

I was looking at this request[1] and it occurred to me that the value of
`LaTeX-math-menu-unicode' doesn't cater for macOS.  So the math-menu
currently looks like this:

PNG image

where it can look liket this:

PNG image

So I'd like to install the following change:

--8<---------------cut here---------------start------------->8---
diff --git a/latex.el b/latex.el
index da202219..cfd7ee5c 100644
--- a/latex.el
+++ b/latex.el
@@ -6426,8 +6426,7 @@ Each entry should be a list with upto four elements, KEY, 
VALUE,
 MENU and CHARACTER, see `LaTeX-math-list' for details.")

 (defcustom LaTeX-math-menu-unicode
-  (or (string-match "\\<GTK\\>" (emacs-version))
-      (eq window-system 'w32))
+  (if (memq window-system '(pgtk ns w32)) t nil)
   "Whether the LaTeX menu should try using Unicode for effect."
   :type 'boolean
   :group 'LaTeX-math)
--8<---------------cut here---------------end--------------->8---

Any comments?

Best, Arash

Footnotes:
[1]  https://lists.gnu.org/archive/html/auctex/2024-06/msg00000.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]