Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/25 Jürgen Spitzmüller:
 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.

It will be fixed in LyX 2.0.5.

Jürgen


Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107 as of now):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/27 Michael Bach pha...@gmail.com:
 Thanks! As I would really like to have it for 2.0.4 I will use the custom
 command

 okular --unique $$o#src:$$n $$f

 for Tools  Preferences  File Handling  File Formats  Viewer as indicated
 here (line 107 as of now):
 http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.

Jürgen

 Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 4:44 PM, Jürgen Spitzmüller wrote:

2012/8/27 Michael Bach pha...@gmail.com:

Thanks! As I would really like to have it for 2.0.4 I will use the custom
command

okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as indicated
here (line 107 as of now):
http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x


This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.



Ah, I thought the $$f had been implemented already (i.e. for other 
viewers), but was not set for the default okular command. But then you 
would surely have told me to do what I was trying to do :)


Thanks again and obviously looking forward to 2.0.5!

Michael


Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/25 Jürgen Spitzmüller:
 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.

It will be fixed in LyX 2.0.5.

Jürgen


Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107 as of now):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/27 Michael Bach pha...@gmail.com:
 Thanks! As I would really like to have it for 2.0.4 I will use the custom
 command

 okular --unique $$o#src:$$n $$f

 for Tools  Preferences  File Handling  File Formats  Viewer as indicated
 here (line 107 as of now):
 http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.

Jürgen

 Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 4:44 PM, Jürgen Spitzmüller wrote:

2012/8/27 Michael Bach pha...@gmail.com:

Thanks! As I would really like to have it for 2.0.4 I will use the custom
command

okular --unique $$o#src:$$n $$f

for Tools  Preferences  File Handling  File Formats  Viewer as indicated
here (line 107 as of now):
http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x


This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.



Ah, I thought the $$f had been implemented already (i.e. for other 
viewers), but was not set for the default okular command. But then you 
would surely have told me to do what I was trying to do :)


Thanks again and obviously looking forward to 2.0.5!

Michael


Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/25 Jürgen Spitzmüller:
> 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.

It will be fixed in LyX 2.0.5.

Jürgen


Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique "$$o#src:$$n $$f"

for Tools > Preferences > File Handling > File Formats > Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique "$$o#src:$$n $$f"

for Tools > Preferences > File Handling > File Formats > Viewer as 
indicated here (line 107 as of now):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 8:52 AM, Jürgen Spitzmüller wrote:


It will be fixed in LyX 2.0.5.



Thanks! As I would really like to have it for 2.0.4 I will use the 
custom command


okular --unique "$$o#src:$$n $$f"

for Tools > Preferences > File Handling > File Formats > Viewer as 
indicated here (line 107):

http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

Michael



Re: Okular 0.15 and forward search

2012-08-27 Thread Jürgen Spitzmüller
2012/8/27 Michael Bach :
> Thanks! As I would really like to have it for 2.0.4 I will use the custom
> command
>
> okular --unique "$$o#src:$$n $$f"
>
> for Tools > Preferences > File Handling > File Formats > Viewer as indicated
> here (line 107 as of now):
> http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x

This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.

Jürgen

> Michael
>


Re: Okular 0.15 and forward search

2012-08-27 Thread Michael Bach

On 8/27/2012 4:44 PM, Jürgen Spitzmüller wrote:

2012/8/27 Michael Bach :

Thanks! As I would really like to have it for 2.0.4 I will use the custom
command

okular --unique "$$o#src:$$n $$f"

for Tools > Preferences > File Handling > File Formats > Viewer as indicated
here (line 107 as of now):
http://www.lyx.org/trac/browser/lyxgit/status.20x?rev=2.0.x


This won't work, since LyX 2.0.4 does not know the $$f placeholder.
You'd need to apply the whole patch to the 2.0.4 sources or checkout
and compile the stable branch.



Ah, I thought the $$f had been implemented already (i.e. for other 
viewers), but was not set for the default "okular" command. But then you 
would surely have told me to do what I was trying to do :)


Thanks again and obviously looking forward to 2.0.5!

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: 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: 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: 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
>