auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] pstricks style for 11.89


From: David Kastrup
Subject: Re: [AUCTeX] pstricks style for 11.89
Date: Mon, 25 Jan 2016 21:38:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Mosè Giordano <address@hidden> writes:

> Hi JJ,
>
> 2016-01-25 12:54 GMT+01:00 Jean-Jacques Rétorré <address@hidden>:
>>
>> From AUCTeX-11-89, TeX-normal-mode on a document including
>> \include{patricks} set TeX-PDF-mode to t.
>
> I can't understand.  If I have a
>
>     \include{pstricks}
>
> line in a document `TeX-PDF-mode' is set to nil, not t.

It's a bit more complicated.  If AUCTeX finds at least one style
warranting setting TeX-PDF-mode as well as one warranting clearing it,
it just leaves the setting at its default, whatever that may be.

That tends to do the expected thing in cases like

\ifpdfmodeorwhatever
\usepackage{pdftricks}
\else
\usepackage{pstricks}
\fi
...

-- 
David Kastrup



reply via email to

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