Re: [Orgmode] Link to a local html file
Bastien writes: > Nicolas Girard writes: > >> how to create a link to a local html file, say, /path/to/file.html, so >> that clicking on it opens the page in a browser ? > > 1. C-u C-c C-l to insert a link to a local file > 2. C-u C-u to open the link in an external browser Oops: 2. C-u C-u C-c C-o to open the link in an external browser ... which is only required for .php files, for example. .html links should work with C-c C-o, as other replies said. -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Link to a local html file
Nicolas Girard writes: > how to create a link to a local html file, say, /path/to/file.html, so > that clicking on it opens the page in a browser ? 1. C-u C-c C-l to insert a link to a local file 2. C-u C-u to open the link in an external browser Also check M-x customize-variable RET org-file-apps RET HTH, -- Bastien ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Link to a local html file
On Mon, Jun 29, 2009 at 7:13 PM, Nicolas Girard wrote: > Hi, > > how to create a link to a local html file, say, /path/to/file.html, so > that clicking on it opens the page in a browser ? One way to define a link to a file. --8<---cut here---start->8--- [[~/agenda.html][Agenda]] --8<---cut here---end--->8--- Following settings from .emacs open the link in a new Firefox tab. --8<---cut here---start->8--- '(browse-url-browser-function (quote browse-url-firefox)) '(browse-url-firefox-new-window-is-tab t) --8<---cut here---end--->8--- C-c C-o opens the link. HTH -- Manish ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Link to a local html file
Nicolas Girard writes: > Hi, > > how to create a link to a local html file, say, /path/to/file.html, so > that clicking on it opens the page in a browser ? If you serve that file through a webserver (here apache2), you could do something like this: [[http://localhost/~user/path/to/file.html][file.html]] I serve several directories in my home directory to either localhost only, or to the intranet here. You simply can add entries to your /etc/apache2/httpd.conf (on GNU/Linux) like this: Alias /devel "/home/sebastian/develop/htdocs" Options Indexes MultiViews Order allow,deny Allow from 192.168.178.0/255.255.255.0 Allow from 127.0.0.1 ...and adjust the network as needed. Sebastian ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Link to a local html file
Hi, how to create a link to a local html file, say, /path/to/file.html, so that clicking on it opens the page in a browser ? Thanks in advance, Nicolas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode