>>>>> Ikumi Keita <[email protected]> writes:

    > Hi Colin,
>>>>> Colin Baxter <[email protected]> writes:
    >> I do indeed have TeX-PDF-mode disabled by default. All my tex
    >> documents contain dvi-only and pdf-only options. Once I have
    >> everything working satisfactorily to produce a dvi output then I
    >> switch to latemk to generate a final pdf file - if required. I
    >> can therefore hardly complain if your proposed changes will not
    >> effect me. Thanks for the information.

    > I think that you won't be affected by agressive approach (2),
    > provided that you customize TeX-PDF-mode to nil. I confirmed that
    > by changing pstricks.el locally. After disabling TeX-PDF-mode, the
    > following file generates dvi and tries to open viewer associated
    > with "dvips and gv" option by repeated C-c C-c.

    > \documentclass{article} \usepackage{pstricks} \begin{document}
    > dummy text \end{document}

    > %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End:

    > (When I erase cutomization of TeX-PDF-mode and let it to be t,
    > repeated C-c C-c then generates pdf by dvips and ps2pdf according
    > to TeX-PDF-from-DVI being "Dvips", as expected.)

    > As far as I can see, approach (2) affects only those who don't
    > customize TeX-PDF-mode AND expect AUCTeX to turn it off
    > per-document basis by detecting the presence of
    > \usepackage{pstricks}. That is, those who think "I let
    > TeX-PDF-mode to be t because I want to use pdflatex for ordinary
    > LaTeX documents. However, AUCTeX should automatically turn off PDF
    > mode for documents with \usepackage{pstricks} as exception."


Hello Keita,

Yes, I agree with you. I have TeX-PDF-mode set to nil so I wont be
affected. Thank you for your time and the information.

Best wishes,

Colin Baxter

-- 
Colin Baxter
URL: http://www.Colin-Baxter.com

Reply via email to