[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pstricks style
From: |
Ikumi Keita |
Subject: |
Re: pstricks style |
Date: |
Sat, 01 Aug 2020 01:07:00 +0900 |
Hi Colin,
>>>>> Colin Baxter <m43cap@yandex.com> 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."
Regards,
Ikumi Keita
- pstricks style, Jean-Jacques Rétorré, 2020/07/28
- Re: pstricks style, Ikumi Keita, 2020/07/29
- Re: pstricks style, Jean-Jacques Rétorré, 2020/07/29
- Re: pstricks style, Ikumi Keita, 2020/07/29
- Re: pstricks style, Jean-Jacques Rétorré, 2020/07/30
- Re: pstricks style, Colin Baxter, 2020/07/30
- Re: pstricks style, Jean-Jacques Rétorré, 2020/07/31
- Re: pstricks style, Colin Baxter, 2020/07/31
- Re: pstricks style,
Ikumi Keita <=
- Re: pstricks style, Colin Baxter, 2020/07/31
Re: pstricks style, Jean-Jacques Rétorré, 2020/07/29