Opened 10 years ago

Closed 10 years ago

#41323 closed request (duplicate)

port request: 'zathura' [lean, fast, keyboard-driven PDF viewer]

Reported by: KurtPfeifle (Kurt Pfeifle) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: KurtPfeifle (Kurt Pfeifle)
Port: zathura

Description

'zathura' is a PDF (and other document formats) viewer. Its main feature is that it sports a very minimal user interface when it comes to classical GUI and mouse-clicked elements, and instead uses keyboard shortcut keys which are modelled along the Vim commads:

  • type 'G' to go to last page, 'gg' to go to first page, '5g' to go to page 5;
  • press 'f' to highlight all hyperlinks currently shown on screen;
  • h, k, j, l: Scroll to the left, down, up or right direction;
  • J, K: go to next and previous page;
  • r: rotate page displayed by 90 degrees;
  • d: toggle 2-up page view;
  • type ":info" to display PDF meta data;
  • etc.pp. ...

Just like in Vim (or MacVim) you can change builtin options in the file $HOME/.config/zathura/zathurarc using "set <option> <value>", or on-the-fly using the ":set <option>=<value>" command in the status line.

Just like in Vim (or MacVim) you can map your own key bindings: use "map [mode] <binding> <shortcut function> <argument>" in zathurarc (or ':map ....' command on-the-fly) to map or remap key bindings as shortcuts for builtin functions. This allows a high level of customization for all commandline addicts.

It can auto-update the current view: compile a LaTeX document you're currently working on to PDF, and zathura updates the current view of this file inside its window in an instant without any other action.

zathura can also export images and file attachments embedded in the PDF (Preview.app CANNOT do this, at least not to my knowledge!).

Supported document formats are implemented through a plugin system. For PDF viewing there are even two plugins: one based on MuPDF, the other based on Poppler. Other plugins currently available are are for PS (PostScript -- libspectre+libgs dependencies), DjVu (djvulibre dependency) and CB (ComicBook -- libarchive dependency) formats.

Website here: http://pwmt.org/projects/zathura/

Source code here: git://pwmt.org/zathura.git

Change History (2)

comment:1 Changed 10 years ago by KurtPfeifle (Kurt Pfeifle)

Cc: kurt.pfeifle@… added

Cc Me!

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

A port for zathura was submitted in #43568.

Note: See TracTickets for help on using tickets.