emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: emacs-orgmode@gnu.org
Subject: Re: Texi2dvi: forcing a recompile?
Date: Sat, 4 Dec 2010 21:46:18 +0100	[thread overview]
Message-ID: <20101204204618.GA29113@darkstar> (raw)
In-Reply-To: <AANLkTimnKKUUe2T8R9nJC9RV2RGsBPRb6kr0qdrKe3Qb@mail.gmail.com>

On Sat, Dec 04, 2010 at 03:28:30PM -0500, Jeff Horn wrote:
> On Sat, Dec 4, 2010 at 3:22 PM, Jeff Horn <jrhorn424@gmail.com> wrote:
> > On Sat, Dec 4, 2010 at 3:20 PM, Mike McLean <mike.mclean@pobox.com> 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	other threads:[~2010-12-04 20:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02 22:55 Texi2dvi: forcing a recompile? Jeff Horn
2010-12-02 22:56 ` Jeff Horn
     [not found] ` <4CFAA27C.3020509@pobox.com>
2010-12-04 20:22   ` Jeff Horn
2010-12-04 20:28     ` Jeff Horn
2010-12-04 20:46       ` Joost Kremers [this message]
2010-12-04 21:17         ` Jeff Horn
2010-12-04 22:50       ` Mike McLean

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101204204618.GA29113@darkstar \
    --to=joostkremers@fastmail.fm \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).