GNU bug report logs - #34593
12.1.1; selecting xelatex from command menu does not reset dvips or dvipdfmx switches

Previous Next

Package: auctex;

Reported by: jfbu <jfbu <at> free.fr>

Date: Wed, 20 Feb 2019 17:18:02 UTC

Severity: normal

Tags: fixed, patch

Found in version 12.1.1

Done: Ikumi Keita <ikumi <at> ikumi.que.jp>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 34593 in the body.
You can then email your comments to 34593 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-auctex <at> gnu.org:
bug#34593; Package auctex. (Wed, 20 Feb 2019 17:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to jfbu <jfbu <at> free.fr>:
New bug report received and forwarded. Copy sent to bug-auctex <at> gnu.org. (Wed, 20 Feb 2019 17:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jfbu <jfbu <at> free.fr>
To: bug-auctex <at> gnu.org
Subject: 12.1.1;
 selecting xelatex from command menu does not reset dvips or dvipdfmx
 switches
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





Information forwarded to bug-auctex <at> gnu.org:
bug#34593; Package auctex. (Tue, 02 Apr 2019 07:02:02 GMT) Full text and rfc822 format available.

Message #8 received at 34593 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: jfbu <jfbu <at> free.fr>
Cc: 34593 <at> debbugs.gnu.org
Subject: Re: bug#34593: 12.1.1;
 selecting xelatex from command menu does not reset dvips or dvipdfmx
 switches
Date: Tue, 02 Apr 2019 16:00:31 +0900
[Message part 1 (text/plain, inline)]
Hi Jean, sorry for very late reply.

I think that the attached patch will do the job.  However it just resets
the "PDF from DVI" setting and doesn't restore it when you again change
the engine to, say, "default".
Is this what you wanted?  If so, I'll install this change.

Regards,
Ikumi Keita

>>>>> jfbu <jfbu <at> free.fr> writes:
> 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 ?

[patch-xetex-dvi (text/x-diff, attachment)]

Added tag(s) patch. Request was from Ikumi Keita <ikumi <at> ikumi.que.jp> to control <at> debbugs.gnu.org. (Fri, 05 Apr 2019 05:56:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-auctex <at> gnu.org:
bug#34593; Package auctex. (Fri, 05 Apr 2019 08:41:02 GMT) Full text and rfc822 format available.

Message #13 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jfbu <jfbu <at> free.fr>
To: bug-auctex <at> gnu.org
Subject: Re: bug#34593: 12.1.1; selecting xelatex from command menu does not
 reset dvips or dvipdfmx switches
Date: Fri, 5 Apr 2019 10:36:29 +0200
Le 02/04/2019 à 09:00, Ikumi Keita a écrit :
> Hi Jean, sorry for very late reply.
Hi Ikumi,

Thanks a lot, I am in the midst of some important deadlines
so can not report until a bit,

Best,

Jean-François


> 
> I think that the attached patch will do the job.  However it just resets
> the "PDF from DVI" setting and doesn't restore it when you again change
> the engine to, say, "default".
> Is this what you wanted?  If so, I'll install this change.
> 
> Regards,
> Ikumi Keita
> 
>>>>>> jfbu <jfbu <at> free.fr> writes:
>> 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 ?
> 
> 
> 
Hi 






Information forwarded to bug-auctex <at> gnu.org:
bug#34593; Package auctex. (Tue, 16 Apr 2019 13:09:02 GMT) Full text and rfc822 format available.

Message #16 received at 34593 <at> debbugs.gnu.org (full text, mbox):

From: JF <jfbu <at> free.fr>
To: Ikumi Keita <ikumi <at> ikumi.que.jp>
Cc: 34593 <at> debbugs.gnu.org
Subject: Re: bug#34593: 12.1.1; selecting xelatex from command menu does not
 reset dvips or dvipdfmx switches
Date: Tue, 16 Apr 2019 15:08:51 +0200
Hi Keita,

Le 02/04/2019 à 09:00, Ikumi Keita a écrit :
> Hi Jean, sorry for very late reply.
>
> I think that the attached patch will do the job.  However it just resets
> the "PDF from DVI" setting and doesn't restore it when you again change
> the engine to, say, "default".
> Is this what you wanted?  If so, I'll install this change.


Sorry for late confirmation. Yes your attached patch works for me.
Indeed it does not restore previous PDF from DVI setting when again
changing to default engine, but that's fine with me.

Thanks,

Jean-François


> Regards,
> Ikumi Keita
>
>>>>>> jfbu <jfbu <at> free.fr> writes:
>> 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 ?





Information forwarded to bug-auctex <at> gnu.org:
bug#34593; Package auctex. (Wed, 17 Apr 2019 06:14:01 GMT) Full text and rfc822 format available.

Message #19 received at 34593 <at> debbugs.gnu.org (full text, mbox):

From: Ikumi Keita <ikumi <at> ikumi.que.jp>
To: JF <jfbu <at> free.fr>
Cc: 34593 <at> debbugs.gnu.org
Subject: Re: bug#34593: 12.1.1;
 selecting xelatex from command menu does not reset dvips or dvipdfmx
 switches
Date: Wed, 17 Apr 2019 15:13:46 +0900
>>>>> JF <jfbu <at> free.fr> writes:
>> I think that the attached patch will do the job.  However it just resets
>> the "PDF from DVI" setting and doesn't restore it when you again change
>> the engine to, say, "default".
>> Is this what you wanted?  If so, I'll install this change.

> Sorry for late confirmation. Yes your attached patch works for me.
> Indeed it does not restore previous PDF from DVI setting when again
> changing to default engine, but that's fine with me.

Thanks for confirmation, commited.  I'll close this bug.

Bye,
Ikumi Keita




Added tag(s) fixed. Request was from Ikumi Keita <ikumi <at> ikumi.que.jp> to control <at> debbugs.gnu.org. (Wed, 17 Apr 2019 06:15:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 34593 <at> debbugs.gnu.org and jfbu <jfbu <at> free.fr> Request was from Ikumi Keita <ikumi <at> ikumi.que.jp> to control <at> debbugs.gnu.org. (Sun, 08 Dec 2019 02:54:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 05 Jan 2020 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 85 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.