From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McLean Subject: Re: Texi2dvi: forcing a recompile? Date: Sat, 04 Dec 2010 17:50:00 -0500 Message-ID: <4CFAC598.8090703@pobox.com> References: <4CFAA27C.3020509@pobox.com> Reply-To: mike.mclean@pobox.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=51659 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PP0ve-0000UK-39 for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 17:50:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PP0va-00019c-In for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 17:50:05 -0500 Received: from b-pb-sasl-quonix.pobox.com ([208.72.237.35]:47009 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PP0va-000199-GA for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 17:50:02 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id D9E10814D for ; Sat, 4 Dec 2010 17:50:01 -0500 (EST) Received: from b-pb-sasl-quonix. (unknown [127.0.0.1]) by b-sasl-quonix.pobox.com (Postfix) with ESMTP id C7FF4814C for ; Sat, 4 Dec 2010 17:50:01 -0500 (EST) Received: from MACXMCLEANM.local (unknown [76.18.212.62]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by b-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 4C697814B for ; Sat, 4 Dec 2010 17:50:01 -0500 (EST) 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: Org-mode ml In my case the rm does generate an error, but the process doesn't stop. On 12/4/10 3:28 PM, Jeff Horn wrote: > 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/ >> > >