GithubHelp home page GithubHelp logo

feiyongzhai / eaf-pdf-viewer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from emacs-eaf/eaf-pdf-viewer

0.0 0.0 0.0 37.69 MB

Fastest PDF Viewer in Emacs

License: GNU General Public License v3.0

Python 78.54% Emacs Lisp 21.46%

eaf-pdf-viewer's Introduction

EAF PDF Viewer

PDF Viewer application for the Emacs Application Framework.

Load application

Install EAF first, then add below code in your emacs config:

(add-to-list 'load-path "~/.emacs.d/site-lisp/emacs-application-framework/")
(require 'eaf)
(require 'eaf-pdf-viewer)

LaTeX config

(add-to-list 'TeX-command-list '("XeLaTeX" "%`xelatex --synctex=1%(mode)%' %t" TeX-run-TeX nil t))
(add-to-list 'TeX-view-program-list '("eaf" eaf-pdf-synctex-forward-view))
(add-to-list 'TeX-view-program-selection '(output-pdf "eaf"))

Double click the left button to edit backward.

Dark mode

Default set background color to emacs-background-color

Override this behavior

(setq eaf-pdf-dark-mode nil)

Dependency List

Package Description
python-pymupdf PDF rendering engine
libreoffice Convert doc file to pdf, optional

The keybinding of EAF PDF Viewer.

Key Event
j scroll_up
<down> scroll_up
C-n scroll_up
k scroll_down
<up> scroll_down
C-p scroll_down
h scroll_left
<left> scroll_left
C-b scroll_left
l scroll_right
<right> scroll_right
C-f scroll_right
SPC scroll_up_page
b scroll_down_page
C-v scroll_up_page
M-v scroll_down_page
t toggle_read_mode
0 zoom_reset
= zoom_in
- zoom_out
g scroll_to_begin
G scroll_to_end
p jump_to_page
P jump_to_percent
[ save_current_pos
] jump_to_saved_pos
i toggle_inverted_mode
C-i toggle_inverted_image_mode
m toggle_mark_link
f jump_to_link
M-w copy_select
C-s search_text_forward
C-r search_text_backward
x close_buffer
C-<right> rotate_clockwise
C-<left> rotate_counterclockwise
M-h add_annot_highlight
M-u add_annot_underline
M-s add_annot_squiggly
M-d add_annot_strikeout_or_delete_annot
M-e add_annot_text_or_edit_annot
M-p toggle_presentation_mode
J select_left_tab
K select_right_tab
o eaf-pdf-outline
T toggle_trim_white_margin

eaf-pdf-viewer's People

Contributors

alastairdb avatar anuragvickey avatar c1-g avatar chaoxiaosu avatar chenyanming avatar chongqing520 avatar gkowzan avatar heartnheart avatar hollowman6 avatar jdogzz avatar lhpfvs avatar loyalpartner avatar luhuaei avatar lujun9972 avatar lyjdwh avatar mackong avatar manateelazycat avatar maskray avatar matthewzmd avatar mgcyung avatar qquanwei avatar taquangtrung avatar tobiasbora avatar tumashu avatar wcq062821 avatar wi24rd avatar xhcoding avatar zbelial avatar zsxh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.