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



_______________________________________________
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to