Skip to content
Mingde (Matthew) Zeng edited this page Jan 20, 2021 · 3 revisions

English | 简体中文

Enable with

(require 'eaf-org)

Compatibility with org-store-link

Support org-store-link and org-link-open mechanism.

Currently support following applications:

  • web browser support
  • pdf-viewer support jump to page number
  • js-video-player support jump to video timestamp
  • in theory supports all EAF applications without extra argument which has eaf--buffer-url

Export Org file to LaTeX and use EAF to view the PDF

Use M-x eaf-org-export-to-pdf-and-open.

Open PDF file links in org-mode using EAF PDF Viewer

(defun eaf-org-open-file (file &optional link)
  "An wrapper function on `eaf-open'."
  (eaf-open file))

;; use `emacs-application-framework' to open PDF file: link
(add-to-list 'org-file-apps '("\\.pdf\\'" . eaf-org-open-file))