zathura issueshttps://git.pwmt.org/pwmt/zathura/-/issues2024-03-03T13:09:07+01:00https://git.pwmt.org/pwmt/zathura/-/issues/406[Question] How to display search match counters?2024-03-03T13:09:07+01:00Ignacio Taranto[Question] How to display search match counters?Hello,
Is there a way to display search match counters?
I'd like to see something like [1/5], which would mean the current match and the total matches.
I read the documentation and I couldn't find this functionality, so I'm not sure...Hello,
Is there a way to display search match counters?
I'd like to see something like [1/5], which would mean the current match and the total matches.
I read the documentation and I couldn't find this functionality, so I'm not sure if it exists or not.https://git.pwmt.org/pwmt/zathura/-/issues/384Option to display epub pages continously2023-12-03T13:15:31+01:00a bOption to display epub pages continouslyIs there a way to remove the margin/gap between epub pages? There should be an option to display them in a continuous/gapless way. Setting `page-padding` to `0` doesn't remove this effect, unfortunately.
![image](/uploads/e17b3c9132bf19...Is there a way to remove the margin/gap between epub pages? There should be an option to display them in a continuous/gapless way. Setting `page-padding` to `0` doesn't remove this effect, unfortunately.
![image](/uploads/e17b3c9132bf196941142d2dd7e2b38e/image.png)https://git.pwmt.org/pwmt/zathura/-/issues/340dbus jump to named target2023-09-18T08:37:08+02:00Pierre-Lucdbus jump to named targetIs there a way to get zathura to jump to some named target in the current file via dbus ?
I have multiple zathura instances that are all reading from a different file though they all share the same references hidden in them e.g. `\label...Is there a way to get zathura to jump to some named target in the current file via dbus ?
I have multiple zathura instances that are all reading from a different file though they all share the same references hidden in them e.g. `\label{someTarget}`.
`http://site/document.pdf#someTarget
I can get most browser to go to any `someOtherLaTeXLabel` but not zathura yet !
I currently have to find somehow on what page the song is and then :
`dbus-send --type="method_call" --dest=org.pwmt.zathura.PID-123456 /org/pwmt/zathura org.pwmt.zathura.GotoPage uint32:44`
out of a 2k+page document.
In fact, if somehow zathura could return back the page in which named-target is…
Any hints on how to go about this feature ?Sebastian RamacherSebastian Ramacherhttps://git.pwmt.org/pwmt/zathura/-/issues/333shell completion is broken when using `$ZATHURA_PLUGINS_PATH`2023-09-13T23:49:55+02:00K LMshell completion is broken when using `$ZATHURA_PLUGINS_PATH`The completion scripts, say for [fish](https://git.pwmt.org/pwmt/zathura/-/blob/develop/data/fish-completion.in#L3), look for plugins and try to find good completion candidates. However, it only looks for plugins in the build-time plugin...The completion scripts, say for [fish](https://git.pwmt.org/pwmt/zathura/-/blob/develop/data/fish-completion.in#L3), look for plugins and try to find good completion candidates. However, it only looks for plugins in the build-time plugin directory. I believe these scripts should look for plugins under `$ZATHURA_PLUGINS_PATH` first, and only if it's undefined use the build-time plugin directory.
Thanks for looking into this.https://git.pwmt.org/pwmt/zathura/-/issues/279Export internal variables to other processes2022-08-20T13:59:46+02:00Hugo RaguetExport internal variables to other processesThis is a feature request.
Currently, it is possible to retrieve the page number of a document currently displayed on an instance of Zathura, through dbus-services. I would like to get acces to more internal variables, in particular the...This is a feature request.
Currently, it is possible to retrieve the page number of a document currently displayed on an instance of Zathura, through dbus-services. I would like to get acces to more internal variables, in particular the current zoom level and offset coordinates, either through dbus-services or through any other mechanism.
This would pave the way to sophisticated interactions with other softwares.
Let me mention right away that in my use case, it is the position of the mouse pointer over the document, within the coordinate system of the document, that I am after ; but the above (zoom level, offset coordinates even relative to width and height of the page) would be a good start if it is easier to do.https://git.pwmt.org/pwmt/zathura/-/issues/257How can I flip pages in dual page mode?2022-08-20T14:07:30+02:00Nikin BaidarHow can I flip pages in dual page mode?When I am reading a book in dual page mode is
Say I have a book open on dual page mode; page 6 is on the left and 7 is on the right. Now I want to look at page 7 on the left and page 8 on the right and then again go back to page 6 on th...When I am reading a book in dual page mode is
Say I have a book open on dual page mode; page 6 is on the left and 7 is on the right. Now I want to look at page 7 on the left and page 8 on the right and then again go back to page 6 on the left and 7 on the right.
I've read the man page thoroughly but there is no mention of this. Is there some work around to achieve this sort of behavior?
Edit: There is an part in the man pages for zathurarc where it says `advance-pages-per-row` defines if the number of pages per row should be honored when advancing a page. I tired setting its value to true it seem to do nothing. Can someone please tell me what this option does.https://git.pwmt.org/pwmt/zathura/-/issues/239How to remove Zathura's title bar in Mac2022-12-24T20:34:51+01:00MertcanHow to remove Zathura's title bar in MacIt seems like the title bar of a random pdf opened by Zathura is not removable in Mac. I checked the zathura manual and have not been able to find a solution. Here is the image of the title bar:
![1f7QS](/uploads/f3f506035ef0f89ae48af48...It seems like the title bar of a random pdf opened by Zathura is not removable in Mac. I checked the zathura manual and have not been able to find a solution. Here is the image of the title bar:
![1f7QS](/uploads/f3f506035ef0f89ae48af483136cf20a/1f7QS.png)https://git.pwmt.org/pwmt/zathura/-/issues/236[Feature Request] Caret mode for text selection in zathura2022-05-11T13:24:51+02:00esiix vp[Feature Request] Caret mode for text selection in zathuraAs zathura is based for keyboard workflow there is only text selection available through mouse. It would have been good if it had caret mode like that in qutebrowser to select text. The caret mode is a mode where a caret appears on the ...As zathura is based for keyboard workflow there is only text selection available through mouse. It would have been good if it had caret mode like that in qutebrowser to select text. The caret mode is a mode where a caret appears on the pdf screen by clicking v and it can be moved around by using j,k,h and l.Clicking v or V again after caret mode puts in selection mode where we can select text like vim.https://git.pwmt.org/pwmt/zathura/-/issues/234add flip page feature2021-07-14T18:11:48+02:00Nikin Baidaradd flip page featureZathura is really great for viewing pdfs.
But one feature I am really missing is the one for a flip page.
Whenever I am in dual page mode, there is no way to bring the page on the right to the left side, as in flipping a page, or vice-v...Zathura is really great for viewing pdfs.
But one feature I am really missing is the one for a flip page.
Whenever I am in dual page mode, there is no way to bring the page on the right to the left side, as in flipping a page, or vice-versa to flip back.
Are there any new updates where this feature could be added?https://git.pwmt.org/pwmt/zathura/-/issues/232Enhance font thickness2021-07-14T18:03:57+02:00Reto SchnyderEnhance font thicknessOn low DPI displays, some fonts (like computer modern) can be very thin and hard to read. This is especially the case when using a dark recolor. It would be great if zathura could provide a feature to enhance legibility in that case.
I ...On low DPI displays, some fonts (like computer modern) can be very thin and hard to read. This is especially the case when using a dark recolor. It would be great if zathura could provide a feature to enhance legibility in that case.
I don't know if there is a way to improve this on the side of poppler / mupdf through font hinting or some such. If not, I suggest a setting to apply gamma correction to the output. I hacked together a proof of concept that applies a gamma correction of 1.5 before recoloring, see the following screenshot. In my opinon, the gamma corrected output (the lower screenshot) is much easier on the eyes. If there is interest, I can try implementing gamma correction as a proper setting.
![zathura-gamma](/uploads/70c517bb02e7f68a8ed18f039bb42955/zathura-gamma.png)https://git.pwmt.org/pwmt/zathura/-/issues/228[Feature request] Navigate to next page with scrolling2023-07-26T13:10:02+02:00Robert Kusznier[Feature request] Navigate to next page with scrolling## Problem
When I'm reading a **zoomed-in** document I need to progress through it using a sequence of 2 different keys: `J` (go to the next page) and `L` (scroll to the bottom of the page).
1. When I start I'm at the top of the page. ...## Problem
When I'm reading a **zoomed-in** document I need to progress through it using a sequence of 2 different keys: `J` (go to the next page) and `L` (scroll to the bottom of the page).
1. When I start I'm at the top of the page. I read the visible part.
2. Then I I scroll down using `L`. Then I read the bottom part.
3. I need to go to the next page so I press `J` (or `PageDown`).
(and the cycle repeats)
So to progress through a document I need to use sequence `L`, `J`, `L`, `J`... In my opinion it's not the best user experience, because you all the time have remember which button you need to press now.
## Proposed solution
I think it would make a lot of sense to add a command that would merge both scrolling and going to the next page:
- If you are not at the bottom of the page, scroll page by one screen, no more than to the bottom of the page (or to the bottom of the page, to make it simpler)
- If you already are at the bottom of the page, go to the next page
Such a command could be bound to a key, e.g. `Space`, and then the document could be progressed using single key strokes (`Space`, `Space`, `Space` ...), without a need to think which one you need to press now.
## Correct me if I'm wrong
Please correct me if I'm wrong and this is already possible somehow.
### `scroll-page-aware`
I actually see an option in `man zathurarc` that seem like it could work like this - `scroll-page-aware`. The problem is it doesn't work like this. Instead it has some pretty weird behavior that I find hard to understand and describe here.https://git.pwmt.org/pwmt/zathura/-/issues/225Option for running zathurarc command at Startup2022-08-20T19:48:39+02:00Daniel James PerryOption for running zathurarc command at StartupI've written a bash script that wraps around zathura and it's very useful for keeping all instances of it within `tabbed`.
However would like to set `recolor` depending on the time of day and currently there's no way to do that.
This co...I've written a bash script that wraps around zathura and it's very useful for keeping all instances of it within `tabbed`.
However would like to set `recolor` depending on the time of day and currently there's no way to do that.
This could happen in two ways:
1. Have a `--recolor` option.
2. Have a `-C` option which runs an arbitrary zathura command when the file is loaded.
I'd be happy with either one. Thank you for reading this and for the great software!
~"feature-request"https://git.pwmt.org/pwmt/zathura/-/issues/223[Feature request] inverse search by keyboard2021-07-15T22:13:44+02:00Son Van[Feature request] inverse search by keyboardHello,
I really appreciate zathura. It drives my daily reading and writing with TeX.
Is it possible to implement something like easymotion on zathura (please see https://github.com/easymotion/vim-easymotion) and make it work with invers...Hello,
I really appreciate zathura. It drives my daily reading and writing with TeX.
Is it possible to implement something like easymotion on zathura (please see https://github.com/easymotion/vim-easymotion) and make it work with inverse search? It would be awesome if this could be implemented! I think then I can remove my mouse completely.
Thank you very much!
Sonhttps://git.pwmt.org/pwmt/zathura/-/issues/216[Feature Request] Table of contents/Index view lacking navigation shortcuts2022-01-08T07:41:25+01:00Eemeli Welling[Feature Request] Table of contents/Index view lacking navigation shortcutsI've found myself multiple times in a situation where I'm in the index view and wanting to scroll up and down with shortcuts, but they are missing it seems.
I would be interested in `<C-d>, <C-f>, <C-b>, <C-u>, <PageUp> and <PageDown>` ...I've found myself multiple times in a situation where I'm in the index view and wanting to scroll up and down with shortcuts, but they are missing it seems.
I would be interested in `<C-d>, <C-f>, <C-b>, <C-u>, <PageUp> and <PageDown>` shortcuts in index view.https://git.pwmt.org/pwmt/zathura/-/issues/212[Feature Request] Best-fit mode adjusted according to statusbar toggling2021-07-15T22:14:25+02:00rv[Feature Request] Best-fit mode adjusted according to statusbar togglingHi,
when pressing `a` and viewing the page in best-fit mode part of the page gets covered by the statusbar (which can be removed, and the issue fixed, with `^n`). Could this be automated so the best-fit mode takes in account the space o...Hi,
when pressing `a` and viewing the page in best-fit mode part of the page gets covered by the statusbar (which can be removed, and the issue fixed, with `^n`). Could this be automated so the best-fit mode takes in account the space occupied by the statusbar and adjust its size to not get covered?
Sorry - and let me know - if I'm not being clear enough.
Thanks a lot in advance!, Zathura is amazing.https://git.pwmt.org/pwmt/zathura/-/issues/201Feature request: jumping to page label support2021-01-04T20:27:42+01:00Icughu5eFeature request: jumping to page label supportI have some books with page labels. For example, the page numbers on the book do not correspond to the page numbers of the PDF, and the PDF makers adds the page numbers on the book as page labels to the PDF.
I know the offset feature, b...I have some books with page labels. For example, the page numbers on the book do not correspond to the page numbers of the PDF, and the PDF makers adds the page numbers on the book as page labels to the PDF.
I know the offset feature, but this is sometimes insufficient: the page numbers of some books are unfortunately discontinuous. For example, the next page of 114 is 116. I cannot correct such kind of discrepancy by setting an offset.
I hope that I can jump to a page by inputting the page label.https://git.pwmt.org/pwmt/zathura/-/issues/200No "Page Handling" tab in printer setting window2021-06-04T08:41:17+02:00LuXuNo "Page Handling" tab in printer setting windowThere is a "auto resize and center" option in the "Page Handling" tab which would center the pdf if its aspect ratio is different from the paper, otherwise it defaults to top-left I think.
I can't achieve that option with zathura's prin...There is a "auto resize and center" option in the "Page Handling" tab which would center the pdf if its aspect ratio is different from the paper, otherwise it defaults to top-left I think.
I can't achieve that option with zathura's print dialog. Can this be supported? Or is there any workaround? Of source support it would be preferred :)
The printing dialog of evince/xreader
![Screenshot_2020-12-31_23-21-44](/uploads/64c718e7c07102006483d7d7fc66741c/Screenshot_2020-12-31_23-21-44.png)
The printing dialog of zathura
![Screenshot_2020-12-31_23-21-46](/uploads/330ed44b750a37a79b6de084edbb26e3/Screenshot_2020-12-31_23-21-46.png)https://git.pwmt.org/pwmt/zathura/-/issues/194Shortcut mapping is not general enough2021-02-09T22:50:58+01:00Ghost UserShortcut mapping is not general enoughI like Zathura, but I don't like vim bindings, so I tried to change all keys in zathurarc. But it doesn't seem to be easy or even possible, despite being called a 'highly customizable' document viewer.
For example, it seems that I can't...I like Zathura, but I don't like vim bindings, so I tried to change all keys in zathurarc. But it doesn't seem to be easy or even possible, despite being called a 'highly customizable' document viewer.
For example, it seems that I can't map keys like 'numpad plus'. I would like to define Ctrl+Plus and Ctrl+Minus for zooming (instead of the default Plus and Minus), but <C--> and <C-+> only works for non-numpad keys. Looking at the source code, it seems that I can only map keys within the ASCII range or in the predefined list (Tab, BackSpace etc.), but GDK_KEY_KP_Add is neither. Which means that not even the default keybindings are possible to be specified in zathurarc!
This one would be easy to fix: after failing to find a meaning in other ways, check gdk_keyval_from_name(), so e.g. "KP_Add" would be recognised as 'numpad plus'. (And then several items in the predefined list would be unneccessary.)
Another minor thing is that if I want to map Ctrl+F to search, the only way I found is "map <C-f> feedkeys /", but that assumes that I don't want to remap or unmap "/". And it also displays "/" in front of the search field, which is not relevant anymore.
I also wondered if there is any way to map e.g. Ctrl+G to 'goto' in the usual way, meaning that it would open an input field (like for searching), where I could type a page number, press enter, and it would go to that page. I only found the reversed (vim-like) way, e.g. '<number>G'.
The most general would be, of course, if the default shortcuts, instead of being hardcoded, would just be a default zathurarc file, so anyone could just easily change any shortcut they wish (and deleting the file would mean no shortcuts at all). This would also be good for documentation, as I tried but didn't find any usable example zathurarc file on the web, when I was unsure about the syntax described in the man.https://git.pwmt.org/pwmt/zathura/-/issues/178How to send signals to `zathura` externally?2023-09-21T20:46:06+02:00JinHow to send signals to `zathura` externally?# Hoping for
I have a simple implementation of annotation (..etc) in mind, but I need a way to control `zathura` externally. For example, I hope the following scrolls the document
```
[me@laptop] $ zathura --instance=<ID> --command="sc...# Hoping for
I have a simple implementation of annotation (..etc) in mind, but I need a way to control `zathura` externally. For example, I hope the following scrolls the document
```
[me@laptop] $ zathura --instance=<ID> --command="sc_scroll"
```
where, `sc_scroll` is the built-in function that scrolls the document.
# Question
How to send commands to zathura externally?
---
As a quick note, `sc_scroll` calls `position_set` at the end of itself. `sc_scroll` then calls `refresh_view(zathura)` in its end. Then `refresh_view` calls
```
g_signal_emit(zathura->ui.session->gtk.view, zathura->signals.refresh_view,
0, zathura);
```
which finally communicates with an [external packages](https://developer.gnome.org/gobject/stable/gobject-Signals.html).https://git.pwmt.org/pwmt/zathura/-/issues/175[Feature request] background variable like in vim2020-08-31T09:34:17+02:00Daniel[Feature request] background variable like in vimIn vim I can switch between dark and light version of a theme by setting
`set background=dark`
and
`set background=light`
would be nice to have this feature - unless there is a different way to switch between dark and light background ?In vim I can switch between dark and light version of a theme by setting
`set background=dark`
and
`set background=light`
would be nice to have this feature - unless there is a different way to switch between dark and light background ?