emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting PDF (new setup)
@ 2017-05-01 12:14 Peter Davis
  2017-05-01 12:25 ` Joost Kremers
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Davis @ 2017-05-01 12:14 UTC (permalink / raw)
  To: emacs-orgmode


I'm running Org 8.2.10 on a new MacBook with El Capitan as the OS. I can't seem to get PDF export working. I get these messages:

Processing LaTeX file ./blahblahblah.tex...
/bin/bash: pdflatex: command not found [3 times]
org-latex-compile: PDF file ./blahblahblah.pdf wasn’t produced

I did install basictex, and when I enter pdflatex on the command line, it works with no problems. Any clues why org export isn't
finding the executable?

Thanks!

-pd

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Exporting PDF (new setup)
@ 2017-05-01 12:50 Peter Davis
  2017-05-01 13:45 ` Nick Dokos
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Davis @ 2017-05-01 12:50 UTC (permalink / raw)
  To: Joost Kremers; +Cc: emacs-orgmode

Joost Kremers <joostkremers@fastmail.fm> writes:

> On Mon, May 01 2017, Peter Davis wrote:
>> I'm running Org 8.2.10 on a new MacBook with El Capitan as the OS. I can't seem to get PDF export working. I get these messages:
>>
>> Processing LaTeX file ./blahblahblah.tex...
>> /bin/bash: pdflatex: command not found [3 times]
>> org-latex-compile: PDF file ./blahblahblah.pdf wasn’t produced
>>
>> I did install basictex, and when I enter pdflatex on the command line, it works with no problems. Any clues why org export isn't
>> finding the executable?
>
> This:
>
> https://github.com/purcell/exec-path-from-shell
>
> perhaps?

Ah! Thank you. That's gotten me past the first problem.

Now I'm getting:

Wrote /Users/peterdavis/Dropbox/Org/blahblahblah.tex
Processing LaTeX file ./blahblahblah.tex...
org-latex-compile: PDF file ./blahblahblah.pdf wasn’t produced: [LaTeX error]

I suppose I have to have to debug this like any LaTeX file.

Thank you, Joost.

-pd

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Exporting PDF (new setup)
@ 2017-05-01 13:56 Peter Davis
  2017-05-01 14:11 ` Joost Kremers
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Davis @ 2017-05-01 13:56 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

>
> As a first step, switch to buffer *Org PDF LaTeX Output* and check for errors.

Thanks, Nick. I found the same error I got running pdflatex in a command shell:

! LaTeX Error: File `wrapfig.sty' not found.

I had installed basictex using Homebrew (one of several Mac package managers), but I think I'd be better off with TeXLive or
MacTeX. I'm trying that now.

Thanks!

-pd

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-05-01 14:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-01 12:14 Exporting PDF (new setup) Peter Davis
2017-05-01 12:25 ` Joost Kremers
  -- strict thread matches above, loose matches on Subject: below --
2017-05-01 12:50 Peter Davis
2017-05-01 13:45 ` Nick Dokos
2017-05-01 13:56 Peter Davis
2017-05-01 14:11 ` Joost Kremers

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).