all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* open in browser after html export?
@ 2014-04-10 16:44 Matt Price
  2014-04-10 17:13 ` J. David Boyd
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Price @ 2014-04-10 16:44 UTC (permalink / raw)
  To: Org Mode

As I understand the manual, when I export to HTMl with C-c C-e h o,
the .html file thus created should open up in my default browser,
right?  Instead, it get is being opened in a new window inside Emacs,
and does not appear in a browser.  i imagine I have some variable set
to a bad value somewhere -- but what variable should it be? I have
checked that browse-url and browse-url-firefox both work well on
in-text url's.  Anyone know how org decides how to open an html file?

thanks,

Matt

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

* Re: open in browser after html export?
  2014-04-10 16:44 open in browser after html export? Matt Price
@ 2014-04-10 17:13 ` J. David Boyd
  0 siblings, 0 replies; 2+ messages in thread
From: J. David Boyd @ 2014-04-10 17:13 UTC (permalink / raw)
  To: emacs-orgmode

Matt Price <moptop99@gmail.com> writes:

> As I understand the manual, when I export to HTMl with C-c C-e h o,
> the .html file thus created should open up in my default browser,
> right?  Instead, it get is being opened in a new window inside Emacs,
> and does not appear in a browser.  i imagine I have some variable set
> to a bad value somewhere -- but what variable should it be? I have
> checked that browse-url and browse-url-firefox both work well on
> in-text url's.  Anyone know how org decides how to open an html file?
>

You need to start with the org variable org-file-apps.  There you can define
the programs that are used to open various files.  In your case, you probably
just need to modify the x?html? entry to point to your browser.

This is not on windows, correct?

just do an Meta-x customize-apropos RET org-file-apps RET

modify it accordingly, and you should be in business.

I'm running org-mode on emacs under Cygwin under Windows 7, and I can open
html files in Chrome, and pdf files in Adobe Reader with no problems, once I
set this variable correctly.

Dave

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

end of thread, other threads:[~2014-04-10 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-10 16:44 open in browser after html export? Matt Price
2014-04-10 17:13 ` J. David Boyd

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.