From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joost Kremers Subject: Re: Texi2dvi: forcing a recompile? Date: Sat, 4 Dec 2010 21:46:18 +0100 Message-ID: <20101204204618.GA29113@darkstar> References: <4CFAA27C.3020509@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=37743 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POyxC-00012f-VN for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 15:43:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POyxB-0007L8-Fm for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 15:43:34 -0500 Received: from amailer.gwdg.de ([134.76.10.18]:47177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POyxB-0007KR-7r for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 15:43:33 -0500 Received: from 91-65-144-144-dynip.superkabel.de ([91.65.144.144] helo=darkstar) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1POyx8-000730-I3 for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 21:43:30 +0100 Content-Disposition: inline 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: emacs-orgmode@gnu.org On Sat, Dec 04, 2010 at 03:28:30PM -0500, Jeff Horn wrote: > 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) > > 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