[Top][All Lists]

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

Re: [AUCTeX] TeX-output-view-style syntax question

From: Ralf Angeli
Subject: Re: [AUCTeX] TeX-output-view-style syntax question
Date: Sat, 24 Feb 2007 12:21:08 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

* Ralph Hendriks (2007-02-24) writes:

> I am trying to customize TeX-output-view-style, so that when I issue  
> a view command the following sequence of events is executed:
> dvips -Ppdf -G0 example.dvi
> ps2pdf
> open example.pdf
> However, I find the syntax of TeX-output-view-style somewhat  
> confusing, especially with regard to the filename placeholders. I saw  
> in some examples on the web %o, %f, %dS, etc. Is there some manual  
> what these placeholders mean?

No.  But we might have to do this if I don't get my head around a
toolchain implementation soon.

> Is this AUCTeX-specific, or global to  
> emacs?

Specific to AUCTeX.

> I need a placeholder for the filename without extension. How  
> do I do that?
> The straightforward approach
> dvips -Ppdf -G0 %o && ps2pds && open %o.pdf
> doesn't work well, because it obviously results in
> dvips -Ppdf -G0 example.dvi && ps2pds && open  
> example.dvi.pdf

Simply change and extend the entry for dvips/gv (that's the one which
already refers to pstricks) with help of the entry for xpdf.


reply via email to

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