You are not logged in.

#126 2010-02-02 10:49:02

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,

rscholer wrote:

Hmm... It seems, that zathura won't recognize filenames containing spaces, when using ":open".

Yes, I read that in a previous post yesterday and I want to fix this issue today. Thanks again for reporting.

Best regards


pwmt.org : programs with movie titles

Offline

#127 2010-02-02 14:34:21

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,

The latest commit should have fixed this issue - So the usage is the following: "./zathura file password" - If you want to open an encrypted file within zathura, you have to set the password before with ":set password".

Best regards


pwmt.org : programs with movie titles

Offline

#128 2010-02-02 15:12:02

rscholer
Member
From: Gelsenkirchen, Germany
Registered: 2008-07-03
Posts: 48

Re: zathura - a PDF viewer

You also need to change PRINT_COMMAND in config.def.h to

#define PRINT_COMMAND "lp -d '%s' -P %s '%s'" /* printer / pages / file */

Otherwise page selection won#t work, and spaces in filenames won't work..

Last edited by rscholer (2010-02-02 15:12:27)

Offline

#129 2010-02-02 15:52:28

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: zathura - a PDF viewer

I have to say I really love the "remember last page" feature and the new bookmarking system. Great work. smile

On the debugging side: The info command:

One thing I noticed is that when I type :info and view the Author, etc, then press Tab to show the Index (like Overview, Table of Contents, Chapter 1, etc.) and click on one of the links (like Chapter 1) sometimes they have a dropdown to show more pages under Chapter 1, like "Getting Started, Next Steps, Final Steps, etc" but when I click on one of those sub-index pages they won't load. I try hitting enter/return too. Is there a command to make it execute and go to that page? I tried it on all my pdfs with "dropdown" sub-indexes, I guess you'd call them.

Also: When they DONT have sub-indexes, just regular "Chapter 1, Chapter 2" without the dropdowns, I will click on Chapter 2 and it will go to the top of that Chapter but it will freeze. It doesn't show a segfault, only this:

(zathura:5466): Gtk-CRITICAL **: gtk_widget_event: assertion WIDGET_REALIZED_FOR_EVENT (widget, event) failed

I have the latest from pdf branch, and gtk2 2.18.6-1. Also I tried changing gtk themes but this doesn't seem the be the problem. I'm wondering if anyone else gets this or if it's just me. I've tried this on all my pdfs. Of course those without indexes aren't affected. tongue

Offline

#130 2010-02-02 19:53:36

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,

rscholer wrote:

You also need to change PRINT_COMMAND in config.def.h to

#define PRINT_COMMAND "lp -d '%s' -P %s '%s'" /* printer / pages / file */

Otherwise page selection won#t work, and spaces in filenames won't work..

Thank you - I have fixed this in one of the latest commits.

milomouse wrote:

One thing I noticed is that when I type :info and view the Author, etc, then press Tab to show the Index (like Overview, Table of Contents, Chapter 1, etc.) and click on one of the links (like Chapter 1) sometimes they have a dropdown to show more pages under Chapter 1, like "Getting Started, Next Steps, Final Steps, etc" but when I click on one of those sub-index pages they won't load. I try hitting enter/return too. Is there a command to make it execute and go to that page?

You should be able to click on it. I made some changes according to opening the right page, because I was just checking for one specific link type.

milomouse wrote:

Also: When they DONT have sub-indexes, just regular "Chapter 1, Chapter 2" without the dropdowns, I will click on Chapter 2 and it will go to the top of that Chapter but it will freeze. It doesn't show a segfault, only this:

(zathura:5466): Gtk-CRITICAL **: gtk_widget_event: assertion WIDGET_REALIZED_FOR_EVENT (widget, event) failed

I have the latest from pdf branch, and gtk2 2.18.6-1. Also I tried changing gtk themes but this doesn't seem the be the problem. I'm wondering if anyone else gets this or if it's just me. I've tried this on all my pdfs. Of course those without indexes aren't affected. tongue

I will check on that. Thanks for letting me know.

Best regards


pwmt.org : programs with movie titles

Offline

#131 2010-02-03 10:28:35

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: zathura - a PDF viewer

When I open a pdf the window stays black and in terminal I receive this message:

(zathura:10176): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion `width >= -1' failed
cairo context error: out of memory

I'm using zathura-git since the link for zathura seems to be dead.

/edit: Oh, and a feature request: Is it possible to implement tab completion when opening file (e.g. for long pathes)?

Last edited by Barghest (2010-02-03 10:31:15)

Offline

#132 2010-02-03 14:44:52

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: zathura - a PDF viewer

@Barghest: In the zathura-git PKGBUILD, add "git checkout pdf" after cd $_gitname, line 30 I think.

else
    git clone $_gitroot
    cd $_gitname
    git checkout pdf
fi

This is to get the newest zathura from pdf branch (which is where the changes are being made lately). This version has tab completion.


@neldoreth: I tried it on all my pdfs, but I'll download some more to see if the problem is localized. No big deal.

Offline

#133 2010-02-03 16:11:21

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: zathura - a PDF viewer

THX milimouse,

now I can open pdf files but none of the shortcuts in the manpage work (except for r for rotate and i for insert).

I'll have a closer look soon.

Offline

#134 2010-02-03 16:59:52

rscholer
Member
From: Gelsenkirchen, Germany
Registered: 2008-07-03
Posts: 48

Re: zathura - a PDF viewer

Barghest wrote:

now I can open pdf files but none of the shortcuts in the manpage work (except for r for rotate and i for insert).

You can find all shortcuts here: http://cgit.neldoreth.net/zathura/tree/ … ef.h?h=pdf

Offline

#135 2010-02-04 08:02:41

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: zathura - a PDF viewer

The problem isn't that I know them but that they just don't work ;b

E.g. when I press k or l nothing happens. The same with page up and page down...and with most of the other shortcuts.

Offline

#136 2010-02-04 09:20:22

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,

Barghest wrote:
(zathura:10176): Gtk-CRITICAL **: gtk_widget_set_size_request: assertion `width >= -1' failed
cairo context error: out of memory

