You are not logged in.

#126 2012-03-09 11:09:34

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

Re: zathura - a document viewer

Huh… No, it wasn't, apparently. =/ Sorry for bothering, problem doesn't occur anymore…

Offline

#127 2012-03-09 18:48:35

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: zathura - a document viewer

Hello.

Today we have released a new version of zathura:

Changelog
  • Macro to register plugins

  • Fix issues with the display of the current page number

  • Ability to scroll to the full left or full right border

  • Reimplement the render thread with GThreadPool

  • Use the correct color to highlight results

  • Support to use both database backends

  • Additional notifications on errors

  • Option to hide hidden directories

  • Do not overwrite existing files with :write

  • Fix flicker in text selection

  • Resolved several memory leaks

  • Updated Makefile

Additional information

In addition we have released a new version of girara (0.1.1) and versions of all our plugins:

  • zathura-pdf-poppler (0.1.1)

  • zatuhra-pdf-mupdf (0.1.0)

  • zathura-djvu (0.1.0)

  • zathura-ps (0.1.0)

Best regards

Offline

#128 2012-03-12 14:09:14

hzqtc
Member
From: Hangzhou, China
Registered: 2008-01-22
Posts: 22

Re: zathura - a document viewer

Hi, there.
After I update to 0.1.0, the mouse doesn't work any more. Can't scroll with mouse, no zoom with right button, etc.
I try to bind Button1 to quit, and this doesn't work either.

map <Button1> quit

Sorry to post it here instead of the bug tracker cause I don't have a pwmt account.

Offline

#129 2012-03-12 18:15:16

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: zathura - a document viewer

hzqtc wrote:

Hi, there.
After I update to 0.1.0, the mouse doesn't work any more. Can't scroll with mouse, no zoom with right button, etc.
I try to bind Button1 to quit, and this doesn't work either.

map <Button1> quit

Sorry to post it here instead of the bug tracker cause I don't have a pwmt account.

It works for me. Have you tried it without custom config file?

Offline

#130 2012-03-13 02:11:13

anti-destin
Member
Registered: 2009-02-14
Posts: 234

Re: zathura - a document viewer

mlq wrote:

Hello,

Not every functionality has been implemented in each plugin yet besides zathura-pdf-poppler.

OK100 wrote:

Is it possible to set default zoom level to fit to width?

Put the following line in your zathurarc:

set adjust-open width

Best regards

i've added that line to ~/.config/zathura/zathurarc, but the default zoom level is not set to fit-to-width. any ideas?

Offline

#131 2012-03-13 04:00:39

hzqtc
Member
From: Hangzhou, China
Registered: 2008-01-22
Posts: 22

Re: zathura - a document viewer

OK100 wrote:
hzqtc wrote:

Hi, there.
After I update to 0.1.0, the mouse doesn't work any more. Can't scroll with mouse, no zoom with right button, etc.
I try to bind Button1 to quit, and this doesn't work either.

map <Button1> quit

Sorry to post it here instead of the bug tracker cause I don't have a pwmt account.

It works for me. Have you tried it without custom config file?

I update to v0.1.1, and the problem is solved. Thank you.

Last edited by hzqtc (2012-03-13 04:30:51)

Offline

#132 2012-03-13 13:35:46

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: zathura - a document viewer

Are the plugins packaged?

Offline

#133 2012-03-13 14:45:10

anti-destin
Member
Registered: 2009-02-14
Posts: 234

Re: zathura - a document viewer

archman-cro wrote:

Are the plugins packaged?

i'm having what is (presumably) a plugin issue. when i run zathura, i get:

error: could not open plugin directory: /usr/lib/zathura
info: Using plain database backend.

Offline

#134 2012-03-13 15:29:51

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: zathura - a document viewer

Hello,

anti-destin wrote:
archman-cro wrote:

Are the plugins packaged?

i'm having what is (presumably) a plugin issue. when i run zathura, i get:

error: could not open plugin directory: /usr/lib/zathura
info: Using plain database backend.

This means you don't have any plugins installed yet. As I can see today the main zathura package has been updated, but there are no plugins available in the official repository right now. You can install them from the AUR though.

Best regards

Offline

#135 2012-03-13 15:35:44

