pwmt issueshttps://git.pwmt.org/groups/pwmt/-/issues2018-05-24T20:04:19+02:00https://git.pwmt.org/pwmt/zathura/-/issues/18[zathura-pdf-mupdf] Can't build master: Tried to access unknown option "link-...2018-05-24T20:04:19+02:00Paulo Marcel Coelho Aragão[zathura-pdf-mupdf] Can't build master: Tried to access unknown option "link-external"I'm trying to build pwmt/zathura-pdf-mupdf@8d27748c525691268305c6760c7d4668d0560313 using meson 0.46.1 with mupdf 1.13.0 on Xubuntu 18.04, and `meson build` fails with this error:
```
meson.build:34:3: ERROR: Tried to access unknown op...I'm trying to build pwmt/zathura-pdf-mupdf@8d27748c525691268305c6760c7d4668d0560313 using meson 0.46.1 with mupdf 1.13.0 on Xubuntu 18.04, and `meson build` fails with this error:
```
meson.build:34:3: ERROR: Tried to access unknown option "link-external".
```
I searched for `link-external` on <https://github.com/mesonbuild/meson>, to check whether it was added by a commit after the 0.46.1 release but couldn't find anything.
Here's the full build log:
```
Build started at 2018-05-24T14:34:34.933529
Main binary: /usr/bin/python3
Python system: Linux
The Meson build system
Version: 0.46.1
Source dir: /home/paulo/src/zathura-pdf-mupdf
Build dir: /home/paulo/src/zathura-pdf-mupdf/build
Build type: native build
Project name: zathura-pdf-mupdf
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc /home/paulo/src/zathura-pdf-mupdf/build/meson-private/sanitycheckc.c -o /home/paulo/src/zathura-pdf-mupdf/build/meson-private/sanitycheckc.exe
Sanity check compile stdout:
-----
Sanity check compile stderr:
-----
Running test binary command: /home/paulo/src/zathura-pdf-mupdf/build/meson-private/sanitycheckc.exe
Native C compiler: cc (gcc 7.3.0 "cc (Ubuntu 7.3.0-16ubuntu3) 7.3.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Determining dependency 'zathura' with pkg-config executable '/usr/bin/pkg-config'
Native dependency zathura found: YES 0.4.0
Determining dependency 'girara-gtk3' with pkg-config executable '/usr/bin/pkg-config'
Native dependency girara-gtk3 found: YES 0.3.0
Determining dependency 'glib-2.0' with pkg-config executable '/usr/bin/pkg-config'
Native dependency glib-2.0 found: YES 2.56.1
Determining dependency 'cairo' with pkg-config executable '/usr/bin/pkg-config'
Native dependency cairo found: YES 1.15.10
Running compile:
Working directory: /tmp/tmpa4_2bitq
Command line: cc /tmp/tmpa4_2bitq/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmpa4_2bitq/output.exe -O0 -Wl,--start-group -lmupdf -Wl,--end-group
Code:
int main(int argc, char **argv) { return 0; }
Compiler stdout:
Compiler stderr:
Library mupdf found: YES
Running compile:
Working directory: /tmp/tmp66o8q2uu
Command line: cc /tmp/tmp66o8q2uu/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o /tmp/tmp66o8q2uu/output.exe -O0 -Wl,--start-group -lmupdfthird -Wl,--end-group
Code:
int main(int argc, char **argv) { return 0; }
Compiler stdout:
Compiler stderr:
Library mupdfthird found: YES
meson.build:34:3: ERROR: Tried to access unknown option "link-external".
```https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/2Most pages from PDF "Effective Perl Programming" rendered poorly using zathur...2018-10-04T10:45:44+02:00Paulo Marcel Coelho AragãoMost pages from PDF "Effective Perl Programming" rendered poorly using zathura-pdf-mupdf plugin but correctly with mupdf itselfI've observed that most pages from PDF book **Effective Perl Programming** are rendered very poorly using plugin zathura-pdf-mupdf, for instance page 25:
![image](/uploads/3bac76b06ecefbe92fafe465cf94616e/image.png)
but they are rendered...I've observed that most pages from PDF book **Effective Perl Programming** are rendered very poorly using plugin zathura-pdf-mupdf, for instance page 25:
![image](/uploads/3bac76b06ecefbe92fafe465cf94616e/image.png)
but they are rendered correctly using mupdf itself:
![image](/uploads/1b1e0426cc8e8741cdb8470529126522/image.png)
This discrepancy puzzled me since I assumed that as both zathura and mupdf are using the same rendering backend, the results should be the same.
I'm built all software from source on Xubuntu 18.04: mupdf 1.13.0, zathura zathura@d7a0620e43dedc67c35b741abbef8d2f5f59cee4, pwmt/zathura-pdf-mupdf@1f51706.
Here's that particular page from the book:
[Export_Pages_Effective_Perl_Programming.pdf](/uploads/7a7a467d6e34ba1932c711876b55b60e/Export_Pages_Effective_Perl_Programming.pdf)
Not all pages are rendered poorly, but most pages after page 25. Here's the full book:
[Effective_Perl_Programming.pdf](/uploads/69d21e78b8bb4a7b7701187557fa8d70/Effective_Perl_Programming.pdf)
Let me know how I can help debug this further.https://git.pwmt.org/pwmt/zathura/-/issues/19Most pages from PDF "Effective Perl Programming" rendered poorly using zathur...2018-09-30T11:12:28+02:00Paulo Marcel Coelho AragãoMost pages from PDF "Effective Perl Programming" rendered poorly using zathura-pdf-mupdf plugin but correctly with mupdf itselfI've observed that most pages from PDF book **Effective Perl Programming** are rendered very poorly using plugin zathura-pdf-mupdf, for instance page 25:
![image](/uploads/3bac76b06ecefbe92fafe465cf94616e/image.png)
but they are rendered...I've observed that most pages from PDF book **Effective Perl Programming** are rendered very poorly using plugin zathura-pdf-mupdf, for instance page 25:
![image](/uploads/3bac76b06ecefbe92fafe465cf94616e/image.png)
but they are rendered correctly using mupdf itself:
![image](/uploads/1b1e0426cc8e8741cdb8470529126522/image.png)
This discrepancy puzzled me since I assumed that as both zathura and mupdf are using the same rendering backend, the results should be the same.
I'm built all software from source on Xubuntu 18.04: mupdf 1.13.0, zathura d7a0620, pwmt/zathura-pdf-mupdf@1f51706.
Here's that particular page from the book:
[Export_Pages_Effective_Perl_Programming.pdf](/uploads/7a7a467d6e34ba1932c711876b55b60e/Export_Pages_Effective_Perl_Programming.pdf)
Not all pages are rendered poorly, but most pages after page 25. Here's the full book:
[Effective_Perl_Programming.pdf](/uploads/69d21e78b8bb4a7b7701187557fa8d70/Effective_Perl_Programming.pdf)
Let me know how I can help debug this further.https://git.pwmt.org/pwmt/zathura/-/issues/20libsynctex version check for new API doesn't check for upstream version2018-06-12T08:30:37+02:00Johannes Löthberglibsynctex version check for new API doesn't check for upstream versionWhen zathura was updated to support libsynctex's new API it was made to look for libsynctex version 2.0.0 to decide whether to use the old or new API, but TeXLive did not bump the libsynctex version to 2.0.0, instead itcat is reported as...When zathura was updated to support libsynctex's new API it was made to look for libsynctex version 2.0.0 to decide whether to use the old or new API, but TeXLive did not bump the libsynctex version to 2.0.0, instead itcat is reported as 1.21.0.
Debian however contains their own downstream patch to make it report 2.0.0, but that is not upstream behavior.
https://github.com/TeX-Live/texlive-source/blob/cf44eb85489078e69a724b2b46d0000ac0691c46/texk/web2c/synctexdir/synctex.pc.in
https://github.com/TeX-Live/texlive-source/blob/cf44eb85489078e69a724b2b46d0000ac0691c46/texk/web2c/synctexdir/synctex_parser_version.txthttps://git.pwmt.org/pwmt/zathura/-/issues/21Large document is not drawn correctly2023-04-29T18:13:17+02:00AnatolLarge document is not drawn correctlyI am trying to open a large PDF with zathura but all I see is black screen. I try to scroll up and down - status bar shows pages are changed, but it does not improve the screen issue.
I tried it at Arch and Ubuntu linux.
To reproduce t...I am trying to open a large PDF with zathura but all I see is black screen. I try to scroll up and down - status bar shows pages are changed, but it does not improve the screen issue.
I tried it at Arch and Ubuntu linux.
To reproduce the issue please download this Intel manual and try to open https://software.intel.com/en-us/download/intel-64-and-ia-32-architectures-sdm-combined-volumes-1-2a-2b-2c-2d-3a-3b-3c-3d-and-4https://git.pwmt.org/pwmt/zathura/-/issues/22Map Umlauts öäü2023-01-15T16:10:44+01:00Benedikt BartscherMap Umlauts öäüIs it possible to map Umlauts (äöü)?Is it possible to map Umlauts (äöü)?https://git.pwmt.org/pwmt/zathura/-/issues/23[Feature Request] Adding Trim margin zoom mode2018-11-02T10:27:52+01:00Fauve[Feature Request] Adding Trim margin zoom modeAdd the ability to view pdf documents without their margins and allow the user to focus on text content. Especially for LaTeX users who have very large margins. This feature is implemented in Okular.
For example, if I take the following...Add the ability to view pdf documents without their margins and allow the user to focus on text content. Especially for LaTeX users who have very large margins. This feature is implemented in Okular.
For example, if I take the following pdf file:
![view](/uploads/cc1e35829a583406b669d99d08ee33d2/view.png)
We can see that he have to much margin:
![view-trim-legende](/uploads/7136a6110fe442a8669835185eb4e245/view-trim-legende.png)
And the goal is to show only the blue area witch is the only important area, and we will get a rendering like this:
![trimed](/uploads/d77e94b6a7811118c63331ebf31185e3/trimed.png)
For this feature, we can use the <kbd>x</kbd> key binding, because <kbd>x</kbd> isn’t used by another feature in Zathura and the X letter remember the scissor form :scissors:. Then, the <kbd>x</kbd> key will toggle the trimed and the no-trimed mode.https://git.pwmt.org/pwmt/zathura/-/issues/24[Feature request] Adding side-bar index2018-11-02T10:27:51+01:00Fauve[Feature request] Adding side-bar indexAdding a sidebar showing the PDF index. It could be toggle showen/unshowing with a key (for example <kbd>⇧</kbd>+<kbd>↹</kbd> or <kbd>F9</kbd>).
For the moment there is in Zathura an Index mode, but it’s a mode, it completely hide the r...Adding a sidebar showing the PDF index. It could be toggle showen/unshowing with a key (for example <kbd>⇧</kbd>+<kbd>↹</kbd> or <kbd>F9</kbd>).
For the moment there is in Zathura an Index mode, but it’s a mode, it completely hide the ridden document and take the full width of the windows.
I was thanking of a side bar witch only take ~20% of the window, for example. I made a mokup for this:
![mokup](/uploads/c0389b7c348d5ed5397ef827706cbbb5/mokup.png)
So, as in the mokup, it would be nice if the pdf document was centered in the no-index zone
And, it would be great if we could navigate in this sidebar without changing the mode, just by adding a prefix key to index mode bindings, like, for example <kbd>alt</kbd>.
This is an example I made (but it could be something else):
<dl>
<dt><kbd>alt</kbd>+<kbd>k</kbd>, <kbd>alt</kbd>+<kbd>j</kbd></dt> <dd>Move to upper or lower entry</dd>
<dt><kbd>alt</kbd>+<kbd>l</kbd></dt> <dd>Expand entry</dd>
<dt><kbd>alt</kbd>+<kbd>L</kbd></dt> <dd>Expand all entries</dd>
<dt><kbd>alt</kbd>+<kbd>h</kbd></dt> <dd>Collapse entry</dd>
<dt><kbd>alt</kbd>+<kbd>H</kbd></dt> <dd>Collapse all entries</dd>
<dt><kbd>alt</kbd>+<kbd>space</kbd>, <kbd>alt</kbd>+<kbd>Return</kbd></dt>
<dd>Select and open entry</dd>
</dl>
Thank you o/
Zathura is a great thing.https://git.pwmt.org/pwmt/zathura-pdf-mupdf/-/issues/1Some pages of some PDFs have a black background and poorly displayed text2018-10-04T20:42:21+02:00Adam IbrahimSome pages of some PDFs have a black background and poorly displayed textI'm not sure what's causing the problem, but I'm using
- Arch Linux
- Version 0.3.3-3 of the MuPDF plugin
- Version 0.4.0-4 of Zathura
I've seen this problem in two different PDFs, and the problem does not occur when I use the Poppler...I'm not sure what's causing the problem, but I'm using
- Arch Linux
- Version 0.3.3-3 of the MuPDF plugin
- Version 0.4.0-4 of Zathura
I've seen this problem in two different PDFs, and the problem does not occur when I use the Poppler PDF plugin, nor does it occur when I switched to a different PDF viewer (evince).
Here's an example of the problem:
![pic](/uploads/101d8cb0901420e55105927e90aab7d3/pic.png)
Here's what the same page SHOULD look like:
![better](/uploads/a653304ee1b84f59a156822ffc6b35c5/better.png)https://git.pwmt.org/pwmt/zathura/-/issues/25Some pages of some PDFs have a black background and poorly displayed text2018-09-30T11:11:52+02:00Adam IbrahimSome pages of some PDFs have a black background and poorly displayed textI'm not sure what's causing the problem, but I'm using
- Arch Linux
- Version 0.3.3-3 of the MuPDF plugin
- Version 0.4.0-4 of Zathura
I've seen this problem in two different PDFs, and the problem does not occur when I use the Poppler...I'm not sure what's causing the problem, but I'm using
- Arch Linux
- Version 0.3.3-3 of the MuPDF plugin
- Version 0.4.0-4 of Zathura
I've seen this problem in two different PDFs, and the problem does not occur when I use the Poppler PDF plugin, nor does it occur when I switched to a different PDF viewer (evince).
Here's an example of the problem:
![pic](/uploads/101d8cb0901420e55105927e90aab7d3/pic.png)
Here's what the same page SHOULD look like:
![better](/uploads/a653304ee1b84f59a156822ffc6b35c5/better.png)https://git.pwmt.org/pwmt/zathura/-/issues/26Add "text selection"2023-03-07T15:20:29+01:00Francesco AriisAdd "text selection"As now, to copy some text, you need to draw a rectangle with your mouse over the text.
I would prefer "normal" text selection, where by "normal" I mean the way it works in your browser: I especially miss the double-click-to-highlight-si...As now, to copy some text, you need to draw a rectangle with your mouse over the text.
I would prefer "normal" text selection, where by "normal" I mean the way it works in your browser: I especially miss the double-click-to-highlight-single-word feature.https://git.pwmt.org/pwmt/zathura/-/issues/27Synctex Highlights stack, completely obscure text2020-03-12T22:18:43+01:00Max TeegenSynctex Highlights stack, completely obscure textI am using zathura as a viewer with LaTeXTools for Sublime Text.
Lines highlighted via synctex seem to be highlighted to varying degrees of opacity. Sometimes this can lead to completely unreadable text as seen here:
![image](/uploads/3b...I am using zathura as a viewer with LaTeXTools for Sublime Text.
Lines highlighted via synctex seem to be highlighted to varying degrees of opacity. Sometimes this can lead to completely unreadable text as seen here:
![image](/uploads/3b0c215e424eac92292a667c3557246f/image.png)
`set highlight-transparency 0.05` alleviates this a bit, but leads to the highlighting being barely visible in other sections.https://git.pwmt.org/pwmt/zathura/-/issues/28Scalable and multi size icons2018-11-27T22:31:09+01:00Ankur SinhaScalable and multi size iconsWould the svg version of the icon be available someplace? I could generate icons of different sizes so that they could be used with different screen resolutions. Currently, sometimes I don't get an icon on my bigger screens (and I assume...Would the svg version of the icon be available someplace? I could generate icons of different sizes so that they could be used with different screen resolutions. Currently, sometimes I don't get an icon on my bigger screens (and I assume the issue is that there is a single size icon available for zathura only):
```
$ rpmls zathura | grep icon
-rw-r--r-- /usr/share/icons/hicolor/128x128/apps/org.pwmt.zathura.png
```https://git.pwmt.org/pwmt/zathura/-/issues/29Typo in man page2018-08-24T16:10:16+02:00Antony LeeTypo in man pageThe man page currently reads
```
It is enough to pass the arguments to synctex view's -i option to zathura via --syntex-forward...
```
"--syntex-forward" should be "--synctex-forward".The man page currently reads
```
It is enough to pass the arguments to synctex view's -i option to zathura via --syntex-forward...
```
"--syntex-forward" should be "--synctex-forward".https://git.pwmt.org/pwmt/zathura/-/issues/30enable binding left mouse button to scrolling to enable scrolling on converti...2018-11-02T10:27:52+01:00Michael Roseenable binding left mouse button to scrolling to enable scrolling on convertible tablets via the touchscreenhttps://git.pwmt.org/pwmt/zathura/-/issues/31set window-title-basename does not apply to a currently open document2018-09-06T22:52:01+02:00Antony Leeset window-title-basename does not apply to a currently open documentAs of zathura 0.4.0 & girara 0.3.0, calling :set window-title-basename doesn't affect an already open document; the file needs to be reloaded (or reopened) for the option to take effect. It seems it would be nicer if the reload step was...As of zathura 0.4.0 & girara 0.3.0, calling :set window-title-basename doesn't affect an already open document; the file needs to be reloaded (or reopened) for the option to take effect. It seems it would be nicer if the reload step was not necessary.https://git.pwmt.org/pwmt/zathura/-/issues/32man page rendered with an outdated version2018-09-04T18:07:27+02:00Antony Leeman page rendered with an outdated versionSee https://git.pwmt.org/pwmt/zathura/blob/master/doc/man/conf.py#L28: the man pages are rendered with copyright years of 2009-2015, and the release set to 0.2.7.
You may want to find a way to auto-sync these with the latest release num...See https://git.pwmt.org/pwmt/zathura/blob/master/doc/man/conf.py#L28: the man pages are rendered with copyright years of 2009-2015, and the release set to 0.2.7.
You may want to find a way to auto-sync these with the latest release number, or just manually adjust them...https://git.pwmt.org/pwmt/zathura/-/issues/33[Feature request] Session management2022-12-09T18:16:24+01:00Urbain Vaes[Feature request] Session managementIt would be great if zathura could handle sessions the way qutebrowser does. Sometimes I have a lot of PDF files open and, when I have to turn off my laptop, I would like to keep them in memory for the next time I open zathura. In qutebr...It would be great if zathura could handle sessions the way qutebrowser does. Sometimes I have a lot of PDF files open and, when I have to turn off my laptop, I would like to keep them in memory for the next time I open zathura. In qutebrowser, this can be done by passing the `-s` flag to the `quit` command.
PS: I'd be happy to help, with a bit of guidance!https://git.pwmt.org/pwmt/zathura/-/issues/34Bug with feedkeys2018-09-07T16:02:46+02:00Urbain VaesBug with feedkeys`map Z feedkeys ":exec<Space>sh<Space><Space><Space><Space><Space><Space><Space><Space><Space><Space><Space>"`
Gives
`:exec sh <Space><Space><Space><Space><Space><Space><Space><Space><Space>`
Some `<Space>`s are expanded, others are ...`map Z feedkeys ":exec<Space>sh<Space><Space><Space><Space><Space><Space><Space><Space><Space><Space><Space>"`
Gives
`:exec sh <Space><Space><Space><Space><Space><Space><Space><Space><Space>`
Some `<Space>`s are expanded, others are not... Same thing applies with `<Return>`: when at the end of a command, it is often not replaced by a literal `^M`.https://git.pwmt.org/pwmt/zathura/-/issues/35"Use G_ADD_PRIVATE" crashes on glib 2.56.22018-09-10T18:07:17+02:00Kyrylo Shpytsya"Use G_ADD_PRIVATE" crashes on glib 2.56.2Commit a4d1df87db141425 causes zathura to crash at start:
```
**
GLib-GObject:ERROR:/var/tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/gobject/gobject.c:1807:g_object_new_internal: assertion failed: (nqueue
!= NULL)
```
glib 2.56.2...Commit a4d1df87db141425 causes zathura to crash at start:
```
**
GLib-GObject:ERROR:/var/tmp/portage/dev-libs/glib-2.56.2/work/glib-2.56.2/gobject/gobject.c:1807:g_object_new_internal: assertion failed: (nqueue
!= NULL)
```
glib 2.56.2 is the current version on "gentoo unstable". Ubuntu bionic beaver appears to have 2.56.1.
The crash appears on both zathura installed via package manager (configured to use git develop branch) and the one manually built from git develop branch (commit 8272e37f3af). The crash goes away if commit a4d1df87db141425 is reverted.