[Top][All Lists]

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

bug#61410: texmathp and literal $

From: Arash Esbati
Subject: bug#61410: texmathp and literal $
Date: Fri, 10 Feb 2023 21:16:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Hi all,

please consider this small example:

--8<---------------cut here---------------start------------->8---


text \verb|$|


%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---

Now do:

  M-: (goto-char 58) RET
  C-c C-f C-t

and AUCTeX insert \mathtt{} at point.  Doing 'M-x texmathp RET' returns:

  math-mode is on: $ begins at buffer position 55

texmathp ignores the verb macro completely.  The similar scenario can be
created for a verbatim-like environment.  Can others reproduce this?
And if yes, any idea about course of action?

Best, Arash

reply via email to

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