anti-destin
Member
Registered: 2009-02-14
Posts: 234

Re: zathura - a document viewer

am i right in thinking that i need one of the pdf plugins? at the moment, i can't load any pdfs. i may wait for the plugins to be packaged and added to the official repos.

Offline

#136 2012-03-13 15:43:08

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: zathura - a document viewer

Hello,

anti-destin wrote:

am i right in thinking that i need one of the pdf plugins? at the moment, i can't load any pdfs. i may wait for the plugins to be packaged and added to the official repos.

Yes, or install any of the following from the AUR:

  • zathura-pdf-poppler-git (for PDF support)

  • zathura-pdf-mupdf-git (for PDF support)

  • zathura-djvu-git (for DjVu support)

  • zathura-ps-git (for PostScript support)

Best regards

Offline

#137 2012-03-13 19:19:15

/dev/zero
Member
From: Melbourne, Australia
Registered: 2011-10-20
Posts: 1,247

Re: zathura - a document viewer

mlq wrote:

Hello,

anti-destin wrote:

am i right in thinking that i need one of the pdf plugins? at the moment, i can't load any pdfs. i may wait for the plugins to be packaged and added to the official repos.

Yes, or install any of the following from the AUR:

  • zathura-pdf-poppler-git (for PDF support)

  • zathura-pdf-mupdf-git (for PDF support)

  • zathura-djvu-git (for DjVu support)

  • zathura-ps-git (for PostScript support)

Best regards

I think the message in pacman could have explained this a little better. I wasn't even aware zathura had plugins (in the AUR or anywhere else), but then all of a sudden zathura stopped working because I had no plugins? Lucky I picked up on this before I headed off to work ...

BTW, thanks for the work on Zathura, it is a great document viewer smile.

Offline

#138 2012-03-13 20:07:07

Hinidu
Member
Registered: 2012-03-13
Posts: 1

Re: zathura - a document viewer

Hello!
I install pdf-poppler and djvu plugins using git. I use instructions on pwmt.org, "git checkout --track develop origin/develop" result in error "fatal: Missing branch name; try -b". All other commands was succesfull.
Now zathura opens with this output in terminal:
info: succesfully loaded plugin /usr/lib/zathura/djvu.so
info: succesfully loaded plugin /usr/lib/zathura/djvu.so
info: Using plain database backend.
When i open document i get one or more messages: "cairo context error: invalid value (typically too big) for the size of the input (surface, pattern, etc.)" and i see only white screen.
Last versions of zathura, poppler and cairo installed from official repos.
What's the problem?

Last edited by Hinidu (2012-03-13 20:10:43)

Offline

#139 2012-03-13 21:37:49

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: zathura - a document viewer

mlq wrote:

Hello,

anti-destin wrote:

am i right in thinking that i need one of the pdf plugins? at the moment, i can't load any pdfs. i may wait for the plugins to be packaged and added to the official repos.

Yes, or install any of the following from the AUR:

  • zathura-pdf-poppler-git (for PDF support)

  • zathura-pdf-mupdf-git (for PDF support)

  • zathura-djvu-git (for DjVu support)

  • zathura-ps-git (for PostScript support)

Best regards

Thanks!

One problem, though: I had to remove zathura for zathura-girara-git. Now Zathura ignores my .config/zathura/zathurarc. Or is

set scroll_wrap false
set search_highlight red

not used that way now?

Thank you for this magnificent program, btw. smile

Offline

#140 2012-03-14 05:50:16

egan
Member
From: Mountain View, CA
Registered: 2009-08-17
Posts: 273

Re: zathura - a document viewer

How soon are the plugins going to be packaged?

Offline

#141 2012-03-14 07:26:09

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: zathura - a document viewer

Hello,

archman-cro wrote:

One problem, though: I had to remove zathura for zathura-girara-git. Now Zathura ignores my .config/zathura/zathurarc. Or is

set scroll_wrap false set search_highlight red

not used that way now?

The option "scroll_wrap" is not available anymore; zathura should tell you this if you run it from command line and check the output. "search_highlight" has been renamed into "highlight-color" and "highlight-active-color". You find a list of available options here and a description of how to set them here.

Best regards

Offline

