[OS X Emacs] how to add pdtopdf command to LaTeX command list?

Tom McCormick Tom.McCormick at sauder.ubc.ca
Thu Jul 31 15:08:37 EDT 2008

I've just converted from a PC to a Mac and so I have lots of legacy LaTeX
files containing eps figures.  It would be way painful to convert all of
these over to pdf to use the native pdflatex, so I'd like to be able to use
ordinary latex (no problem), then "File" to convert from dvi to ps, then
pstopdf to convert from ps to pdf.  I see that a pstopdf command-line
command exists, but my Applescript/lisp/emacs skills are not up to figuring
out how to add a command to the LaTeX command menu allowing a choice of
pstopdf when I hit C-c C-c.  Any suggestions on how to go about doing this?

Alternatively, I want to do this largely because the default dvi viewer when
I use ordinary latex is xdvi, which is pretty primitive compared to the yap
viewer I used with Miktex on the PC.  I could avoid the pstopdf step if I
had a nicer viewer for dvi files, ideally one that allowed for forward and
backward search like yap.

-Tom McCormick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080731/1c0c9aff/attachment.html>

More information about the MacOSX-Emacs mailing list