auctex
[Top][All Lists]
Advanced

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

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


From: Ralph Hendriks
Subject: Re: [AUCTeX] TeX-output-view-style syntax question
Date: Sat, 24 Feb 2007 12:51:59 +0100

On 24-feb-2007, at 12:21, Ralf Angeli wrote:

The straightforward approach
dvips -Ppdf -G0 %o && ps2pds %o.ps && open %o.pdf
doesn't work well, because it obviously results in
dvips -Ppdf -G0 example.dvi && ps2pds example.dvi.ps && 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.

I now made it:

%(o?)dvips -Ppdf -G0 %d -o && ps2pdf %f && open %o

This works up to the ps2pdf part.
The problem is now in the open part. Apperently %o refers to the filename with the extension that is in the first regex (^dvi$).
So open %o results in open example.dvi and not example.pdf.
It appears that %d contains 'example.dvi' and %dS is empty.

Any suggestions left? ;-)

--
Ralph





reply via email to

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