emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Setting TTY location?
@ 2017-09-17 14:32 Peter Davis
  2017-09-17 15:38 ` Nick Dokos
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Davis @ 2017-09-17 14:32 UTC (permalink / raw)
  To: Emacs-orgmode@gnu.org

I'm trying to get LaTeX/PDF output from an Org document (I guess for the 
first time on this machine), and I'm getting this error:


resize:  can't open terminal /dev/tty
pdflatex: Command not found.


If I open a terminal window and type `which tty`, I get


/usr/bin/tty


Is there some setup I need to do to reconcile these?


Thank you!


-pd

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

* Re: Setting TTY location?
  2017-09-17 14:32 Setting TTY location? Peter Davis
@ 2017-09-17 15:38 ` Nick Dokos
  2017-09-17 22:26   ` Peter Davis
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Dokos @ 2017-09-17 15:38 UTC (permalink / raw)
  To: emacs-orgmode

Peter Davis <pfd@pfdstudio.com> writes:

> I'm trying to get LaTeX/PDF output from an Org document (I guess for
> the first time on this machine), and I'm getting this error:
>
>
> resize:  can't open terminal /dev/tty
> pdflatex: Command not found.
>

These are the problems to concentrate on. Make sure to install
pdflatex, and make sure the perms on /dev/tty are correct.
Mine says

  crw-rw-rw-.  1 root tty       5,   0 Sep 14 12:19 tty

>
> If I open a terminal window and type `which tty`, I get
>
>
> /usr/bin/tty
>

This is a red herring.

-- 
Nick

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

* Re: Setting TTY location?
  2017-09-17 15:38 ` Nick Dokos
@ 2017-09-17 22:26   ` Peter Davis
  2017-09-18 13:43     ` Peter Davis
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Davis @ 2017-09-17 22:26 UTC (permalink / raw)
  To: emacs-orgmode

On 9/17/17 11:38 AM, Nick Dokos wrote:
> Peter Davis <pfd@pfdstudio.com> writes:
>
>> I'm trying to get LaTeX/PDF output from an Org document (I guess for
>> the first time on this machine), and I'm getting this error:
>>
>>
>> resize:  can't open terminal /dev/tty
>> pdflatex: Command not found.
>>
> These are the problems to concentrate on. Make sure to install
> pdflatex, and make sure the perms on /dev/tty are correct.
> Mine says
>
>    crw-rw-rw-.  1 root tty       5,   0 Sep 14 12:19 tty

Looks like those are okay ...

[PFDStudio-Air:~] peterdavis% which pdflatex
/Library/TeX/texbin/pdflatex
[PFDStudio-Air:~] peterdavis% ls -l /dev/tty
crw-rw-rw-  1 root  wheel    2,   0 Sep 17 09:06 /dev/tty
[PFDStudio-Air:~] peterdavis%

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

* Re: Setting TTY location?
  2017-09-17 22:26   ` Peter Davis
@ 2017-09-18 13:43     ` Peter Davis
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Davis @ 2017-09-18 13:43 UTC (permalink / raw)
  To: emacs-orgmode

Ok, this seems to have solved my problem:

(setenv "PATH" (concat "/usr/texbin:/Library/TeX/texbin:" (getenv
"PATH")))


Thank you!

-pd

-- 
  Peter Davis
  www.techcurmudgeon.com

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

end of thread, other threads:[~2017-09-18 13:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-17 14:32 Setting TTY location? Peter Davis
2017-09-17 15:38 ` Nick Dokos
2017-09-17 22:26   ` Peter Davis
2017-09-18 13:43     ` Peter Davis

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