You are not logged in.

#26 2011-04-14 19:46:31

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 356

Re: zathura - a document viewer

Thanks, I got now how to use the bookmark, bmark mybm1 to bookmark a page, than blist mybm1 to go to the bookmarked page, if  i I need to list all this saved bookmarks I don't know how, anyway I would appriciate to know what's the Visual Mode and the Insert Mode (some examples of use would be great).

Offline

#27 2011-04-16 15:04:37

cbrunos
Member
Registered: 2010-07-22
Posts: 55

Re: zathura - a document viewer

Does zathura support dual view?


Xmonad gets sh*t done. Fast.

Offline

#28 2011-04-17 20:24:53

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: zathura - a document viewer

To list bookmarks saved and open them, then just continue pressing tab after blist which goes through the list and then return to open...

Sorry I dunno what insert or visual mode is in zathura? I tried to search but couldn't find anything and the man isn't helpfull either... In vim, then insert mode is when typing text and not commands and visual mode is for when wanting to mark a section of text visually for e.g. copying etc.

Offline

#29 2011-04-19 01:52:44

Haptic
Member
Registered: 2009-09-03
Posts: 149

Re: zathura - a document viewer

cbrunos wrote:

Does zathura support dual view?

As far as I know, it does not. Only 2 forms I know it supports its fit-to-page and fit-to-width.

mhertz wrote:

To list bookmarks saved and open them, then just continue pressing tab after blist which goes through the list and then return to open...

Sorry I dunno what insert or visual mode is in zathura? I tried to search but couldn't find anything and the man isn't helpfull either... In vim, then insert mode is when typing text and not commands and visual mode is for when wanting to mark a section of text visually for e.g. copying etc.

I'd like to know this too.

Last edited by Haptic (2011-04-19 01:53:31)

Offline

#30 2011-04-19 06:12:55

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

Re: zathura - a document viewer

Hello,

Haptic wrote:
cbrunos wrote:

Does zathura support dual view?

As far as I know, it does not. Only 2 forms I know it supports its fit-to-page and fit-to-width.

Not yet.

Haptic wrote:
mhertz wrote:

To list bookmarks saved and open them, then just continue pressing tab after blist which goes through the list and then return to open...

Sorry I dunno what insert or visual mode is in zathura? I tried to search but couldn't find anything and the man isn't helpfull either... In vim, then insert mode is when typing text and not commands and visual mode is for when wanting to mark a section of text visually for e.g. copying etc.

I'd like to know this too.

It does nothing at the moment.

Best regards

Offline

#31 2011-04-19 15:09:57

jwhendy
Member
Registered: 2010-04-01
Posts: 555

Re: zathura - a document viewer

Is there an http equivalent for the git repo? I'm behind a firewall at work, and can't use the git protocol with a git:// address. Many other repos have this, but I haven't been able to find one for zathura.

Offline

#32 2011-04-19 16:13:17

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: zathura - a document viewer

Yes, as listed on their homesite: http://git.pwmt.org/

Gzipped tarball of latest zathura snapshot: http://git.pwmt.org/?p=zathura.git;a=sn … EAD;sf=tgz

Last edited by mhertz (2011-04-19 16:17:55)

Offline

#33 2011-04-19 16:18:54

jwhendy
Member
Registered: 2010-04-01
Posts: 555

Re: zathura - a document viewer

Perhaps I'm dense. What command results in a successful clone of zathura in the following form:

 $ git clone http://fill-in-the-blank-here.git

?

Offline

#34 2011-05-04 01:17:15

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 6,839

Re: zathura - a document viewer

Another question about mapping, I'd like to map shift-space to do FULL_UP (according to config.h), but can't figure out the syntax to the :map command.

It'd be a lot more convenient if simply calling :map listed down current mappings, which we could then emulate (as pentadactyl does it).


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#35 2011-05-04 08:41:38

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

Re: zathura - a document viewer

Hello,

ngoonee wrote:

Another question about mapping, I'd like to map shift-space to do FULL_UP (according to config.h), but can't figure out the syntax to the :map command.

map <S-<Space>> scroll full_up

Best regards

Offline

#36 2011-05-05 01:29:00

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 6,839

Re: zathura - a document viewer

mlq wrote:

Hello,

ngoonee wrote:

