emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Texi2dvi: forcing a recompile?


From: Joost Kremers
Subject: Re: [Orgmode] Texi2dvi: forcing a recompile?
Date: Sat, 4 Dec 2010 21:46:18 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Sat, Dec 04, 2010 at 03:28:30PM -0500, Jeff Horn wrote:
> On Sat, Dec 4, 2010 at 3:22 PM, Jeff Horn <address@hidden> wrote:
> > On Sat, Dec 4, 2010 at 3:20 PM, Mike McLean <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]