emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: jdavidboyd@adboyd.com (J. David Boyd)
To: emacs-orgmode@gnu.org
Subject: Re: open in browser after html export?
Date: Thu, 10 Apr 2014 13:13:31 -0400	[thread overview]
Message-ID: <e0tcd2gp5cqs.fsf@www1.g9.pair.com> (raw)
In-Reply-To: CAN_Dec-rb0Befj1-y0uud1QzRww0bTJh0-R25buypezNaUaedw@mail.gmail.com

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

      reply	other threads:[~2014-04-10 17:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-10 16:44 open in browser after html export? Matt Price
2014-04-10 17:13 ` J. David Boyd [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e0tcd2gp5cqs.fsf@www1.g9.pair.com \
    --to=jdavidboyd@adboyd.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).