Subject: bug#34593: 12.1.1; selecting xelatex from command menu does not reset dvips or dvipdfmx switches

From: jfbu <[email-masked]>
Date: Wed, 20 Feb 2019 18:16:51 +0100

Hi,

Steps to reproduce.

Any latex document previously set-up to do latex+dvips+ps2pdf
(or dvipdfmx)

select XeTeX as TeX-engine from menu.

The dvips + ps2pdf (or dvipdfmx) option remains selected.

On C-cC-a  errors arise, because of course no dvi file is produced from xelatex run.

It takes a while until AUCTeX stops.

On the positive side, with

% Local variables:
% TeX-engine: xetex;
% End:

and C-cC-n 

the PDF from Dvi is reset and no problem arises.

Could it be added that selecting "Use XeTeX engine" from menu automatically resets the "PDF from Dvi" setting ?

I have a slightly custom TeX-command-list, I don't expect it to be cause of this.

Best

Jean-François