help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Changing into greek glyphs in texinfo-mode


From: pietru
Subject: Re: Changing into greek glyphs in texinfo-mode
Date: Sun, 31 Jan 2021 23:17:40 +0100

> Sent: Monday, February 01, 2021 at 10:08 AM
> From: "Stefan Monnier" <monnier@iro.umontreal.ca>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Changing into greek glyphs in texinfo-mode
>
> > I want to change \alpha and \beta in texinfo files to show the 
> > appropriate glyph.  How can I do it?
> >
> > (defvar glyph-list
> >   '(;; Greek
> >     ("\\alpha" . ?α)
> >     ("\\beta" . ?β))
> >   "A list of glyph marks.")
> 
> Not sure how you want it to be "change"d, but maybe you're looking for
> `prettify-symbols-mode` and its `prettify-symbols-alist`?
 
It is an obscure piece of code.  I am trying to make a minor mode for texinfo,
and have an clearer implementation.

 
>         Stefan
> 
> 
>



reply via email to

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