diff options
author | Cem Keylan <cem@ckyln.com> | 2021-05-17 10:15:26 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-05-17 10:15:26 +0300 |
commit | cfc79937b87c56e09fe4ec3ba77579ab6a406395 (patch) | |
tree | 93274d2cb643a5ebde2ca9c3ea60600feded2424 /community/zathura | |
parent | 6699b5376cb7e97b74c00b8c0f6b9196e26f52c5 (diff) | |
download | repository-cfc79937b87c56e09fe4ec3ba77579ab6a406395.tar.gz |
zathura: add new package at 0.4.7
Diffstat (limited to 'community/zathura')
-rwxr-xr-x | community/zathura/build | 19 | ||||
-rw-r--r-- | community/zathura/checksums | 4 | ||||
-rw-r--r-- | community/zathura/depends | 3 | ||||
-rw-r--r-- | community/zathura/files/zathura.1 | 419 | ||||
-rw-r--r-- | community/zathura/files/zathurarc.5 | 1420 | ||||
-rw-r--r-- | community/zathura/patches/remove_gettext.patch | 39 | ||||
-rw-r--r-- | community/zathura/sources | 4 | ||||
-rw-r--r-- | community/zathura/version | 1 |
8 files changed, 1909 insertions, 0 deletions
diff --git a/community/zathura/build b/community/zathura/build new file mode 100755 index 00000000..86589ef0 --- /dev/null +++ b/community/zathura/build @@ -0,0 +1,19 @@ +#!/bin/sh -e + +patch -p1 < remove_gettext.patch + +# Fix build errors when appstream-glib or +# desktop-file-utils are installed. +sed -i 's/appstream-util//' data/meson.build +sed -i 's/desktop-file-validate//' data/meson.build + +meson build \ + --prefix=/usr \ + --sysconfdir=/etc \ + --buildtype=release \ + -Dsynctex=disabled + +DESTDIR="$1" ninja -C build install + +install -Dm 0644 zathura.1 "$1/usr/share/man/man1/zathura.1" +install -Dm 0644 zathurarc.5 "$1/usr/share/man/man1/zathurarc.5" diff --git a/community/zathura/checksums b/community/zathura/checksums new file mode 100644 index 00000000..1d287c10 --- /dev/null +++ b/community/zathura/checksums @@ -0,0 +1,4 @@ +dbea0d5c42bfb813640af2587edbf04a93e6e87232f429e09845e5a9d0049ffb +bbbf1667764429c6dda349c4ed36f1fd024f376eda6da37b15ff46d0aa2700fd +4092bcc7409699642fb8c2c2bec41682aae1d3f848658ea8f67493701560e901 +52b37e0a49b9a9c8792d9cc430d3a50e25de5c37ed620af3639edea52d6ef98f diff --git a/community/zathura/depends b/community/zathura/depends new file mode 100644 index 00000000..78975a29 --- /dev/null +++ b/community/zathura/depends @@ -0,0 +1,3 @@ +file +girara +pkgconf make diff --git a/community/zathura/files/zathura.1 b/community/zathura/files/zathura.1 new file mode 100644 index 00000000..1f0cfb30 --- /dev/null +++ b/community/zathura/files/zathura.1 @@ -0,0 +1,419 @@ +.\" Man page generated from reStructuredText. +. +.TH "ZATHURA" "1" "2019-09-08" "0.4.4" "zathura" +.SH NAME +zathura \- a document viewer +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.SH SYNOPSIS +.sp +zathura [\-e XID] [\-c PATH] [\-d PATH] [\-p PATH] [\-w PASSWORD] [\-P NUMBER] +[\-\-fork] [\-l LEVEL] [\-s] [\-x CMD] [\-\-synctex\-forward INPUT] [\-\-synctex\-pid PID] +<files> +.SH DESCRIPTION +.sp +\fBzathura\fP displays the given files. If a single hyphen\-minus (\-) is given as +file name, the content will be read from the standard input. If no files are +given, an empty \fBzathura\fP instance launches. +.SH OPTIONS +.INDENT 0.0 +.TP +.BI \-e\fP,\fB \-\-reparent\fB= xid +Reparents to window specified by xid +.TP +.BI \-c\fP,\fB \-\-config\-dir\fB= path +Path to the config directory +.TP +.BI \-d\fP,\fB \-\-data\-dir\fB= path +Path to the data directory +.TP +.BI \-p\fP,\fB \-\-plugins\-dir\fB= path +Path to the directory containing plugins +.TP +.BI \-w\fP,\fB \-\-password\fB= password +The documents password. If multiple documents are opened at once, the +password will be used for the first one and zathura will ask for the +passwords of the remaining files if needed. +.TP +.BI \-P\fP,\fB \-\-page\fB= number +Opens the document at the given page number. Pages are numbered starting +with 1, and negative numbers indicate page numbers starting from the end +of the document, \-1 being the last page. +.TP +.BI \-l\fP,\fB \-\-log\-level\fB= level +Set log level (debug, info, warning, error) +.TP +.BI \-x\fP,\fB \-\-synctex\-editor\-command\fB= command +Set the synctex editor command. Overrides the synctex\-editor\-command setting. +.TP +.BI \-\-synctex\-forward\fB= input +Jump to the given position. The switch expects the same format as specified +for synctex\(aqs view \-i. If no instance is running for the specified document, +a new instance will be launched (only if \-\-synctex\-pid is not specified). +.TP +.BI \-\-synctex\-pid\fB= pid +Instead of looking for an instance having the correct file opened, try only +the instance with the given PID. Note that if the given PID does not have the +correct file open or does not exist, no new instance will be spanned. +.TP +.BI \-\-mode\fB= mode +Start in a non\-default mode +.TP +.B \-\-fork +Fork into background +.TP +.B \-\-version +Display version string and exit +.TP +.B \-\-help +Display help and exit +.UNINDENT +.SH ENVIRONMENT VARIABLES +.INDENT 0.0 +.TP +.B ZATHURA_PLUGINS_PATH +Path to the directory containing plugins. This directory is only considered if +no other directory was specified using \-\-plugins\-dir. +.UNINDENT +.SH MOUSE AND KEY BINDINGS +.sp +General +.INDENT 0.0 +.INDENT 3.5 +.INDENT 0.0 +.TP +.B J, PgDn +Go to the next page +.TP +.B K, PgUp +Go to the previous page +.TP +.B h, k, j, l +Scroll to the left, down, up or right direction +.TP +.B Left, Down, Up, Right +Scroll to the left, down, up or right direction +.TP +.B ^t, ^d, ^u, ^y +Scroll a half page left, down, up or right +.TP +.B t, ^f, ^b, space, <S\-space>, y +Scroll a full page left, down, up or right +.TP +.B gg, G, nG +Goto to the first, the last or to the nth page +.TP +.B H, L +Goto top or bottom of the current page +.TP +.B ^o, ^i +Move backward and forward through the jump list +.TP +.B ^j, ^k +Bisect forward and backward between the last two jump points +.TP +.B ^c, Escape +Abort +.TP +.B a, s +Adjust window in best\-fit or width mode +.TP +.B /, ? +Search for text +.TP +.B n, N +Search for the next or previous result +.TP +.B o, O +Open document +.TP +.B f +Follow links +.TP +.B F +Display link target +.TP +.B : +Enter command +.TP +.B r +Rotate by 90 degrees +.TP +.B ^r +Recolor (grayscale and invert colors) +.TP +.B R +Reload document +.TP +.B Tab +Show index and switch to \fBIndex mode\fP +.TP +.B d +Toggle dual page view +.TP +.B F5 +Switch to presentation mode +.TP +.B F11 +Switch to fullscreen mode +.TP +.B ^m +Toggle inputbar +.TP +.B ^n +Toggle statusbar +.TP +.B +, \-, = +Zoom in, out or to the original size +.TP +.B zI, zO, z0 +Zoom in, out or to the original size +.TP +.B n= +Zoom to size n +.TP +.B mX +Set a quickmark to a letter or number X +.TP +.B \(aqX +Goto quickmark saved at letter or number X +.TP +.B q +Quit +.UNINDENT +.UNINDENT +.UNINDENT +.sp +Fullscreen mode +.INDENT 0.0 +.INDENT 3.5 +.INDENT 0.0 +.TP +.B J, K +Go to the next or previous page +.TP +.B space, <S\-space>, <BackSpace> +Scroll a full page down or up +.TP +.B gg, G, nG +Goto to the first, the last or to the nth page +.TP +.B ^c, Escape +Abort +.TP +.B F11 +Switch to normal mode +.TP +.B +, \-, = +Zoom in, out or to the original size +.TP +.B zI, zO, z0 +Zoom in, out or to the original size +.TP +.B n= +Zoom to size n +.TP +.B q +Quit +.UNINDENT +.UNINDENT +.UNINDENT +.sp +Presentation mode +.INDENT 0.0 +.INDENT 3.5 +.INDENT 0.0 +.TP +.B space, <S\-space>, <BackSpace> +Scroll a full page down or up +.TP +.B ^c, Escape +Abort +.TP +.B F5 +Switch to normal mode +.TP +.B q +Quit +.UNINDENT +.UNINDENT +.UNINDENT +.sp +Index mode +.INDENT 0.0 +.INDENT 3.5 +.INDENT 0.0 +.TP +.B k, j +Move to upper or lower entry +.TP +.B l +Expand entry +.TP +.B L +Expand all entries +.TP +.B h +Collapse entry +.TP +.B H +Collapse all entries +.TP +.B space, Return +Select and open entry +.UNINDENT +.UNINDENT +.UNINDENT +.sp +Mouse bindings +.INDENT 0.0 +.INDENT 3.5 +.INDENT 0.0 +.TP +.B Scroll +Scroll up or down +.TP +.B ^Scroll +Zoom in or out +.TP +.B Hold Button2 +Pan the document +.TP +.B Button1 +Follow link +.UNINDENT +.UNINDENT +.UNINDENT +.SH COMMANDS +.INDENT 0.0 +.TP +.B bmark +Save a bookmark +.TP +.B bdelete +Delete a bookmark +.TP +.B blist +List bookmarks +.TP +.B close +Close document +.TP +.B exec +Execute an external command +.TP +.B info +Show document information +.TP +.B open +Open a document +.TP +.B offset +Set page offset +.TP +.B print +Print document +.TP +.B write(!) +Save document (and force overwriting) +.TP +.B export +Export attachments +.TP +.B dump +Write values, descriptions, etc. of all current settings to a file. +.UNINDENT +.SH CONFIGURATION +.sp +The default appearance and behaviour of zathura can be overwritten by modifying +the \fIzathurarc\fP file (default path: ~/.config/zathura/zathurarc). For a detailed +description please consult zathurarc(5). +.SH SYNCTEX SUPPORT +.sp +Both synctex forward and backwards synchronization are supported by zathura, To +enable synctex forward synchronization, please look at the \fI\-\-synctex\-forward\fP +and \fI\-\-synctex\-editor\fP options. zathura will also emit a signal via the D\-Bus +interface. To support synctex backwards synchronization, zathura provides a +D\-Bus interface that can be called by the editor. For convince zathura also +knows how to parse the output of the \fIsynctex view\fP command. It is enough to +pass the arguments to \fIsynctex view\fP\(aqs \fI\-i\fP option to zathura via +\fI\-\-synctex\-forward\fP and zathura will pass the information to the correct +instance. +.sp +For gvim forward and backwards synchronization support can be set up as follows: +First add the following to the vim configuration: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +function! Synctex() + execute "silent !zathura \-\-synctex\-forward " . line(\(aq.\(aq) . ":" . col(\(aq.\(aq) . ":" . bufname(\(aq%\(aq) . " " . g:syncpdf + redraw! +endfunction +map <C\-enter> :call Synctex()<cr> +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Then launch \fIzathura\fP with +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +zathura \-x "gvim \-\-servername vim \-c \e"let g:syncpdf=\(aq$1\(aq\e" \-\-remote +%{line} %{input}" $file +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Some editors support zathura as viewer out of the box: +.INDENT 0.0 +.IP \(bu 2 +LaTeXTools for SublimeText +(\fI\%https://latextools.readthedocs.io/en/latest/available\-viewers/#zathura\fP) +.IP \(bu 2 +LaTeX for Atom (\fI\%https://atom.io/packages/latex\fP) +.UNINDENT +.SH KNOWN BUGS +.sp +If GDK_NATIVE_WINDOWS is enabled you will experience problems with large +documents. In this case zathura might crash or pages cannot be rendered +properly. Disabling GDK_NATIVE_WINDOWS fixes this issue. The same issue may +appear, if overlay\-scrollbar is enabled in GTK_MODULES. +.SH SEE ALSO +.sp +\fIzathurarc(5)\fP +.SH AUTHOR +pwmt.org +.SH COPYRIGHT +2009-2018, pwmt.org +.\" Generated by docutils manpage writer. +. diff --git a/community/zathura/files/zathurarc.5 b/community/zathura/files/zathurarc.5 new file mode 100644 index 00000000..42bb2cf5 --- /dev/null +++ b/community/zathura/files/zathurarc.5 @@ -0,0 +1,1420 @@ +.\" Man page generated from reStructuredText. +. +.TH "ZATHURARC" "5" "2019-09-08" "0.4.4" "zathura" +.SH NAME +zathurarc \- zathura configuration file +. +.nr rst2man-indent-level 0 +. +.de1 rstReportMargin +\\$1 \\n[an-margin] +level \\n[rst2man-indent-level] +level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] +- +\\n[rst2man-indent0] +\\n[rst2man-indent1] +\\n[rst2man-indent2] +.. +.de1 INDENT +.\" .rstReportMargin pre: +. RS \\$1 +. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] +. nr rst2man-indent-level +1 +.\" .rstReportMargin post: +.. +.de UNINDENT +. RE +.\" indent \\n[an-margin] +.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] +.nr rst2man-indent-level -1 +.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] +.in \\n[rst2man-indent\\n[rst2man-indent-level]]u +.. +.SH SYNOPSIS +.sp +/etc/zathurarc, $XDG_CONFIG_HOME/zathura/zathurarc +.SH DESCRIPTION +.sp +The \fIzathurarc\fP file is a simple plain text file that can be populated with +various commands to change the behaviour and the look of zathura which we are +going to describe in the following subsections. Each line (besides empty lines +and comments (which start with a prepended #) is evaluated on its own, so it +is not possible to write multiple commands in one single line. +.SH COMMANDS +.SS set \- Changing options +.sp +In addition to the built\-in \fB:set\fP command zathura offers more options to be +changed and makes those changes permanent. To overwrite an option you just have +to add a line structured like the following +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +set <option> <new value> +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +The \fBoption\fP field has to be replaced with the name of the option that should be +changed and the \fBnew value\fP field has to be replaced with the new value the +option should get. The type of the value can be one of the following: +.INDENT 0.0 +.IP \(bu 2 +INT \- An integer number +.IP \(bu 2 +FLOAT \- A floating point number +.IP \(bu 2 +STRING \- A character string +.IP \(bu 2 +BOOL \- A boolean value ("true" for true, "false" for false) +.UNINDENT +.sp +In addition we advice you to check the options to get a more detailed view of +the options that can be changed and which values they should be set to. +.sp +The following example should give some deeper insight of how the \fBset\fP command +can be used +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +set option1 5 +set option2 2.0 +set option3 hello +set option4 hello\e world +set option5 "hello world" +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +If you want to use \fBcolor codes\fP for some options, make sure to quote them +accordingly or to escape the hash symbol. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +set default\-fg "#CCBBCC" +set default\-fg \e#CCBBCC +.ft P +.fi +.UNINDENT +.UNINDENT +.SS include \- Including another config file +.sp +This commands allows one to include other configuration files. If a relative +path is given, the path will be resolved relative to the configuration file that +is currently processed. +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +include another\-config +.ft P +.fi +.UNINDENT +.UNINDENT +.SS map \- Mapping a shortcut +.sp +It is possible to map or remap new key bindings to shortcut functions which +allows a high level of customization. The \fB:map\fP command can also be used in +the \fIzathurarc\fP file to make those changes permanent: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +map [mode] <binding> <shortcut function> <argument> +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Mode +.sp +The \fBmap\fP command expects several arguments where only the \fBbinding\fP as well as +the \fBshortcut\-function\fP argument is required. Since zathura uses several modes +it is possible to map bindings only for a specific mode by passing the \fBmode\fP +argument which can take one of the following values: +.INDENT 0.0 +.IP \(bu 2 +normal (default) +.IP \(bu 2 +fullscreen +.IP \(bu 2 +presentation +.IP \(bu 2 +index +.UNINDENT +.sp +The brackets around the value are mandatory. +.SS Single key binding +.sp +The (possible) second argument defines the used key binding that should be +mapped to the shortcut function and is structured like the following. On the one +hand it is possible to just assign single letters, numbers or signs to it: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +map a shortcut_function optional_argument +map b shortcut_function optional_argument +map c shortcut_function optional_argument +map 1 shortcut_function optional_argument +map 2 shortcut_function optional_argument +map 3 shortcut_function optional_argument +map ! shortcut_function optional_argument +map ? shortcut_function optional_argument +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Using modifiers +.sp +It is also possible to use modifiers like the Control or Alt button on the +keyboard. It is possible to use the following modifiers: +.INDENT 0.0 +.IP \(bu 2 +A \- Alt +.IP \(bu 2 +C \- Control +.IP \(bu 2 +S \- Shift +.UNINDENT +.sp +If any of the modifiers should be used for a binding, it is required to define +the \fBbinding\fP with the following structure: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +map <A\-a> shortcut_function +map <C\-a> shortcut_function +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Special keys +.sp +zathura allows it also to assign keys like the space bar or the tab button which +also have to be written in between angle brackets. The following special keys +are currently available: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +Identifier Description + +BackSpace Back space +CapsLock Caps lock +Esc Escape +Down Arrow down +Up Arrow up +Left Arrow left +Right Arrow right +F1 F1 +F2 F2 +F3 F3 +F4 F4 +F5 F5 +F6 F6 +F7 F7 +F8 F8 +F9 F9 +F10 F10 +F11 F11 +F12 F12 +PageDown Page Down +PageUp Page Up +Return Return +Space Space +Super Windows key +Tab Tab +Print Print key +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Of course it is possible to combine those special keys with a modifier. The +usage of those keys should be explained by the following examples: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +map <Space> shortcut_function +map <C\-Space> shortcut_function +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Mouse buttons +.sp +It is also possible to map mouse buttons to shortcuts by using the following +special keys: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +Identifier Description + +Button1 Mouse button 1 +Button2 Mouse button 2 +Button3 Mouse button 3 +Button4 Mouse button 4 +Button5 Mouse button 5 +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +They can also be combined with modifiers: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +map <Button1> shortcut_function +map <C\-Button1> shortcut_function +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Buffer commands +.sp +If a mapping does not match one of the previous definition but is still a valid +mapping it will be mapped as a buffer command: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +map abc quit +map test quit +.ft P +.fi +.UNINDENT +.UNINDENT +.SS Shortcut functions +.sp +The following shortcut functions can be mapped: +.INDENT 0.0 +.IP \(bu 2 +\fBabort\fP +.sp +Switch back to normal mode. +.IP \(bu 2 +\fBadjust_window\fP +.sp +Adjust page width. Possible arguments are \fBbest\-fit\fP and \fBwidth\fP\&. +.IP \(bu 2 +\fBchange_mode\fP +.sp +Change current mode. Pass the desired mode as argument. +.IP \(bu 2 +\fBdisplay_link\fP: +.sp +Display link target. +.IP \(bu 2 +\fBexec\fP: +.sp +Execute an external command. +.IP \(bu 2 +\fBfocus_inputbar\fP +.sp +Focus inputbar. +.IP \(bu 2 +\fBfollow\fP +.sp +Follow a link. +.IP \(bu 2 +\fBgoto\fP +.sp +Go to a certain page. +.IP \(bu 2 +\fBjumplist\fP +.sp +Move forwards/backwards in the jumplist. Pass \fBforward\fP as argument to +move to the next entry and \fBbackward\fP to move to the previous one. +.IP \(bu 2 +\fBnavigate\fP +.sp +Navigate to the next/previous page. +.IP \(bu 2 +\fBnavigate_index\fP +.sp +Navigate through the index. +.IP \(bu 2 +\fBprint\fP +.sp +Show the print dialog. +.IP \(bu 2 +\fBquit\fP +.sp +Quit zathura. +.IP \(bu 2 +\fBrecolor\fP +.sp +Recolor pages. +.IP \(bu 2 +\fBreload\fP +.sp +Reload the document. +.IP \(bu 2 +\fBrotate\fP +.sp +Rotate the page. Pass \fBrotate\-ccw\fP as argument for counterclockwise rotation +and \fBrotate\-cw\fP for clockwise rotation. +.IP \(bu 2 +\fBscroll\fP +.sp +Scroll. +.IP \(bu 2 +\fBsearch\fP +.sp +Search next/previous item. Pass \fBforward\fP as argument to search for the next +hit and \fBbackward\fP to search for the previous hit. +.IP \(bu 2 +\fBset\fP +.sp +Set an option. +.IP \(bu 2 +\fBtoggle_fullscreen\fP +.sp +Toggle fullscreen. +.IP \(bu 2 +\fBtoggle_index\fP +.sp +Show or hide index. +.IP \(bu 2 +\fBtoggle_inputbar\fP +.sp +Show or hide inputbar. +.IP \(bu 2 +\fBtoggle_page_mode\fP +.sp +Toggle between one and multiple pages per row. +.IP \(bu 2 +\fBtoggle_statusbar\fP +.sp +Show or hide statusbar. +.IP \(bu 2 +\fBzoom\fP +.sp +Zoom in or out. +.IP \(bu 2 +\fBmark_add\fP +.sp +Set a quickmark. +.IP \(bu 2 +\fBmark_evaluate\fP +.sp +Go to a quickmark. +.IP \(bu 2 +\fBfeedkeys\fP +.sp +Simulate key presses. Note that all keys will be interpreted as if pressing a +key on the keyboard. To input uppercase letters, follow the same convention as +for key bindings, i.e. for \fBX\fP, use \fB<S\-X>\fP\&. +.UNINDENT +.SS Pass arguments +.sp +Some shortcut function require or have optional arguments which influence the +behaviour of them. Those can be passed as the last argument: +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +map <C\-i> zoom in +map <C\-o> zoom out +.ft P +.fi +.UNINDENT +.UNINDENT +.sp +Possible arguments are: +.INDENT 0.0 +.IP \(bu 2 +best\-fit +.IP \(bu 2 +bottom +.IP \(bu 2 +backward +.IP \(bu 2 +collapse +.IP \(bu 2 +collapse\-all +.IP \(bu 2 +default +.IP \(bu 2 +down +.IP \(bu 2 +expand +.IP \(bu 2 +expand\-all +.IP \(bu 2 +forward +.IP \(bu 2 +full\-down +.IP \(bu 2 +full\-up +.IP \(bu 2 +half\-down +.IP \(bu 2 +half\-up +.IP \(bu 2 +in +.IP \(bu 2 +left +.IP \(bu 2 +next +.IP \(bu 2 +out +.IP \(bu 2 +page\-bottom +.IP \(bu 2 +page\-top +.IP \(bu 2 +previous +.IP \(bu 2 +right +.IP \(bu 2 +rotate\-ccw +.IP \(bu 2 +rotate\-cw +.IP \(bu 2 +select +.IP \(bu 2 +specific +.IP \(bu 2 +toggle +.IP \(bu 2 +top +.IP \(bu 2 +up +.IP \(bu 2 +width +.UNINDENT +.SS unmap \- Removing a shortcut +.sp +In addition to mapping or remaping custom key bindings it is possible to remove +existing ones by using the \fB:unmap\fP command. The command is used in the +following way (the explanation of the parameters is described in the \fBmap\fP +section of this document +.INDENT 0.0 +.INDENT 3.5 +.sp +.nf +.ft C +unmap [mode] <binding> +.ft P +.fi +.UNINDENT +.UNINDENT +.SH OPTIONS +.SS girara +.sp +This section describes settings concerning the behaviour of girara and +zathura. The settings described here can be changed with \fBset\fP\&. +.SS n\-completion\-items +.sp +Defines the maximum number of displayed completion entries. +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 15 +.UNINDENT +.SS completion\-bg +.sp +Defines the background color that is used for command line completion +entries +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #232323 +.UNINDENT +.SS completion\-fg +.sp +Defines the foreground color that is used for command line completion +entries +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #DDDDDD +.UNINDENT +.SS completion\-group\-bg +.sp +Defines the background color that is used for command line completion +group elements +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #000000 +.UNINDENT +.SS completion\-group\-fg +.sp +Defines the foreground color that is used for command line completion +group elements +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #DEDEDE +.UNINDENT +.SS completion\-highlight\-bg +.sp +Defines the background color that is used for the current command line +completion element +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #9FBC00 +.UNINDENT +.SS completion\-highlight\-fg +.sp +Defines the foreground color that is used for the current command line +completion element +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #232323 +.UNINDENT +.SS default\-fg +.sp +Defines the default foreground color +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #DDDDDD +.UNINDENT +.SS default\-bg +.sp +Defines the default background color +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #000000 +.UNINDENT +.SS exec\-command +.sp +Defines a command the should be prepended to any command run with exec. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: +.UNINDENT +.SS font +.sp +Defines the font that will be used +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: monospace normal 9 +.UNINDENT +.SS guioptions +.sp +Shows or hides GUI elements. +If it contains \(aqc\(aq, the command line is displayed. +If it contains \(aqs\(aq, the statusbar is displayed. +If it contains \(aqh\(aq, the horizontal scrollbar is displayed. +If it contains \(aqv\(aq, the vertical scrollbar is displayed. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: s +.UNINDENT +.SS inputbar\-bg +.sp +Defines the background color for the inputbar +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #131313 +.UNINDENT +.SS inputbar\-fg +.sp +Defines the foreground color for the inputbar +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #9FBC00 +.UNINDENT +.SS notification\-bg +.sp +Defines the background color for a notification +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #FFFFFF +.UNINDENT +.SS notification\-fg +.sp +Defines the foreground color for a notification +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #000000 +.UNINDENT +.SS notification\-error\-bg +.sp +Defines the background color for an error notification +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #FFFFFF +.UNINDENT +.SS notification\-error\-fg +.sp +Defines the foreground color for an error notification +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #FF1212 +.UNINDENT +.SS notification\-warning\-bg +.sp +Defines the background color for a warning notification +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #FFFFFF +.UNINDENT +.SS notification\-warning\-fg +.sp +Defines the foreground color for a warning notification +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #FFF712 +.UNINDENT +.SS tabbar\-fg +.sp +Defines the foreground color for a tab +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #FFFFFF +.UNINDENT +.SS tabbar\-bg +.sp +Defines the background color for a tab +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #000000 +.UNINDENT +.SS tabbar\-focus\-fg +.sp +Defines the foreground color for the focused tab +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #9FBC00 +.UNINDENT +.SS tabbar\-focus\-bg +.sp +Defines the background color for the focused tab +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #000000 +.UNINDENT +.SS show\-scrollbars +.sp +Defines if both the horizontal and vertical scrollbars should be shown or not. +Deprecated, use \(aqguioptions\(aq instead. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS show\-h\-scrollbar +.sp +Defines whether to show/hide the horizontal scrollbar. Deprecated, use +\(aqguioptions\(aq instead. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS show\-v\-scrollbar +.sp +Defines whether to show/hide the vertical scrollbar. Deprecated, use +\(aqguioptions\(aq instead. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS statusbar\-bg +.sp +Defines the background color of the statusbar +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #000000 +.UNINDENT +.SS statusbar\-fg +.sp +Defines the foreground color of the statusbar +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #FFFFFF +.UNINDENT +.SS statusbar\-h\-padding +.sp +Defines the horizontal padding of the statusbar and notificationbar +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 8 +.UNINDENT +.SS statusbar\-v\-padding +.sp +Defines the vertical padding of the statusbar and notificationbar +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 2 +.UNINDENT +.SS window\-icon +.sp +Defines the path for a icon to be used as window icon. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: +.UNINDENT +.SS window\-height +.sp +Defines the window height on startup +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 600 +.UNINDENT +.SS window\-width +.sp +Defines the window width on startup +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 800 +.UNINDENT +.SS zathura +.sp +This section describes settings concerning the behaviour of zathura. +.SS abort\-clear\-search +.sp +Defines if the search results should be cleared on abort. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS adjust\-open +.sp +Defines which auto adjustment mode should be used if a document is loaded. +Possible options are "best\-fit" and "width". +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: best\-fit +.UNINDENT +.SS advance\-pages\-per\-row +.sp +Defines if the number of pages per row should be honored when advancing a page. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS continuous\-hist\-save +.sp +Tells zathura whether to save document history at each page change or only when +closing a document. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS database +.sp +Defines the database backend to use for bookmarks and input history. Possible +values are "plain", "sqlite" (if built with sqlite support) and "null". If +"null" is used, bookmarks and input history will not be stored. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: plain +.UNINDENT +.SS dbus\-service +.sp +En/Disables the D\-Bus service. If the services is disabled, SyncTeX forward +synchronization is not available. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS filemonitor +.sp +Defines the file monitor backend used to check for changes in files. Possible +values are "glib", "signal" (if signal handling is supported), and "noop". The +"noop" file monitor does not trigger reloads. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: glib +.UNINDENT +.SS incremental\-search +.sp +En/Disables incremental search (search while typing). +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS highlight\-color +.sp +Defines the color that is used for highlighting parts of the document (e.g.: +show search results) +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #9FBC00 +.UNINDENT +.SS highlight\-active\-color +.sp +Defines the color that is used to show the current selected highlighted element +(e.g: current search result) +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #00BC00 +.UNINDENT +.SS highlight\-transparency +.sp +Defines the opacity of a highlighted element +.INDENT 0.0 +.IP \(bu 2 +Value type: Float +.IP \(bu 2 +Default value: 0.5 +.UNINDENT +.SS page\-padding +.sp +The page padding defines the gap in pixels between each rendered page. +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 1 +.UNINDENT +.SS page\-cache\-size +.sp +Defines the maximum number of pages that could be kept in the page cache. When +the cache is full and a new page that isn\(aqt cached becomes visible, the least +recently viewed page in the cache will be evicted to make room for the new one. +Large values for this variable are NOT recommended, because this will lead to +consuming a significant portion of the system memory. +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 15 +.UNINDENT +.SS page\-thumbnail\-size +.sp +Defines the maximum size in pixels of the thumbnail that could be kept in the +thumbnail cache per page. The thumbnail is scaled for a quick preview during +zooming before the page is rendered. When the page is rendered, the result is +saved as the thumbnail only if the size is no more than this value. A larger +value increases quality but introduces longer delay in zooming and uses more +system memory. +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 4194304 (4M) +.UNINDENT +.SS pages\-per\-row +.sp +Defines the number of pages that are rendered next to each other in a row. +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 1 +.UNINDENT +.SS first\-page\-column +.sp +Defines the column in which the first page will be displayed. +This setting is stored separately for every value of pages\-per\-row according to +the following pattern <1 page per row>:[<2 pages per row>[: ...]]. The last +value in the list will be used for all other number of pages per row if not set +explicitly. +.sp +Per default, the first column is set to 2 for double\-page layout, i.e. the faule +is set to 1:2. A value of 1:1:3 would put the first page in dual\-page layour in +the first column, and for layouts with more columns the first page would be put +in the 3rd column. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: 1:2 +.UNINDENT +.SS recolor +.sp +En/Disables recoloring +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS recolor\-keephue +.sp +En/Disables keeping original hue when recoloring +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS recolor\-darkcolor +.sp +Defines the color value that is used to represent dark colors in recoloring mode +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #FFFFFF +.UNINDENT +.SS recolor\-lightcolor +.sp +Defines the color value that is used to represent light colors in recoloring mode +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #000000 +.UNINDENT +.SS recolor\-reverse\-video +.sp +Defines if original image colors should be kept while recoloring. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS render\-loading +.sp +Defines if the "Loading..." text should be displayed if a page is rendered. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS render\-loading\-bg +.sp +Defines the background color that is used for the "Loading..." text. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #FFFFFF +.UNINDENT +.SS render\-loading\-fg +.sp +Defines the foreground color that is used for the "Loading..." text. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #000000 +.UNINDENT +.SS scroll\-hstep +.sp +Defines the horizontal step size of scrolling by calling the scroll command once +.INDENT 0.0 +.IP \(bu 2 +Value type: Float +.IP \(bu 2 +Default value: \-1 +.UNINDENT +.SS scroll\-step +.sp +Defines the step size of scrolling by calling the scroll command once +.INDENT 0.0 +.IP \(bu 2 +Value type: Float +.IP \(bu 2 +Default value: 40 +.UNINDENT +.SS scroll\-full\-overlap +.sp +Defines the proportion of the current viewing area that should be +visible after scrolling a full page. +.INDENT 0.0 +.IP \(bu 2 +Value type: Float +.IP \(bu 2 +Default value: 0 +.UNINDENT +.SS scroll\-wrap +.sp +Defines if the last/first page should be wrapped +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS show\-directories +.sp +Defines if the directories should be displayed in completion. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS show\-hidden +.sp +Defines if hidden files and directories should be displayed in completion. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS show\-recent +.sp +Defines the number of recent files that should be displayed in completion. +If the value is negative, no upper bounds are applied. If the value is 0, no +recent files are shown. +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 10 +.UNINDENT +.SS scroll\-page\-aware +.sp +Defines if scrolling by half or full pages stops at page boundaries. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS link\-zoom +.sp +En/Disables the ability of changing zoom when following links. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS link\-hadjust +.sp +En/Disables aligning to the left internal link targets, for example from the +index. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS search\-hadjust +.sp +En/Disables horizontally centered search results. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS window\-title\-basename +.sp +Use basename of the file in the window title. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS window\-title\-home\-tilde +.sp +Display a short version of the file path, which replaces $HOME with ~, in the window title. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS window\-title\-page +.sp +Display the page number in the window title. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS statusbar\-basename +.sp +Use basename of the file in the statusbar. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS statusbar\-home\-tilde +.sp +Display a short version of the file path, which replaces $HOME with ~, in the statusbar. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS zoom\-center +.sp +En/Disables horizontally centered zooming. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS vertical\-center +.sp +Center the screen at the vertical midpoint of the page by default. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS zoom\-max +.sp +Defines the maximum percentage that the zoom level can be. +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 1000 +.UNINDENT +.SS zoom\-min +.sp +Defines the minimum percentage that the zoom level can be. +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 10 +.UNINDENT +.SS zoom\-step +.sp +Defines the amount of percent that is zoomed in or out on each command. +.INDENT 0.0 +.IP \(bu 2 +Value type: Integer +.IP \(bu 2 +Default value: 10 +.UNINDENT +.SS selection\-clipboard +.sp +Defines the X clipboard into which mouse\-selected data will be written. When it +is "clipboard", selected data will be written to the CLIPBOARD clipboard, and +can be pasted using the Ctrl+v key combination. When it is "primary", selected +data will be written to the PRIMARY clipboard, and can be pasted using the +middle mouse button, or the Shift\-Insert key combination. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: primary +.UNINDENT +.SS selection\-notification +.sp +Defines if a notification should be displayed after selecting text. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS synctex +.sp +En/Disables SyncTeX backward synchronization support. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: true +.UNINDENT +.SS synctex\-editor\-command +.sp +Defines the command executed for SyncTeX backward synchronization. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: +.UNINDENT +.SS index\-fg +.sp +Defines the foreground color of the index mode. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #DDDDDD +.UNINDENT +.SS index\-bg +.sp +Define the background color of the index mode. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #232323 +.UNINDENT +.SS index\-active\-fg +.sp +Defines the foreground color of the selected element in index mode. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #232323 +.UNINDENT +.SS index\-active\-bg +.sp +Define the background color of the selected element in index mode. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: #9FBC00 +.UNINDENT +.SS sandbox +.sp +Defines the sandbox mode to use for the seccomp syscall filter. Possible +values are "none", "normal" and "strict". If "none" is used, the sandbox +will be disabled. The use of "normal" will provide minimal protection and +allow normal use of zathura with support for all features. The "strict" mode +is a read only sandbox that is intended for viewing documents only. +.INDENT 0.0 +.IP \(bu 2 +Value type: String +.IP \(bu 2 +Default value: normal +.UNINDENT +.sp +Some features are disabled when using strict sandbox mode: +.INDENT 0.0 +.IP \(bu 2 +saving/writing files +.IP \(bu 2 +use of input methods like ibus +.IP \(bu 2 +printing +.IP \(bu 2 +bookmarks and history +.UNINDENT +.sp +No feature regressions are expected when using normal sandbox mode. +.sp +When running under WSL, the default is "none" since seccomp is not supported in +that environment. +.SS window\-icon\-document +.sp +Defines whether the window document should be updated based on the first page of +a dcument. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SS page\-right\-to\-left +.sp +Defines whether pages in multi\-column view should start from the right side. +.INDENT 0.0 +.IP \(bu 2 +Value type: Boolean +.IP \(bu 2 +Default value: false +.UNINDENT +.SH SEE ALSO +.sp +zathura(1) +.SH AUTHOR +pwmt.org +.SH COPYRIGHT +2009-2018, pwmt.org +.\" Generated by docutils manpage writer. +. diff --git a/community/zathura/patches/remove_gettext.patch b/community/zathura/patches/remove_gettext.patch new file mode 100644 index 00000000..d02f5896 --- /dev/null +++ b/community/zathura/patches/remove_gettext.patch @@ -0,0 +1,39 @@ +--- a/data/meson.build ++++ b/data/meson.build +@@ -16,26 +16,6 @@ + endforeach + endif + +-i18n = import('i18n') +-podir = join_paths(meson.source_root(), 'po') +- +-desktop = i18n.merge_file('desktop', +- input: 'org.pwmt.zathura.desktop.in', +- output: 'org.pwmt.zathura.desktop', +- install: true, +- install_dir: desktopdir, +- po_dir: podir, +- type: 'desktop' +-) +- +-appdata = i18n.merge_file('appdata', +- input: 'org.pwmt.zathura.appdata.xml.in', +- output: 'org.pwmt.zathura.appdata.xml', +- install: true, +- install_dir: metainfodir, +- po_dir: podir, +-) +- + desktop_file_validate = find_program('desktop-file-validate', required: get_option('tests'), native: true) + if desktop_file_validate.found() + test('validate-desktop', +--- a/meson.build ++++ b/meson.build +@@ -109,7 +109,6 @@ + ] + + subdir('data') +-subdir('po') + + # source files + sources = files( diff --git a/community/zathura/sources b/community/zathura/sources new file mode 100644 index 00000000..212f5ca5 --- /dev/null +++ b/community/zathura/sources @@ -0,0 +1,4 @@ +https://github.com/pwmt/zathura/archive/0.4.7.tar.gz +patches/remove_gettext.patch +files/zathura.1 +files/zathurarc.5 diff --git a/community/zathura/version b/community/zathura/version new file mode 100644 index 00000000..9de9e949 --- /dev/null +++ b/community/zathura/version @@ -0,0 +1 @@ +0.4.7 1 |