Mosè Giordano <[email protected]> writes:
> Hi JJ,
>
> 2016-01-25 12:54 GMT+01:00 Jean-Jacques Rétorré <[email protected]>:
>>
>> 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
_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex