unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Changing into greek glyphs in texinfo-mode
Date: Sun, 31 Jan 2021 17:08:44 -0500	[thread overview]
Message-ID: <jwvczxkoj42.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: trinity-864a09f0-3918-4aff-8f24-8b85c4b59e7b-1612099092160@3c-app-mailcom-bs16

> 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`?


        Stefan




  parent reply	other threads:[~2021-01-31 22:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-31 13:18 Changing into greek glyphs in texinfo-mode pietru
2021-01-31 21:03 ` pietru
2021-01-31 22:08 ` Stefan Monnier [this message]
2021-01-31 22:17   ` pietru
2021-02-01 13:35     ` pietru
2021-02-01 13:51       ` Gregory Heytings
2021-02-01 14:02         ` pietru
2021-02-01 14:01       ` moasenwood--- via Users list for the GNU Emacs text editor
2021-02-01 14:59         ` pietru
2021-02-01 17:30           ` pietru
2021-02-02  4:10             ` moasenwood--- via Users list for the GNU Emacs text editor
2021-02-02  5:04               ` pietru
2021-02-02 12:56                 ` pietru
2021-02-02 13:26                   ` pietru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvczxkoj42.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).