Another question about mapping, I'd like to map shift-space to do FULL_UP (according to config.h), but can't figure out the syntax to the :map command.

map <S-<Space>> scroll full_up

Best regards

Thanks, will try it once I'm back to my PC smile.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#37 2011-05-10 14:39:39

jwhendy
Member
Registered: 2010-04-01
Posts: 555

Re: zathura - a document viewer

Bump from above

jwhendy wrote:

Perhaps I'm dense. What command results in a successful clone of zathura in the following form:

 $ git clone http://fill-in-the-blank-here.git

?

Does such an http git address exist for zathura? I've looked and looked and have never found such an address for any project that uses the (I believe, anyway) repo.or.cz style sites. Thanks for any tips.

Offline

#38 2011-05-10 16:53:09

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: zathura - a document viewer

Ehh, you cannot use git to clone a http address! The http addresses of repositories are for their web-interface.

To clone the zathura git repository:

git clone git://pwmt.org/zathura.git

Offline

#39 2011-05-10 18:10:41

jwhendy
Member
Registered: 2010-04-01
Posts: 555

Re: zathura - a document viewer

@mhertz:

Sigh... no one is trying to clone an http address -- I want to clone a git repo using the http protocol. Did you ready my POST where I state why I want to do this? I'm behind a firewall and 'git clone git://anything-you-can-think-of.git' does't work.

github realizes this, hence their notice HERE and provision of an http protocol alternative, as discussed HERE.

repo.or.cz is another popular hosting site, and is used by emacs org-mode (which I use everyday); they address those behind firewalls HERE, where they say:

For those of you behind a firewall that allows only HTTP, you can clone like this (can be somewhat slow), either from orgmode.org or from repo.or.cz:

$ git clone http://orgmode.org/org-mode.git
$ git clone http://repo.or.cz/r/org-mode.git

Lastly, Arch hosted git repos have this alternative as well. See one example (just picked the top of the list), ABS and note the bottom of the page:

Are things any clearer? All I'm asking is if the zathura repo has an alternative address that can be accessed via http protocol for those behind firewalls. The git:// address just times out for me because it's blocked. I can keep downloading a snapshot and manually fiddling with the PKGBUILD to point to it, but it'd be much easier to just change the PKGBUILD address to point to a repo I can access.

Offline

#40 2011-05-10 22:42:14

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: zathura - a document viewer

I sincerly apologise for my lack of understanding and wrong posting, then!

Yes, when I said http address, i did know that you where after a http://git... address, which _still_ is a http address i.e. using the http protocol and not the git one!

However, I did not know that you could use git to clone from a webinterface of a git repository, and so for that I apologize!

Yes, I did read your original post, and I also replied with a link for a non-git downloadable source, as I just thought you where after getting a way to download the source, and not that you where after still using git specifically!

Sorry that I do not have a solution for you, but I just felt that I had to explain that I wasen't a total idiot, _and_ give you an apologi for posting wrong info i.e. "not being able to use git from http..."

CU, Martin.

Last edited by mhertz (2011-05-10 22:47:17)

Offline

#41 2011-05-10 22:46:17

jwhendy
Member
Registered: 2010-04-01
Posts: 555

Re: zathura - a document viewer

@mhertz: No worries; thanks for the apology. I'm probably in the extreme minority of people that experiences any issues with using the git protocol -- it's only becasue of my corporate firewall. Thus, some probably never have to worry about it and aren't aware of it -- no problem. Like I said, I can download the tar.gz snapshot and manually copy it to the right place during a yaourt build, but it's kind of annoying -- at least it hasn't been updating that often.

The question probably requires mlq's input or whoever manages the domain. I think only they would know if there's an http alternative protocol available. I've seen that style of repo interface before and never been able to find an alternative... I live with it smile

Offline

#42 2011-05-10 22:49:38

mhertz
Member
From: Denmark
Registered: 2010-06-19
Posts: 664

Re: zathura - a document viewer

thanks, mate; I hope you find a solution by someone else among here more smarter than me, which shouldn't be hard to find! wink

CU, Martin.

Offline

#43 2011-05-17 17:41:51

Jabrick
Member
Registered: 2011-05-13
Posts: 79

Re: zathura - a document viewer

