Okular 0.15 and forward search

2012-08-25 Thread Michael Bach
Dear LyX Users and Developers,

I am running LyX 2.0.4 under Arch GNU/Linux with Okular 0.15. I got the inverse
search to work already and would like to use forward search.

Now I tried the predefined okular in Tools  Preferences  File Handling 
File Formats  Viewer

I also used a custom variant: okular --unique file:$$o#src:$$n $$t

which I found on the web and that did not work either. It opens the pdf file
correctly, but does not jump (near) to the line I am on in LyX.

So to all LyX-okular users: Was there any change to the okular syntax on the
0.15 update on August 1st regarding forward search? Any other tips?

Michael



Re: Spellchecker-- AGAIN

2012-08-25 Thread Liviu Andronic
On Fri, Aug 24, 2012 at 6:07 PM, UD ehud.kap...@gmail.com wrote:
 I tried removing ~/.lyx and restarting Lyx before I posted my original
 question, but it did not work.
 My suspicion is that the compiled-from-source lyx somehow failed to make
 contact with the spellchecker and dictionaries,
 and that when I run lyx it is that version (from /usr/local/bin) that is
 actually running.

You likely didn't compile with the corresponding options enabled
(aspell, hunspell and/or enchant).


 I do not have this problem on several other machines,
 where I used the binary installer (both for Windows and for ubuntu), which
 is why I suspect the compiled-from-source version.

If possible, try to install the version from the PPA: The
spellcheckers, when installed, should work out of the box.

Liviu


Re: Okular 0.15 and forward search

2012-08-25 Thread Jürgen Spitzmüller
2012/8/25 Michael Bach:
 Dear LyX Users and Developers,

 I am running LyX 2.0.4 under Arch GNU/Linux with Okular 0.15. I got the 
 inverse
 search to work already and would like to use forward search.

 Now I tried the predefined okular in Tools  Preferences  File Handling 
 File Formats  Viewer

 I also used a custom variant: okular --unique file:$$o#src:$$n $$t

 which I found on the web and that did not work either. It opens the pdf file
 correctly, but does not jump (near) to the line I am on in LyX.

 So to all LyX-okular users: Was there any change to the okular syntax on the
 0.15 update on August 1st regarding forward search? Any other tips?

Alas, it does not work at the moment. Okular meanwhile expects an
absolute path to the tex file, while $$t only outputs the filename
without path.

I'll have a look for the next release.

Jürgen

 Michael



Okular 0.15 and forward search

2012-08-25 Thread Michael Bach
Dear LyX Users and Developers,

I am running LyX 2.0.4 under Arch GNU/Linux with Okular 0.15. I got the inverse
search to work already and would like to use forward search.

Now I tried the predefined okular in Tools  Preferences  File Handling 
File Formats  Viewer

I also used a custom variant: okular --unique file:$$o#src:$$n $$t

which I found on the web and that did not work either. It opens the pdf file
correctly, but does not jump (near) to the line I am on in LyX.

So to all LyX-okular users: Was there any change to the okular syntax on the
0.15 update on August 1st regarding forward search? Any other tips?

Michael



Re: Spellchecker-- AGAIN

2012-08-25 Thread Liviu Andronic
On Fri, Aug 24, 2012 at 6:07 PM, UD ehud.kap...@gmail.com wrote:
 I tried removing ~/.lyx and restarting Lyx before I posted my original
 question, but it did not work.
 My suspicion is that the compiled-from-source lyx somehow failed to make
 contact with the spellchecker and dictionaries,
 and that when I run lyx it is that version (from /usr/local/bin) that is
 actually running.

You likely didn't compile with the corresponding options enabled
(aspell, hunspell and/or enchant).


 I do not have this problem on several other machines,
 where I used the binary installer (both for Windows and for ubuntu), which
 is why I suspect the compiled-from-source version.

If possible, try to install the version from the PPA: The
spellcheckers, when installed, should work out of the box.

Liviu


Re: Okular 0.15 and forward search

2012-08-25 Thread Jürgen Spitzmüller
2012/8/25 Michael Bach:
 Dear LyX Users and Developers,

 I am running LyX 2.0.4 under Arch GNU/Linux with Okular 0.15. I got the 
 inverse
 search to work already and would like to use forward search.

 Now I tried the predefined okular in Tools  Preferences  File Handling 
 File Formats  Viewer

 I also used a custom variant: okular --unique file:$$o#src:$$n $$t

 which I found on the web and that did not work either. It opens the pdf file
 correctly, but does not jump (near) to the line I am on in LyX.

 So to all LyX-okular users: Was there any change to the okular syntax on the
 0.15 update on August 1st regarding forward search? Any other tips?

Alas, it does not work at the moment. Okular meanwhile expects an
absolute path to the tex file, while $$t only outputs the filename
without path.

I'll have a look for the next release.

Jürgen

 Michael



Okular 0.15 and forward search

2012-08-25 Thread Michael Bach
Dear LyX Users and Developers,

I am running LyX 2.0.4 under Arch GNU/Linux with Okular 0.15. I got the inverse
search to work already and would like to use forward search.

Now I tried the predefined "okular" in Tools > Preferences > File Handling >
File Formats > Viewer

I also used a custom variant: okular --unique "file:$$o#src:$$n $$t"

which I found on the web and that did not work either. It opens the pdf file
correctly, but does not jump (near) to the line I am on in LyX.

So to all LyX-okular users: Was there any change to the okular syntax on the
0.15 update on August 1st regarding forward search? Any other tips?

Michael



Re: Spellchecker-- AGAIN

2012-08-25 Thread Liviu Andronic
On Fri, Aug 24, 2012 at 6:07 PM, UD  wrote:
> I tried removing ~/.lyx and restarting Lyx before I posted my original
> question, but it did not work.
> My suspicion is that the compiled-from-source lyx somehow failed to make
> contact with the spellchecker and dictionaries,
> and that when I run lyx it is that version (from /usr/local/bin) that is
> actually running.
>
You likely didn't compile with the corresponding options enabled
(aspell, hunspell and/or enchant).


> I do not have this problem on several other machines,
> where I used the binary installer (both for Windows and for ubuntu), which
> is why I suspect the compiled-from-source version.
>
If possible, try to install the version from the PPA: The
spellcheckers, when installed, should work out of the box.

Liviu


Re: Okular 0.15 and forward search

2012-08-25 Thread Jürgen Spitzmüller
2012/8/25 Michael Bach:
> Dear LyX Users and Developers,
>
> I am running LyX 2.0.4 under Arch GNU/Linux with Okular 0.15. I got the 
> inverse
> search to work already and would like to use forward search.
>
> Now I tried the predefined "okular" in Tools > Preferences > File Handling >
> File Formats > Viewer
>
> I also used a custom variant: okular --unique "file:$$o#src:$$n $$t"
>
> which I found on the web and that did not work either. It opens the pdf file
> correctly, but does not jump (near) to the line I am on in LyX.
>
> So to all LyX-okular users: Was there any change to the okular syntax on the
> 0.15 update on August 1st regarding forward search? Any other tips?

Alas, it does not work at the moment. Okular meanwhile expects an
absolute path to the tex file, while $$t only outputs the filename
without path.

I'll have a look for the next release.

Jürgen

> Michael
>