Re: [AUCTeX-devel] TeX-add-local-engine

2017-08-12 Thread Arash Esbati
Uwe Brauer writes: > The function TeX-check-engine is not interactive and I can't bind it > to key. True, and I think this is intended. > Hm, but there are files which require xelatex, but auctex fails to auto > detect it. For example the files found in >

Re: [AUCTeX-devel] TeX-add-local-engine

2017-08-12 Thread Uwe Brauer
> Uwe Brauer writes: > Hi Uwe, > actually, AUCTeX does this job already and asks you if it should > remember your choice regarding engine. Check the function > `TeX-check-engine'. In practice, you should get what you're looking for The function

Re: [AUCTeX-devel] TeX-add-local-engine

2017-08-11 Thread Arash Esbati
Uwe Brauer writes: > Most of the time I use vanilla (latex) pdflatex, but for some documents > I must run xelatex. I know I can switch the engine interactively to > xelax, but I think it would be better to have it set in the list of > local variables at the end of each file. > >