bug#61410: texmathp and literal $

2023-02-13 Thread Arash Esbati
Ikumi Keita writes: > This looks good to me. It takes care of all possible difficulties I > worried. :-) What, maximum score? ;-) I installed the change incl. a test with commit de6aa05d7 and closing this report. Many thanks for your comments. Best, Arash ___

bug#61410: texmathp and literal $

2023-02-13 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > Following up myself, I was thinking about something like in the attached > patch. Any comments welcome. This looks good to me. It takes care of all possible difficulties I worried. :-) Bye, Ikumi Keita #StandWithUkraine #StopWarInUkraine _

bug#61410: texmathp and literal $

2023-02-13 Thread Arash Esbati
Arash Esbati writes: > My simple idea was to have an extra check at the end of `texmathp' > itself in terms of: Pass the possible point for math-on to > `LaTeX-verbatim-p' and see what it returs. Following up myself, I was thinking about something like in the attached patch. Any comments welcom

bug#61410: texmathp and literal $

2023-02-12 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: > Yes. As far as I can see, texmathp.el doesn't pay attention to verbatim > constructs at all. I think that's an intention of Carsten Dominik. Thanks for confirming. I'm not sure about the intention behind it, but I think we should if we can fix this issue. > May

bug#61410: texmathp and literal $

2023-02-11 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > texmathp ignores the verb macro completely. The similar scenario can be > created for a verbatim-like environment. Can others reproduce this? Yes. As far as I can see, texmathp.el doesn't pay attention to verbatim constructs at all. I think that's an inte

bug#61410: texmathp and literal $

2023-02-10 Thread Arash Esbati
Hi all, please consider this small example: --8<---cut here---start->8--- \documentclass{article} \begin{document} text \verb|$| \end{document} %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: --8<---cut here---end