#142 2012-03-14 08:15:31

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: zathura - a document viewer

Hello,

egan wrote:

How soon are the plugins going to be packaged?

I don't know since I am not responsible for that, but I've created PKGBUILDs for those plugins anyway:

Just download them, run `makepkg` and then `pacman -U zathura-xxx.pkg.tar.xz`, but you should replace them
once the official packages are available.

Best regards

Offline

#143 2012-03-14 15:42:57

manolomartinez
Member
Registered: 2011-04-29
Posts: 66
Website

Re: zathura - a document viewer

Hi, I have in my .zathurarc

set recolor_darkcolor  #93a1a1
set recolor_lightcolor #002b36
set recolor true

(if anyone is interested, this makes zathura render pages in the solarized dark basic colour combination). This has stopped working wth the new zathura. I've also tried recolor-darkcolor (%s/_/-) but doesn't work either. I should maybe say that I'm running zathura-girara-git from the AUR -- was forced to do so by the new plugin system.

Thanks for any help.

Manolo

Offline

#144 2012-03-14 15:47:54

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: zathura - a document viewer

Hello,

manolomartinez wrote:

[..]
set recolor_darkcolor  #93a1a1
set recolor_lightcolor #002b36
set recolor true[..]

You have to use "recolor-darkcolor" and "recolor-lightcolor" and you have to put the color codes in quotes or escape the hash key:

set recolor-darkcolor "#93A1A1"
set recolor-lightcolor "#002B36"

Best regards

Offline

#145 2012-03-14 15:59:08

archman-cro
Member
From: Croatia
Registered: 2010-04-04
Posts: 943
Website

Re: zathura - a document viewer

mlq wrote:

Hello,

archman-cro wrote:

One problem, though: I had to remove zathura for zathura-girara-git. Now Zathura ignores my .config/zathura/zathurarc. Or is

set scroll_wrap false set search_highlight red

not used that way now?

The option "scroll_wrap" is not available anymore; zathura should tell you this if you run it from command line and check the output. "search_highlight" has been renamed into "highlight-color" and "highlight-active-color". You find a list of available options here and a description of how to set them here.

Best regards

What is the equivalent to scroll_wrap if any? Will you include that option? What is the purpose of not having it? It was quite a neat feature..

Offline

#146 2012-03-14 16:01:15

manolomartinez
Member
Registered: 2011-04-29
Posts: 66
Website

Re: zathura - a document viewer

mlq wrote:

Hello,

manolomartinez wrote:

[..]
set recolor_darkcolor  #93a1a1
set recolor_lightcolor #002b36
set recolor true[..]

You have to use "recolor-darkcolor" and "recolor-lightcolor" and you have to put the color codes in quotes or escape the hash key:

set recolor-darkcolor "#93A1A1"
set recolor-lightcolor "#002B36"

Best regards

Thanks, it works now. It'd be helpflul, I think, to be a tad more explicit about the syntax for this option in the configuration page.

One last thing: my previous .zathurarc used my preferred colour combination by default, but in the new one I have to hit ^i to change to it. I don't remember what I did to achieve the former behaviour. Can you help me with that?

Thanks again!
Manolo

Last edited by manolomartinez (2012-03-14 16:03:34)

Offline

#147 2012-03-14 16:45:11

mlq
Member
Registered: 2011-03-15
Posts: 171
Website

Re: zathura - a document viewer

Hello,

The "recolor" setting as well as the "scroll-wrap" (when using sc_navigate) is now available in the git repository.

Best regards

Offline

#148 2012-03-14 17:53:57

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: zathura - a document viewer

mlq wrote:

Hello,

The "recolor" setting as well as the "scroll-wrap" (when using sc_navigate) is now available in the git repository.

Best regards

Many thanks

Last edited by Earnestly (2012-03-14 17:54:13)

Offline

#149 2012-03-14 19:21:50

ga01f4733
Member
From: NYC
Registered: 2008-12-05
Posts: 117

Re: zathura - a document viewer

awesome mlq, love the invert default. thx


There are no foreign lands. It is the traveler only who is foreign. --R.L Stevenson

Offline

#150 2012-03-14 22:36:35

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: zathura - a document viewer


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

Board footer

Powered by FluxBB