On Sat, Dec 04, 2010 at 03:28:30PM -0500, Jeff Horn wrote: > On Sat, Dec 4, 2010 at 3:22 PM, Jeff Horn <jrhorn...@gmail.com> wrote: > > On Sat, Dec 4, 2010 at 3:20 PM, Mike McLean <mike.mcl...@pobox.com> wrote: > >> I solve this with a forced remove: > >> > >> (setq org-latex-to-pdf-process (quote ("rm %b.pdf" "texi2dvi -p -b -c -V > >> %f"))) > > > > Nice! Very clever. Thanks for the tip! (CC-ing to the list, hope that's OK) > > Small problem: if the file doesn't exist, rm fails with error, which > stops the process (the PDF file is not produced). This happens if I > create a new source file in my project.
change "rm %b-pdf" to "rm -f %b.pdf", that should take care of it. -- Dr. Joost Kremers Georg-August-Universität Seminar für Deutsche Philologie Käte-Hamburger-Weg 3 D-37073 Göttingen _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode