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: Ralf Angeli
Subject: Re: [AUCTeX] TeX-output-view-style syntax question
Date: Sat, 24 Feb 2007 13:42:26 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.93 (gnu/linux)

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

> On 24-feb-2007, at 12:21, Ralf Angeli wrote:
>
>> 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$).

It uses the output of `TeX-output-extension'.  Sorry, forgot about
that.

> So open %o results in open example.dvi and not example.pdf.
> It appears that %d contains 'example.dvi' and %dS is empty.

Use %s.pdf instead of %o.

-- 
Ralf




reply via email to

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