I will google on that, because I have no idea right now what causes that

Barghest wrote:

Oh, and a feature request: Is it possible to implement tab completion when opening file (e.g. for long pathes)?

There is, it is still not technically mature nor perfect, but it is kind of working: Just type ":o /" and then press tab and so on.

Barghest wrote:

E.g. when I press k or l nothing happens. The same with page up and page down...and with most of the other shortcuts.

OK, these work just fine here as long as you have opened a PDF file and the focus is on the viewport.

Since you are using the git version, are you really using the pdf branch?

Best regards


pwmt.org : programs with movie titles

Offline

#137 2010-02-13 17:36:55

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: zathura - a PDF viewer

Is this project still alive? Both PKGBUILDs in AUR are broken, and the git-repo seems to be down.

Offline

#138 2010-02-13 19:21:06

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: zathura - a PDF viewer

nooooooooo, somebody please revive it if that's the case!

Offline

#139 2010-02-13 21:26:09

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: zathura - a PDF viewer

It is still alive – neldoreth is the developer, after all. smile All development takes place in the pdf branch, so you'll have to change your PKGBUILDs as described above.

Offline

#140 2010-02-14 01:54:43

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,

hatten wrote:

nooooooooo, somebody please revive it if that's the case!

No, it is not. Since the PKGBUILDs are broken (?) I guess I will just merge the pdf branch to master and
release a new version of it, since a lot of things has changed since the first version although its not
perfect yet.

Best regards


pwmt.org : programs with movie titles

Offline

#141 2010-02-14 15:53:15

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: zathura - a PDF viewer

See the comments on the AUR comment pages for zathura and zathura-git. There are long standing issues, without a reply. So that gave m the impression that this project is dead.

Offline

#142 2010-02-15 01:52:20

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,

Version 0.0.2 is out now.

Best regards


pwmt.org : programs with movie titles

Offline

#143 2010-02-15 13:58:21

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,

Stefan Husmann wrote:

See the comments on the AUR comment pages for zathura and zathura-git. There are long standing issues, without a reply. So that gave m the impression that this project is dead.

Thank you - I updated the links and the version in the PKGBUILDs, so everything should work fine now.

In addition I added some screenshots in the first post.

Best regards


pwmt.org : programs with movie titles

Offline

#144 2010-02-15 14:39:11

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: zathura - a PDF viewer

Bookmark list and invert colors links doesn't work.
And the zoom one isn't zoomed, it's rotated...

Offline

#145 2010-02-15 15:40:09

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,

hatten wrote:

Bookmark list and invert colors links doesn't work.

Thanks for letting me know. Fixed.

hatten wrote:

And the zoom one isn't zoomed, it's rotated...

It is scaled down and rotated.

Best regards


pwmt.org : programs with movie titles

Offline

#146 2010-02-17 07:54:28

Barghest
Member
From: Hanau/Germany
Registered: 2008-01-03
Posts: 563

Re: zathura - a PDF viewer

Ok, since the latest update all my problems are gone.

Thx!

Offline

#147 2010-02-20 20:08:54

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: zathura - a PDF viewer

The -git-PKGBUILD still does not work.

Initialized empty Git repository in /home/haawda/paketierung/not_maintained_by_me/zathura-git/src/zathura/.git/
fatal: The remote end hung up unexpectedly

Offline

#148 2010-02-20 21:16:28

neldoreth
Member
From: AT
Registered: 2009-02-01
Posts: 212

Re: zathura - a PDF viewer

Hello,

Stefan Husmann wrote:

The -git-PKGBUILD still does not work.

Initialized empty Git repository in /home/haawda/paketierung/not_maintained_by_me/zathura-git/src/zathura/.git/
fatal: The remote end hung up unexpectedly

It should work now again, I have some problems that gitosis still removes the git-daemon-export-ok file
from time to time even if it shouldnt.

Best regards


pwmt.org : programs with movie titles

Offline

#149 2010-02-21 15:35:19

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: zathura - a PDF viewer

Thank you, works fine now.

Offline

#150 2010-03-05 00:52:12

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: zathura - a PDF viewer

The git PKGBUILD doesn't work for me, neither does using the pdf branch this time.

BTW, did I ever thank you for making this? Well then, thanks! Zathura is my main PDF viewer at the moment, and I intend for it to stay that way smile

Offline

Board footer

Powered by FluxBB