From: Tassilo Horn <tsdh@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Jeremy Van Cleve <jeremy.vancleve@gmail.com>, 61290@debbugs.gnu.org
Subject: bug#61290: 28.2; Ligatures messing up fontify subscripts in AUCTeX
Date: Sun, 05 Feb 2023 10:28:42 +0100 [thread overview]
Message-ID: <87ilggtq0v.fsf@gnu.org> (raw)
In-Reply-To: <83pmaosd2l.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
Hi Jeremy & Eli,
> My guess would be that the method used by AUCTeX for displaying
> subscripts is somehow incompatible with character compositions. How
> are subscripts displayed by AUCTeX?
AUCTeX simply adds a 'raise text property with some computed value per
level, e.g., (raise -0.5) for the first subscript level.
> OTOH, if this is a problem in the Emacs display engine, I'd appreciate
> a simple reproducer that doesn't require AUCTeX to be installed and
> used.
>
> CC'ing Tassilo, in case he has some comments and idea.
I'm somewhat relieved to say its the very same with the stock emacs
tex-mode.el which does pretty much the same as AUCTeX, i.e., a simple
reproducer is to open the tex file
--8<---------------cut here---------------start------------->8---
\documentclass{article}
\begin{document}
\begin{equation}
A_{x+b-c*d/e}
\end{equation}
Here is a ligature -> and another one !=.
\end{document}
--8<---------------cut here---------------end--------------->8---
with emacs -Q. It looks correct but gets wonky after evaluating
Jeremy's ligature setup.
Bye,
Tassilo
next prev parent reply other threads:[~2023-02-05 9:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-04 22:48 bug#61290: 28.2; Ligatures messing up fontify subscripts in AUCTeX Jeremy Van Cleve
2023-02-05 8:58 ` Eli Zaretskii
2023-02-05 9:28 ` Tassilo Horn [this message]
2023-02-05 11:58 ` Eli Zaretskii
2023-02-12 12:16 ` Eli Zaretskii
2023-02-12 16:40 ` Jeremy Van Cleve
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ilggtq0v.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=61290@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=jeremy.vancleve@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.