auctex
[Top][All Lists]
Advanced

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

Re: Convert bla to $bla$ automatically when be highlighted and typeset a


From: Hongyi Zhao
Subject: Re: Convert bla to $bla$ automatically when be highlighted and typeset a $.
Date: Mon, 22 May 2023 08:04:45 +0800

On Mon, May 22, 2023 at 7:50 AM Mosè Giordano <mose@gnu.org> wrote:
>
> On Mon, 22 May 2023 at 00:45, Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
> > Mine is as follows:
> >
> > --8<---------------cut here---------------start------------->8---
> > $ runs the command cdlatex-dollar (found in cdlatex-mode-map), which
> > is an interactive byte-compiled Lisp function in ‘cdlatex.el’.
> >
> > It is bound to $.
> >
> > (cdlatex-dollar &optional ARG)
> >
> > Insert a pair of dollars unless number of backslashes before point is odd.
> > With arg, insert pair of double dollars.
> > --8<---------------cut here---------------end------------->8---
>
> Then it's not a surprise that `TeX-electric-math' is ignored.  I'm not
> familiar with cdlatex, but that's apparently overtaking AUCTeX
> keybindings.

I filed an issue here [1].

[1] https://github.com/cdominik/cdlatex/issues/60

> Bye,
> Mosè

Regards,
Zhao



reply via email to

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