Re: Tracking ifluatex.sty in AUCTeX

2022-04-22 Thread Davide G. M. Salvetti
Il 22/04/22 21:50, Arash Esbati ha scritto: > Hi Davide, > > you might know that ifluatex.sty is now part of iftex bundle and looks > like this: [...] > Do you mind if I apply this patch to ifluatex.el: [...] > with to corresponding iftex.el which is attached? Hi Arash, I do not mind, please

Tracking ifluatex.sty in AUCTeX

2022-04-22 Thread Arash Esbati
Hi Davide, you might know that ifluatex.sty is now part of iftex bundle and looks like this: --8<---cut here---start->8--- \ifx\RequirePackage\undefined \input iftex.sty \else \ProvidesPackage{ifluatex}[2019/10/25 v1.5 ifluatex legacy package. Use iftex in

Re: indentation problem II

2022-04-22 Thread Ikumi Keita
> Arash Esbati writes: >>> +(defun LaTeX-item-equation-matrix () >> >> Maybe the function name should be reconsidered since it has little >> to do with equation. > I admit that amsmath.el is not really consistent about name-space. > Other functions in that style also go with '-equation-'. W

Re: indentation problem II

2022-04-22 Thread Arash Esbati
Hi Keita, Ikumi Keita writes: >> Arash Esbati writes: >> diff --git a/style/amsmath.el b/style/amsmath.el >> index 5e7812e7..f72f8be8 100644 >> --- a/style/amsmath.el >> +++ b/style/amsmath.el >> @@ -57,7 +57,8 @@ >> "align*" "gather*" "flalign*" "multline*" "equation*" >> "split"

Re: indentation problem II

2022-04-22 Thread Ikumi Keita
Hi Arash, > Arash Esbati writes: > Thanks for your responses. Indeed, there is a big chance that inserting > a single & doesn't match the user expectation. This makes the change > even smaller: > diff --git a/style/amsmath.el b/style/amsmath.el > index 5e7812e7..f72f8be8 100644 > --- a/styl

Re: indentation problem II

2022-04-22 Thread Arash Esbati
Uwe Brauer writes: > I tested your code, nice, some observations Thanks for testing. > Gives this > \begin{equation} > \label{eq:testams:1} > \begin{pmatrix} > 1 & 8 \\ > & > \end{pmatrix} > \end{equation} > > Could the & be aligned? I'm not sure it makes sense to align those & s