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

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 <joostkremers@fastmail.fm> wrote:
> 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
>
> _______________________________________________
> 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
>



-- 
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/

  reply	other threads:[~2010-12-04 21:18 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
2010-12-04 21:17         ` Jeff Horn [this message]
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=AANLkTimcSjuniv6GzzzUPmXXxJ80TwSk_2UgPJ1+mha0@mail.gmail.com \
    --to=jrhorn424@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=joostkremers@fastmail.fm \
    /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).