Re: [O] Exporting PDF (new setup)

2017-05-01 Thread Joost Kremers


On Mon, May 01 2017, Peter Davis wrote:

Nick Dokos  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



Re: [O] Exporting PDF (new setup)

2017-05-01 Thread Peter Davis
Nick Dokos  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




Re: [O] Exporting PDF (new setup)

2017-05-01 Thread Nick Dokos
Peter Davis  writes:

> Joost Kremers  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




Re: [O] Exporting PDF (new setup)

2017-05-01 Thread Peter Davis
Joost Kremers  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




Re: [O] Exporting PDF (new setup)

2017-05-01 Thread Joost Kremers


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



[O] Exporting PDF (new setup)

2017-05-01 Thread Peter Davis

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