Zathura looks like a great pdf viewer, and I want to use it as my default pdf viewer.
Unfortunately I cannot find the config.h file, I used "find / -name config.h, and none of them had anything to do with Zathura.
I've tried searching online, but don't exactly know what steps I should take to find it.
If anyone can post me a link to the source code it would be greatly appreciated.
I just want to be able to use the + and - keys on my keypad to zoom in and out, and by opening a pdf file simply by clicking it from chromium.
I know I can create a zathurarc to configure Zathura, but I'm not sure how to write the code without an example.
Thanks in advance.

Offline

#44 2011-05-17 17:57:48

pnutzh4x0r
Member
Registered: 2009-08-11
Posts: 24

Re: zathura - a document viewer

@jabrick: you need the config.h file from the zathura source.  You can either check it from git or you can download the source tarball and look in there.  The source code is on the project website: https://pwmt.org/projects/zathura/

Offline

#45 2011-05-17 21:20:08

cataclop
Member
Registered: 2011-05-17
Posts: 1

Re: zathura - a document viewer

On 2010-07-05 at 06:43:36, on the old topic, rb wrote :
"It's possible to open the print dialog box when printing? Sometimes I want to print odd pages first, and the even pages later but I can't figure out how to do that in zathura."

I've found a possible solution, compiling zathura from git sources :
- first I installed xpp : http://cups.sourceforge.net/xpp/ ;
- then in config.h, I put that (line 63) : char* print_command = "xpp -d '%s' -P %s %s %s"; /* printer / pages / file */
what makes zathura use xpp instead of lp for printing, and makes it possible to custom printing options.

Hope it will be useful ; excuse my bad English (I'm French),

Jacques.

Offline

#46 2011-05-17 22:56:42

STEELBAS
Member
From: The Netherlands
Registered: 2010-01-18
Posts: 70

Re: zathura - a document viewer

Hello,

Perhaps I am doing something wrong, but I cannot seem to get the "Search last keyword backwards" function (with N) to work.
When I search for a keyword using "/", and then n for searching the same keyword again, things work fine, but if I then press shift+n (what I assume "N" as opposed to "n" means), I still search forwards for the keyword. Please let me know if I am committing a silly, though smile

Offline

#47 2011-05-18 15:29:49

Jabrick
Member
Registered: 2011-05-13
Posts: 79

Re: zathura - a document viewer

Thank you pnutzh4x0r for the link.
I didn't know that was the source code ...
Anyways there is no "config.h" but rather a "config.def.h",
Should I just move that file to "~/.config/zathura/zathurarc" and try to work from there?

Offline

#48 2011-05-19 08:58:33

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

Re: zathura - a document viewer

Hello,

jwhendy wrote:

Does such an http git address exist for zathura? I've looked and looked and have never found such an address for any project that uses the (I believe, anyway) repo.or.cz style sites. Thanks for any tips.

No, but I wrote it down to check on that later.

Jabrick wrote:

Anyways there is no "config.h" but rather a "config.def.h", Should I just move that file to "~/.config/zathura/zathurarc" and try to work from there?

The config.h file is created based upon the config.def.h file on the first build. Download the source, type "make" and there you go.

STEELBAS wrote:

When I search for a keyword using "/", and then n for searching the same keyword again, things work fine, but if I then press shift+n (what I assume "N" as opposed to "n" means), I still search forwards for the keyword. Please let me know if I am committing a silly, though smile

I have fixed this in the git version. Thank you.

Best regards

Offline

#49 2011-05-19 14:37:06

jwhendy
Member
Registered: 2010-04-01
Posts: 555

Re: zathura - a document viewer

@mlq: thanks for following up. It would be wonderful to have such an alternative.

Offline

#50 2011-05-19 17:56:24

STEELBAS
Member
From: The Netherlands
Registered: 2010-01-18
Posts: 70

Re: zathura - a document viewer

mlq wrote:
STEELBAS wrote:

When I search for a keyword using "/", and then n for searching the same keyword again, things work fine, but if I then press shift+n (what I assume "N" as opposed to "n" means), I still search forwards for the keyword. Please let me know if I am committing a silly, though smile

I have fixed this in the git version. Thank you.

Best regards

Greatness. Thank YOU. smile

"Gitting" it now. (punpunpun)

Offline

Board footer

Powered by FluxBB