From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Texi2dvi: forcing a recompile? Date: Sat, 4 Dec 2010 15:28:30 -0500 Message-ID: References: <4CFAA27C.3020509@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=37263 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POyiz-00061c-Hh for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 15:28:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POyiy-0004QN-Au for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 15:28:53 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:42057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POyiy-0004Q9-22 for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 15:28:52 -0500 Received: by fxm13 with SMTP id 13so9330132fxm.0 for ; Sat, 04 Dec 2010 12:28:51 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: mike.mclean@pobox.com Cc: Org-mode ml 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. On Sat, Dec 4, 2010 at 3:22 PM, Jeff Horn wrote: > On Sat, Dec 4, 2010 at 3:20 PM, Mike McLean 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) > > -- > Jeffrey Horn > Graduate Lecturer and PhD Student in Economics > George Mason University > > (704) 271-4797 > jhorn@gmu.edu > jrhorn424@gmail.com > > http://www.failuretorefrain.com/jeff/ > -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jhorn@gmu.edu jrhorn424@gmail.com http://www.failuretorefrain.com/jeff/