Re: [zathura] --synctex-forward change in 0.3.4

2016-01-10 Thread gi1242+zathura
On Sat, Jan 09, 2016 at 03:12:45PM +0100, Sebastian Ramacher wrote:

>> Can I find any documentation for the --synctex-forward mechanism?
> 
> There is some in the man page.

Indeed; however it is a little brief. To quote:

--synctex-forward=input
Jump to the given position. The switch expects the  same  format
as specified for synctex's view -i.

However, I could find nothing on synctex's view -i (and don't know what
that means). I did get it working after searching the mailing list
and a little experimenting.

>> Can I suggest instead that if zathura is run with --synctex-pid, then
>> it *ALWAYS* returns immediately, and the exit status signals whether
>> it succeeded or failed.
> 
> Should be fixed with f1d027e656.

Thanks a lot!

GI

-- 
TEN REASONS WHY HELL IS BETTER THAN GRAD SCHOOL:
5. Hell is forever; Grad School just seems like it.
___
zathura mailing list
zathura@lists.pwmt.org
https://lists.pwmt.org/mailman/listinfo/zathura


Re: [zathura] Synctex in 2.9

2014-07-28 Thread gi1242+zathura
On Sat, Jul 26, 2014 at 04:16:37PM +0200, Sebastian Ramacher wrote:

 PS: Can I convert my blunder here to a desperate plea for a setting in
 the  RC file for all synctex options, instead of us having to resort
 to command line options every time?
 
 I guess we should support that and make it possible to override it via the
 command line option.
 
 Done.

Thanks a lot!!

GI

-- 
Laugh and the world laughs with you. Snore and you sleep alone.
___
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura


[zathura] Synctex in 2.9

2014-07-22 Thread gi1242+zathura
Hi All,

This might very well be a bug in my setup, but I couldn't figure out
what's going on so I thought I would post for help.

1. With verion 0.2.7 (which I compiled myself), I have synctex
   forward/backward search working perfectly.

2. Using 0.2.9 (from Debian/testing), I only have forward search
   working, but not backward search. Namely, if I control click in a
   PDF file, *nothing happens*. If I open the same PDF file in 0.2.7
   and control click, then I get taken to my TeX source as expected.

For version 2.9 (actually zathura-0.2.9-2 from Debian/testing) I run it
under a chroot. I have libsynctex installed, and also the executable
synctex in my path.

Does anyone have any ideas?

Thanks in advance.

Best,

Gautam

-- 
Chemicals: Noxious substances from which modern foods are made.
___
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura


Re: [zathura] synctex, open a new file on a specified line

2014-04-29 Thread gi1242+zathura
On Wed, Apr 23, 2014 at 07:30:51PM +0200, Sebastian Ramacher wrote:

 after some playing and searching the internet I was able to use zathura
 synctex support, by opening a file:
 zathura -s -x 'gvim --servername SYNCTEX --remote +\%{line} \%{input}'
 Introduction_en.pdf
 and switching to the specified line:
 zathura --synctex-forward 100:1:fullpath/Introduction_en.tex
 Introduction_en.pdf
 
 If I try to combine these two commands I get an error saying that the
 opened instance for Introduction_en.pdf is not found.
 I wonder why this distinction is made? Is there a way to open zathura and
 sync if file is not opened, or simply sync if the opened instance exists?
 
 It's just that nobody had any use for anything like that yet so it's
 just not there - doing anything after a document has been opened was
 always a pain to time right. But if there's interest in something like
 that, we can fix that.

Something like this is very useful when I open up a PDF viewer from my
editor (Vim of course). I'd like to have one mapping that opens a PDF
(if it's not already open) and then syncs to the current location.

However, this functionality can be trivially added with a little
scripting. See here:

http://wiki.math.cmu.edu/iki/wiki/tips/20140310-zathura-fsearch.html

GI

PS: Thanks a ton for implementing forward searches. I finally was able
to abandon Xdvi, and now do everything with PDF files.

-- 
'Common' Proof Techniques:
6. Proof by Similarity -- The other 253 cases are analogous


pgpdyiC1I86Yf.pgp
Description: PGP signature
___
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura


Re: [zathura] Mappings with numeric counts

2013-03-31 Thread gi1242+zathura
On Mon, Mar 25, 2013 at 10:35:53PM +0100, Sebastian Ramacher wrote:

 I'd like to map a H to scroll left 20 times (i.e. pressing H
 should be the equivalent of pressing 20h after the numeric count patch
 has been applied).
 
 Do you know if this is possible? What syntax should I use to pass a
 count. Doing
 
 map H scroll left 20
 
 I don't know if it's possible to do that without feedkeys, but that
 should do the trick: map H feedkeys 20h

This works perfectly! Thanks,

GI

-- 
TEN REASONS WHY HELL IS BETTER THAN GRAD SCHOOL:
9. Everyone has heard of Hell.
___
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura