bug-auctex
[Top][All Lists]
Advanced

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

bug#58689: 13.1.4; LaTeX-modify-environment fails to modify a single lin


From: Ikumi Keita
Subject: bug#58689: 13.1.4; LaTeX-modify-environment fails to modify a single line environment.
Date: Mon, 24 Oct 2022 00:26:01 +0900

Hi Jean-Jacques,

>>>>> Jean-Jacques Rétorré <jj.retorre@gmail.com> writes:
> As a MWE

> ,----
> | \documentclass{article}
> | \begin{document}
> | \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}
> | \end{document}
> `----

> C-u C-c C-e RET bmatrix produce

> ,----
> | \documentclass{article}
> | \begin{bmatrix}
> | \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}
> | \end{document}
> `----

Thank you for the report. AUCTeX assumes that \begin and \end lie on
their own lines in general, hence the behavior.

Looking at the relevant code, I think I can do something for
LaTeX-modify-environment to cover the situation where \begin and \end
are on the same line. I expect that I can have spare time to manage this
issue on November.

Regards,
Ikumi Keita
#StandWithUkraine #StopWarInUkraine





reply via email to

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