Vladimir Lomov writes:
> Something like that?
The only question I had was whether there should be a \\' at the end of
the xhtml line. I'm not sure how much real difference it makes, but I
wonder if its absence is going to trip up somebody: "Why do the other
two have a \\' but this one doesn't?"
Hello,
** Nick Dokos [2013-06-27 09:33:41 -0400]:
> Vladimir Lomov writes:
>> ** Nick Dokos [2013-06-27 01:52:49 -0400]:
>>> Vladimir Lomov writes:
#+BEGIN_SRC emacs-lisp :tangle org-apps-c.el
(add-to-list 'load-path "/usr/share/emacs/site-lisp/org")
(require 'org)
(
Vladimir Lomov writes:
> ** Nick Dokos [2013-06-27 01:52:49 -0400]:
>
>> Vladimir Lomov writes:
>
>> > #+BEGIN_SRC emacs-lisp :tangle org-apps-c.el
>> > (add-to-list 'load-path "/usr/share/emacs/site-lisp/org")
>> > (require 'org)
>> > (setq org-file-apps
>> >'( ("\\.pdf::\\(\\d+\\)\\'
** Nick Dokos [2013-06-27 01:52:49 -0400]:
> Vladimir Lomov writes:
> > #+BEGIN_SRC emacs-lisp :tangle org-apps-c.el
> > (add-to-list 'load-path "/usr/share/emacs/site-lisp/org")
> > (require 'org)
> > (setq org-file-apps
> >'( ("\\.pdf::\\(\\d+\\)\\'" . "run-me --page %1 %s")
> >
Vladimir Lomov writes:
> #+BEGIN_SRC emacs-lisp :tangle org-apps-c.el
> (add-to-list 'load-path "/usr/share/emacs/site-lisp/org")
> (require 'org)
> (setq org-file-apps
>'( ("\\.pdf::\\(\\d+\\)\\'" . "run-me --page %1 %s")
> ("\\.pdf\\'" . "run-me %s")
> )
> )
> #+END_SRC
>
Hello,
I wonder how to use 'org-file-apps'.
As I understand, when I run ~C-c C-o~ on a link of form
[[file:file.pdf][a PDF file]] Org mode uses this variable to decide how
to 'open' this type of file. Instead of docview mode of Emacs I want to
use Okular (it allows to select text from PDF file), s