From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Horn Subject: Re: Texi2dvi: forcing a recompile? Date: Sat, 4 Dec 2010 16:17:46 -0500 Message-ID: References: <4CFAA27C.3020509@pobox.com> <20101204204618.GA29113@darkstar> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=53429 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POzV1-0003mm-GP for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 16:18:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POzUe-0006Ph-DM for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 16:18:31 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:34651) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POzUe-0006NW-7d for emacs-orgmode@gnu.org; Sat, 04 Dec 2010 16:18:08 -0500 Received: by fxm13 with SMTP id 13so9348130fxm.0 for ; Sat, 04 Dec 2010 13:18:06 -0800 (PST) In-Reply-To: <20101204204618.GA29113@darkstar> 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: Joost Kremers Cc: emacs-orgmode@gnu.org Thanks for the help. I'm not really sure what's going on. A PDF file is produced in my source directory, but not in my output directory. I receive an error message saying the PDF file was not produced. I didn't realize the customize menu had many different processes in the value menu. I wanted something that would run bibtex, and I see there is a process that runs pdflatex, bibtex, then pdflatex twice more. I get the expected result with that process, so I think I'll stick with it for now. Thanks for the help, Jeff On Sat, Dec 4, 2010 at 3:46 PM, Joost Kremers wr= ote: > 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 wr= ote: >> >> 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=E4t > Seminar f=FCr Deutsche Philologie > K=E4te-Hamburger-Weg 3 > D-37073 G=F6ttingen > > _______________________________________________ > 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 > --=20 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/