* 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:14 Peter Davis
@ 2017-05-01 12:25 ` Joost Kremers
0 siblings, 0 replies; 6+ messages in thread
From: Joost Kremers @ 2017-05-01 12:25 UTC (permalink / raw)
To: Peter Davis; +Cc: emacs-orgmode
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?
--
Joost Kremers
Life has its moments
^ 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 12:50 Exporting PDF (new setup) Peter Davis
@ 2017-05-01 13:45 ` Nick Dokos
0 siblings, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2017-05-01 13:45 UTC (permalink / raw)
To: emacs-orgmode
Peter Davis <pfd@pfdstudio.com> writes:
> 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.
>
As a first step, switch to buffer *Org PDF LaTeX Output* and check for errors.
--
Nick
^ 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
* Re: Exporting PDF (new setup)
2017-05-01 13:56 Peter Davis
@ 2017-05-01 14:11 ` Joost Kremers
0 siblings, 0 replies; 6+ messages in thread
From: Joost Kremers @ 2017-05-01 14:11 UTC (permalink / raw)
To: Peter Davis; +Cc: Nick Dokos, emacs-orgmode
On Mon, May 01 2017, Peter Davis wrote:
> 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.
IIUC BasicTeX is a subset of TeXLive. If it comes with the TeXLive
Manager, it should be possible to add packages on a need-to-have
basis, rather than installing all of TeXLive. Just do `tlmgr
install wrapfig` in a shell, or (if installed) use the graphical
TeXLive Manager.
--
Joost Kremers
Life has its moments
^ 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:50 Exporting PDF (new setup) Peter Davis
2017-05-01 13:45 ` Nick Dokos
-- strict thread matches above, loose matches on Subject: below --
2017-05-01 13:56 Peter Davis
2017-05-01 14:11 ` Joost Kremers
2017-05-01 12:14 Peter Davis
2017-05-01 12:25 ` Joost Kremers
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.