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: Mon, 1 Feb 2021 14:35:29 +0100

Does anybody have a strategy how to do this thing?  I do not think
I should do a replacement, only for display, which I can turn on
or off. 

> Sent: Monday, February 01, 2021 at 10:17 AM
> From: pietru@caramail.com
> To: "Stefan Monnier" <monnier@iro.umontreal.ca>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Changing into greek glyphs in texinfo-mode
>
> > 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]