Re: Forward/reverse search and LuaTeX

2013-10-17 Thread Rudi Gaelzer
For me, Forward/Reverse search only works with pdflatex.
For Xelatex I probably should enter with some custom configuration.  If anyone 
knows how to do it, please advise.

Even with pdflatex, reverse search works ok, but for Forward search the 
--unique specification is not obeyed.  Every time I want the jump LyX = PDF, 
a new instance of Okular is launched.

On Tuesday 10 September 2013 08:00:04 stefano franchi wrote:
 Has anyone managed to get forward/reserve search fully working when using
 LuaTeX as a backend?
 Automatic setting fails with LuaTeX (for me, at least).
 
 I got reverse search (from pdf to lyx) working by following the manual
 setup instructions in the Additional Features manual: creating a custom
 format (pdf6: Luatex/Synctex) and changing the compilation instruction to:
 
 lualatex -synctex=1 $$i
 
 Regular LuaTeX compilation would otherwise fail with an Undefined control
 sequence error on the /synctex line in the preamble.
 
 But I cannot get the forward search (lyx--pdf) working properly. When I
 select Forward search from the pop-up dialog I always get a new okular
 instance. The Okular command in Tools-Preferences-Output-General is
 
 okular --unique $$o#src:$$n $$f
 
 
 Apparently, the unique flag is ignored.
 
 
 Cheers,
 
 Stefano
 
 -- 
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA
 
 stef...@tamu.edu
 http://stefano.cleinias.org

-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Re: Forward/reverse search and LuaTeX

2013-10-17 Thread Rudi Gaelzer
On Thursday 17 October 2013 11:48:30 Rudi Gaelzer wrote:
 Even with pdflatex, reverse search works ok, but for Forward search the 
 --unique specification is not obeyed.  Every time I want the jump LyX = 
 PDF, a new instance of Okular is launched.

Actually, this is not rigorously true. The behavior is more puzzling than that.
If I first open an okular instance with View - PDF (or clicking on the icon), 
from that window I can do Reverse search all right.
However, if I ask for a Forward search, a second okular window opens on the 
correct location, and with this second window I can perform both Forward and 
Reverse.  However, if I exit LyX, open the document again and select Navigate 
- Forward search as the first thing, LyX warns me that I should first compile 
the document...

So, I guess that this is still an okular bug...

-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Re: Forward/reverse search and LuaTeX

2013-10-17 Thread Rudi Gaelzer
For me, Forward/Reverse search only works with pdflatex.
For Xelatex I probably should enter with some custom configuration.  If anyone 
knows how to do it, please advise.

Even with pdflatex, reverse search works ok, but for Forward search the 
--unique specification is not obeyed.  Every time I want the jump LyX = PDF, 
a new instance of Okular is launched.

On Tuesday 10 September 2013 08:00:04 stefano franchi wrote:
 Has anyone managed to get forward/reserve search fully working when using
 LuaTeX as a backend?
 Automatic setting fails with LuaTeX (for me, at least).
 
 I got reverse search (from pdf to lyx) working by following the manual
 setup instructions in the Additional Features manual: creating a custom
 format (pdf6: Luatex/Synctex) and changing the compilation instruction to:
 
 lualatex -synctex=1 $$i
 
 Regular LuaTeX compilation would otherwise fail with an Undefined control
 sequence error on the /synctex line in the preamble.
 
 But I cannot get the forward search (lyx--pdf) working properly. When I
 select Forward search from the pop-up dialog I always get a new okular
 instance. The Okular command in Tools-Preferences-Output-General is
 
 okular --unique $$o#src:$$n $$f
 
 
 Apparently, the unique flag is ignored.
 
 
 Cheers,
 
 Stefano
 
 -- 
 __
 Stefano Franchi
 Associate Research Professor
 Department of Hispanic StudiesPh:   +1 (979) 845-2125
 Texas AM University  Fax:  +1 (979) 845-6421
 College Station, Texas, USA
 
 stef...@tamu.edu
 http://stefano.cleinias.org

-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Re: Forward/reverse search and LuaTeX

2013-10-17 Thread Rudi Gaelzer
On Thursday 17 October 2013 11:48:30 Rudi Gaelzer wrote:
 Even with pdflatex, reverse search works ok, but for Forward search the 
 --unique specification is not obeyed.  Every time I want the jump LyX = 
 PDF, a new instance of Okular is launched.

Actually, this is not rigorously true. The behavior is more puzzling than that.
If I first open an okular instance with View - PDF (or clicking on the icon), 
from that window I can do Reverse search all right.
However, if I ask for a Forward search, a second okular window opens on the 
correct location, and with this second window I can perform both Forward and 
Reverse.  However, if I exit LyX, open the document again and select Navigate 
- Forward search as the first thing, LyX warns me that I should first compile 
the document...

So, I guess that this is still an okular bug...

-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Re: Forward/reverse search and LuaTeX

2013-10-17 Thread Rudi Gaelzer
For me, Forward/Reverse search only works with pdflatex.
For Xelatex I probably should enter with some custom configuration.  If anyone 
knows how to do it, please advise.

Even with pdflatex, reverse search works ok, but for Forward search the 
"--unique" specification is not obeyed.  Every time I want the jump LyX => PDF, 
a new instance of Okular is launched.

On Tuesday 10 September 2013 08:00:04 stefano franchi wrote:
> Has anyone managed to get forward/reserve search fully working when using
> LuaTeX as a backend?
> Automatic setting fails with LuaTeX (for me, at least).
> 
> I got reverse search (from pdf to lyx) working by following the manual
> setup instructions in the Additional Features manual: creating a custom
> format (pdf6: Luatex/Synctex) and changing the compilation instruction to:
> 
> lualatex -synctex=1 $$i
> 
> Regular LuaTeX compilation would otherwise fail with an "Undefined control
> sequence" error on the /synctex line in the preamble.
> 
> But I cannot get the forward search (lyx-->pdf) working properly. When I
> select "Forward search" from the pop-up dialog I always get a new okular
> instance. The Okular command in Tools->Preferences->Output->General is
> 
> okular --unique "$$o#src:$$n $$f"
> 
> 
> Apparently, the unique flag is ignored.
> 
> 
> Cheers,
> 
> Stefano
> 
> -- 
> __
> Stefano Franchi
> Associate Research Professor
> Department of Hispanic StudiesPh:   +1 (979) 845-2125
> Texas A University  Fax:  +1 (979) 845-6421
> College Station, Texas, USA
> 
> stef...@tamu.edu
> http://stefano.cleinias.org

-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Re: Forward/reverse search and LuaTeX

2013-10-17 Thread Rudi Gaelzer
On Thursday 17 October 2013 11:48:30 Rudi Gaelzer wrote:
> Even with pdflatex, reverse search works ok, but for Forward search the 
> "--unique" specification is not obeyed.  Every time I want the jump LyX => 
> PDF, a new instance of Okular is launched.

Actually, this is not rigorously true. The behavior is more puzzling than that.
If I first open an okular instance with View -> PDF (or clicking on the icon), 
from that window I can do Reverse search all right.
However, if I ask for a Forward search, a second okular window opens on the 
correct location, and with this second window I can perform both Forward and 
Reverse.  However, if I exit LyX, open the document again and select Navigate 
-> Forward search as the first thing, LyX warns me that I should first compile 
the document...

So, I guess that this is still an okular bug...

-- 
Rudi Gaelzer
Institute of Physics
Federal University of Rio Grande do Sul
BRAZIL
Registered linux user # 153741


Re: Forward/reverse search and LuaTeX

2013-09-21 Thread Jacob Bishop
On Fri, Sep 20, 2013 at 1:16 PM, John Kane jrkrid...@yahoo.ca wrote:

 I seem to have forward search (LyX - Ocular) working with Default Output
 Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1
 but nothing at all seems to happen when I try reverse search (Ocular -
 LyX).


Strange. No matter what I do, (Lyx-Okular) doesn't seem to work. It always
seems to drop me on the first page.


 What activation method works with reverse search? I've been using
 cntl-left click (along with a few other random keystroke combinations) with
 no results at all.


When I am in Okular, and have the browse tool active (hand-shaped tool),
then shift-click, it jumps to the correct location in the LyX file.

Jacob


Re: Forward/reverse search and LuaTeX

2013-09-21 Thread John Kane





 From: Jacob Bishop bishop.ja...@gmail.com
To: John Kane jrkrid...@yahoo.ca 
Cc: lyx-users lyx-users@lists.lyx.org 
Sent: Saturday, September 21, 2013 11:35:23 AM
Subject: Re: Forward/reverse search and LuaTeX
 







On Fri, Sep 20, 2013 at 1:16 PM, John Kane jrkrid...@yahoo.ca wrote:

I seem to have forward search (LyX - Ocular) working with Default Output 
Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1 but 
nothing at all seems to happen when I try reverse search (Ocular - LyX).


Strange. No matter what I do, (Lyx-Okular) doesn't seem to work. It always 
seems to drop me on the first page.


What activation method works with reverse search? I've been using cntl-left 
click (along with a few other random keystroke combinations) with no results 
at all.

When I am in Okular, and have the browse tool active (hand-shaped tool), then 
shift-click, it jumps to the correct location in the LyX file.

Jacob

Exactly what the manual says and I get nothing Arrgh. The worst of it is I had 
been thinking that something like reverse search would really be great just 
before this thread started. 

I just realised that I am not using LuaTex : would this be a factor?
John

Re: Forward/reverse search and LuaTeX

2013-09-21 Thread Jacob Bishop
On Fri, Sep 20, 2013 at 1:16 PM, John Kane jrkrid...@yahoo.ca wrote:

 I seem to have forward search (LyX - Ocular) working with Default Output
 Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1
 but nothing at all seems to happen when I try reverse search (Ocular -
 LyX).


Strange. No matter what I do, (Lyx-Okular) doesn't seem to work. It always
seems to drop me on the first page.


 What activation method works with reverse search? I've been using
 cntl-left click (along with a few other random keystroke combinations) with
 no results at all.


When I am in Okular, and have the browse tool active (hand-shaped tool),
then shift-click, it jumps to the correct location in the LyX file.

Jacob


Re: Forward/reverse search and LuaTeX

2013-09-21 Thread John Kane





 From: Jacob Bishop bishop.ja...@gmail.com
To: John Kane jrkrid...@yahoo.ca 
Cc: lyx-users lyx-users@lists.lyx.org 
Sent: Saturday, September 21, 2013 11:35:23 AM
Subject: Re: Forward/reverse search and LuaTeX
 







On Fri, Sep 20, 2013 at 1:16 PM, John Kane jrkrid...@yahoo.ca wrote:

I seem to have forward search (LyX - Ocular) working with Default Output 
Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1 but 
nothing at all seems to happen when I try reverse search (Ocular - LyX).


Strange. No matter what I do, (Lyx-Okular) doesn't seem to work. It always 
seems to drop me on the first page.


What activation method works with reverse search? I've been using cntl-left 
click (along with a few other random keystroke combinations) with no results 
at all.

When I am in Okular, and have the browse tool active (hand-shaped tool), then 
shift-click, it jumps to the correct location in the LyX file.

Jacob

Exactly what the manual says and I get nothing Arrgh. The worst of it is I had 
been thinking that something like reverse search would really be great just 
before this thread started. 

I just realised that I am not using LuaTex : would this be a factor?
John

Re: Forward/reverse search and LuaTeX

2013-09-21 Thread Jacob Bishop
On Fri, Sep 20, 2013 at 1:16 PM, John Kane  wrote:

> I seem to have forward search (LyX -> Ocular) working with Default Output
> Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1
> but nothing at all seems to happen when I try reverse search (Ocular ->
> LyX).
>

Strange. No matter what I do, (Lyx->Okular) doesn't seem to work. It always
seems to drop me on the first page.

>
> What activation method works with reverse search? I've been using
> cntl-left click (along with a few other random keystroke combinations) with
> no results at all.
>

When I am in Okular, and have the browse tool active (hand-shaped tool),
then shift-click, it jumps to the correct location in the LyX file.

Jacob


Re: Forward/reverse search and LuaTeX

2013-09-21 Thread John Kane





 From: Jacob Bishop <bishop.ja...@gmail.com>
To: John Kane <jrkrid...@yahoo.ca> 
Cc: lyx-users <lyx-users@lists.lyx.org> 
Sent: Saturday, September 21, 2013 11:35:23 AM
Subject: Re: Forward/reverse search and LuaTeX
 







On Fri, Sep 20, 2013 at 1:16 PM, John Kane <jrkrid...@yahoo.ca> wrote:

I seem to have forward search (LyX -> Ocular) working with Default Output 
Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1 but 
nothing at all seems to happen when I try reverse search (Ocular -> LyX).
>

Strange. No matter what I do, (Lyx->Okular) doesn't seem to work. It always 
seems to drop me on the first page.


>What activation method works with reverse search? I've been using cntl-left 
>click (along with a few other random keystroke combinations) with no results 
>at all.
>
When I am in Okular, and have the browse tool active (hand-shaped tool), then 
shift-click, it jumps to the correct location in the LyX file.

Jacob

Exactly what the manual says and I get nothing Arrgh. The worst of it is I had 
been thinking that something like reverse search would really be great just 
before this thread started. 

I just realised that I am not using LuaTex : would this be a factor?
John

Re: Forward/reverse search and LuaTeX

2013-09-20 Thread Jacob Bishop
On Wed, Sep 18, 2013 at 1:42 PM, stefano franchi
stefano.fran...@gmail.comwrote:




 On Wed, Sep 18, 2013 at 11:31 AM, Jacob Bishop bishop.ja...@gmail.comwrote:



 On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

 Is anyone around with 0.17 version of Okular to test?


 I had never used forward or reverse search previously, but, interested in
 the possibility, I just tested it on my system. Following the instructions,
 forward search seems to work fine, but not reverse search. I am using
 Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
 and acts like it is working, but does not jump to the correct location (it
 seems to go to the same place every time, no matter what).


 Hi Jacob,

 with Okular 16.5 you seem to have the opposite problem than me. Just to be
 sure, by forward search you mean jumping from Lyx to Okular, right? And
 you jump to the right location in the pdf file, while you are unable to
 jump back from the pdf to the right location in Lyx? (Sorry for asking, I
 am always getting the forward and reverse switched in my mind).


Hi Stefano,

Sorry for the slow response. I also get the two mixed up sometimes. My
original response was incorrect. I am able to correctly jump from the .pdf
file in Okular to the corresponding position within LyX (reverse search). I
am not able to jump from the LyX file to the correct location in the .pdf
from within LyX (forward search).

Jacob


Re: Forward/reverse search and LuaTeX

2013-09-20 Thread John Kane
I seem to have forward search (LyX - Ocular) working with Default Output 
Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1 but 
nothing at all seems to happen when I try reverse search (Ocular - LyX).

What activation method works with reverse search? I've been using cntl-left 
click (along with a few other random keystroke combinations) with no results at 
all.





 From: Jacob Bishop bishop.ja...@gmail.com
To: lyx-users lyx-users@lists.lyx.org 
Sent: Friday, September 20, 2013 10:49:58 AM
Subject: Re: Forward/reverse search and LuaTeX
 







On Wed, Sep 18, 2013 at 1:42 PM, stefano franchi stefano.fran...@gmail.com 
wrote:






On Wed, Sep 18, 2013 at 11:31 AM, Jacob Bishop bishop.ja...@gmail.com wrote:





On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

Is anyone around with 0.17 version of Okular to test?



I had never used forward or reverse search previously, but, interested in the 
possibility, I just tested it on my system. Following the instructions, 
forward search seems to work fine, but not reverse search. I am using Okular  
0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows, and acts 
like it is working, but does not jump to the correct location (it seems to go 
to the same place every time, no matter what).




Hi Jacob,


with Okular 16.5 you seem to have the opposite problem than me. Just to be 
sure, by forward search you mean jumping from Lyx to Okular, right? And you 
jump to the right location in the pdf file, while you are unable to jump back 
from the pdf to the right location in Lyx? (Sorry for asking, I am always 
getting the forward and reverse switched in my mind).


 
Hi Stefano, 

Sorry for the slow response. I also 
get the two mixed up sometimes. My original  
response was incorrect. I am able to correctly jump from the .pdf file in 
Okular to 
the corresponding position within LyX (reverse search). I am not able to jump 
from the LyX file to the correct location in the .pdf from within 
LyX (forward search).


Jacob

Re: Forward/reverse search and LuaTeX

2013-09-20 Thread Jacob Bishop
On Wed, Sep 18, 2013 at 1:42 PM, stefano franchi
stefano.fran...@gmail.comwrote:




 On Wed, Sep 18, 2013 at 11:31 AM, Jacob Bishop bishop.ja...@gmail.comwrote:



 On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

 Is anyone around with 0.17 version of Okular to test?


 I had never used forward or reverse search previously, but, interested in
 the possibility, I just tested it on my system. Following the instructions,
 forward search seems to work fine, but not reverse search. I am using
 Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
 and acts like it is working, but does not jump to the correct location (it
 seems to go to the same place every time, no matter what).


 Hi Jacob,

 with Okular 16.5 you seem to have the opposite problem than me. Just to be
 sure, by forward search you mean jumping from Lyx to Okular, right? And
 you jump to the right location in the pdf file, while you are unable to
 jump back from the pdf to the right location in Lyx? (Sorry for asking, I
 am always getting the forward and reverse switched in my mind).


Hi Stefano,

Sorry for the slow response. I also get the two mixed up sometimes. My
original response was incorrect. I am able to correctly jump from the .pdf
file in Okular to the corresponding position within LyX (reverse search). I
am not able to jump from the LyX file to the correct location in the .pdf
from within LyX (forward search).

Jacob


Re: Forward/reverse search and LuaTeX

2013-09-20 Thread John Kane
I seem to have forward search (LyX - Ocular) working with Default Output 
Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1 but 
nothing at all seems to happen when I try reverse search (Ocular - LyX).

What activation method works with reverse search? I've been using cntl-left 
click (along with a few other random keystroke combinations) with no results at 
all.





 From: Jacob Bishop bishop.ja...@gmail.com
To: lyx-users lyx-users@lists.lyx.org 
Sent: Friday, September 20, 2013 10:49:58 AM
Subject: Re: Forward/reverse search and LuaTeX
 







On Wed, Sep 18, 2013 at 1:42 PM, stefano franchi stefano.fran...@gmail.com 
wrote:






On Wed, Sep 18, 2013 at 11:31 AM, Jacob Bishop bishop.ja...@gmail.com wrote:





On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

Is anyone around with 0.17 version of Okular to test?



I had never used forward or reverse search previously, but, interested in the 
possibility, I just tested it on my system. Following the instructions, 
forward search seems to work fine, but not reverse search. I am using Okular  
0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows, and acts 
like it is working, but does not jump to the correct location (it seems to go 
to the same place every time, no matter what).




Hi Jacob,


with Okular 16.5 you seem to have the opposite problem than me. Just to be 
sure, by forward search you mean jumping from Lyx to Okular, right? And you 
jump to the right location in the pdf file, while you are unable to jump back 
from the pdf to the right location in Lyx? (Sorry for asking, I am always 
getting the forward and reverse switched in my mind).


 
Hi Stefano, 

Sorry for the slow response. I also 
get the two mixed up sometimes. My original  
response was incorrect. I am able to correctly jump from the .pdf file in 
Okular to 
the corresponding position within LyX (reverse search). I am not able to jump 
from the LyX file to the correct location in the .pdf from within 
LyX (forward search).


Jacob

Re: Forward/reverse search and LuaTeX

2013-09-20 Thread Jacob Bishop
On Wed, Sep 18, 2013 at 1:42 PM, stefano franchi
wrote:

>
>
>
> On Wed, Sep 18, 2013 at 11:31 AM, Jacob Bishop wrote:
>
>>
>>
>> On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda  wrote:
>>
>>> Is anyone around with 0.17 version of Okular to test?
>>>
>>
>> I had never used forward or reverse search previously, but, interested in
>> the possibility, I just tested it on my system. Following the instructions,
>> forward search seems to work fine, but not reverse search. I am using
>> Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
>> and acts like it is working, but does not jump to the correct location (it
>> seems to go to the same place every time, no matter what).
>>
>>
> Hi Jacob,
>
> with Okular 16.5 you seem to have the opposite problem than me. Just to be
> sure, by "forward search" you mean jumping from Lyx to Okular, right? And
> you jump to the right location in the pdf file, while you are unable to
> jump back from the pdf to the right location in Lyx? (Sorry for asking, I
> am always getting the "forward" and "reverse" switched in my mind).
>
>
Hi Stefano,

Sorry for the slow response. I also get the two mixed up sometimes. My
original response was incorrect. I am able to correctly jump from the .pdf
file in Okular to the corresponding position within LyX (reverse search). I
am not able to jump from the LyX file to the correct location in the .pdf
from within LyX (forward search).

Jacob


Re: Forward/reverse search and LuaTeX

2013-09-20 Thread John Kane
I seem to have forward search (LyX -> Ocular) working with Default Output 
Format set to PDF(pdflatex) and Syncronize with Output set to \synctex = 1 but 
nothing at all seems to happen when I try reverse search (Ocular -> LyX).

What activation method works with reverse search? I've been using cntl-left 
click (along with a few other random keystroke combinations) with no results at 
all.





 From: Jacob Bishop <bishop.ja...@gmail.com>
To: lyx-users <lyx-users@lists.lyx.org> 
Sent: Friday, September 20, 2013 10:49:58 AM
Subject: Re: Forward/reverse search and LuaTeX
 







On Wed, Sep 18, 2013 at 1:42 PM, stefano franchi <stefano.fran...@gmail.com> 
wrote:


>
>
>
>
>On Wed, Sep 18, 2013 at 11:31 AM, Jacob Bishop <bishop.ja...@gmail.com> wrote:
>
>
>>
>>
>>
>>On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda <sa...@lyx.org> wrote:
>>
>>Is anyone around with 0.17 version of Okular to test?
>>>
>>
>>
>>I had never used forward or reverse search previously, but, interested in the 
>>possibility, I just tested it on my system. Following the instructions, 
>>forward search seems to work fine, but not reverse search. I am using Okular  
>>0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows, and acts 
>>like it is working, but does not jump to the correct location (it seems to go 
>>to the same place every time, no matter what).
>>
>>
>
>
>Hi Jacob,
>
>
>with Okular 16.5 you seem to have the opposite problem than me. Just to be 
>sure, by "forward search" you mean jumping from Lyx to Okular, right? And you 
>jump to the right location in the pdf file, while you are unable to jump back 
>from the pdf to the right location in Lyx? (Sorry for asking, I am always 
>getting the "forward" and "reverse" switched in my mind).
>
>
 
Hi Stefano, 

Sorry for the slow response. I also 
get the two mixed up sometimes. My original  
response was incorrect. I am able to correctly jump from the .pdf file in 
Okular to 
the corresponding position within LyX (reverse search). I am not able to jump 
from the LyX file to the correct location in the .pdf from within 
LyX (forward search).


Jacob

Re: Forward/reverse search and LuaTeX

2013-09-19 Thread John Kane





 From: Jacob Bishop bishop.ja...@gmail.com
To: stefano franchi stefano.fran...@gmail.com; lyx-users 
lyx-users@lists.lyx.org 
Sent: Wednesday, September 18, 2013 12:31:19 PM
Subject: Re: Forward/reverse search and LuaTeX
 




On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

Is anyone around with 0.17 version of Okular to test?


I had never used forward or reverse search previously, but, interested in the 
possibility, I just tested it on my system. Following the instructions, forward 
search seems to work fine, but not reverse search. I am using Okular  0.16.5, 
pdflatex, and LyX 2.0.3. The forward search option shows, and acts like it is 
working, but does not jump to the correct location (it seems to go to the same 
place every time, no matter what).


Pavel

 Jacob


I
 had never even heard of forward or reverse search til this thread but 
after reading up on it a bit I tried it with LyX 2.0.6 and Ocular o.16.5
 and I get the same results.  
john

Re: Forward/reverse search and LuaTeX

2013-09-19 Thread Charlie
 On Thu, 19 Sep 2013 03:31:36 -0700 (PDT) John Kane
 jrkrid...@yahoo.ca sent this:






 From: Jacob Bishop bishop.ja...@gmail.com
To: stefano franchi stefano.fran...@gmail.com; lyx-users
lyx-users@lists.lyx.org Sent: Wednesday, September 18, 2013 12:31:19
PM Subject: Re: Forward/reverse search and LuaTeX
 




On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

Is anyone around with 0.17 version of Okular to test?


I had never used forward or reverse search previously, but, interested
in the possibility, I just tested it on my system. Following the
instructions, forward search seems to work fine, but not reverse
search. I am using Okular  0.16.5, pdflatex, and LyX 2.0.3. The
forward search option shows, and acts like it is working, but does not
jump to the correct location (it seems to go to the same place every
time, no matter what).


Pavel

 Jacob


I
 had never even heard of forward or reverse search til this thread but 
after reading up on it a bit I tried it with LyX 2.0.6 and Ocular
o.16.5
 and I get the same results.  
john


  Okular
Version 0.14.3
Using KDE Development Platform 4.8.4 (4.8.4)

Never used reverse search in Okular

If I use LyX client is the same if I use any other, like Kate, which is
not installed on my system as I use FVWM.

Ctrl + F and then I can use Next or Previous

Sorry I can't assist further

Charlie
-- 
Registered Linux User:- 329524
***

Force without wisdom falls of its own weightHorace

***

Debian GNU/Linux - just the best way to create magic

-


Re: Forward/reverse search and LuaTeX

2013-09-19 Thread John Kane





 From: Jacob Bishop bishop.ja...@gmail.com
To: stefano franchi stefano.fran...@gmail.com; lyx-users 
lyx-users@lists.lyx.org 
Sent: Wednesday, September 18, 2013 12:31:19 PM
Subject: Re: Forward/reverse search and LuaTeX
 




On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

Is anyone around with 0.17 version of Okular to test?


I had never used forward or reverse search previously, but, interested in the 
possibility, I just tested it on my system. Following the instructions, forward 
search seems to work fine, but not reverse search. I am using Okular  0.16.5, 
pdflatex, and LyX 2.0.3. The forward search option shows, and acts like it is 
working, but does not jump to the correct location (it seems to go to the same 
place every time, no matter what).


Pavel

 Jacob


I
 had never even heard of forward or reverse search til this thread but 
after reading up on it a bit I tried it with LyX 2.0.6 and Ocular o.16.5
 and I get the same results.  
john

Re: Forward/reverse search and LuaTeX

2013-09-19 Thread Charlie
 On Thu, 19 Sep 2013 03:31:36 -0700 (PDT) John Kane
 jrkrid...@yahoo.ca sent this:






 From: Jacob Bishop bishop.ja...@gmail.com
To: stefano franchi stefano.fran...@gmail.com; lyx-users
lyx-users@lists.lyx.org Sent: Wednesday, September 18, 2013 12:31:19
PM Subject: Re: Forward/reverse search and LuaTeX
 




On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

Is anyone around with 0.17 version of Okular to test?


I had never used forward or reverse search previously, but, interested
in the possibility, I just tested it on my system. Following the
instructions, forward search seems to work fine, but not reverse
search. I am using Okular  0.16.5, pdflatex, and LyX 2.0.3. The
forward search option shows, and acts like it is working, but does not
jump to the correct location (it seems to go to the same place every
time, no matter what).


Pavel

 Jacob


I
 had never even heard of forward or reverse search til this thread but 
after reading up on it a bit I tried it with LyX 2.0.6 and Ocular
o.16.5
 and I get the same results.  
john


  Okular
Version 0.14.3
Using KDE Development Platform 4.8.4 (4.8.4)

Never used reverse search in Okular

If I use LyX client is the same if I use any other, like Kate, which is
not installed on my system as I use FVWM.

Ctrl + F and then I can use Next or Previous

Sorry I can't assist further

Charlie
-- 
Registered Linux User:- 329524
***

Force without wisdom falls of its own weightHorace

***

Debian GNU/Linux - just the best way to create magic

-


Re: Forward/reverse search and LuaTeX

2013-09-19 Thread John Kane





 From: Jacob Bishop <bishop.ja...@gmail.com>
To: stefano franchi <stefano.fran...@gmail.com>; lyx-users 
<lyx-users@lists.lyx.org> 
Sent: Wednesday, September 18, 2013 12:31:19 PM
Subject: Re: Forward/reverse search and LuaTeX
 




On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda <sa...@lyx.org> wrote:

Is anyone around with 0.17 version of Okular to test?
>

I had never used forward or reverse search previously, but, interested in the 
possibility, I just tested it on my system. Following the instructions, forward 
search seems to work fine, but not reverse search. I am using Okular  0.16.5, 
pdflatex, and LyX 2.0.3. The forward search option shows, and acts like it is 
working, but does not jump to the correct location (it seems to go to the same 
place every time, no matter what).


>Pavel
>
 Jacob


I
 had never even heard of forward or reverse search til this thread but 
after reading up on it a bit I tried it with LyX 2.0.6 and Ocular o.16.5
 and I get the same results.  
john

Re: Forward/reverse search and LuaTeX

2013-09-19 Thread Charlie
 On Thu, 19 Sep 2013 03:31:36 -0700 (PDT) "John Kane
 jrkrid...@yahoo.ca" sent this:

>
>
>
>
>
> From: Jacob Bishop <bishop.ja...@gmail.com>
>To: stefano franchi <stefano.fran...@gmail.com>; lyx-users
><lyx-users@lists.lyx.org> Sent: Wednesday, September 18, 2013 12:31:19
>PM Subject: Re: Forward/reverse search and LuaTeX
> 
>
>
>
>
>On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda <sa...@lyx.org> wrote:
>
>Is anyone around with 0.17 version of Okular to test?
>>
>
>I had never used forward or reverse search previously, but, interested
>in the possibility, I just tested it on my system. Following the
>instructions, forward search seems to work fine, but not reverse
>search. I am using Okular  0.16.5, pdflatex, and LyX 2.0.3. The
>forward search option shows, and acts like it is working, but does not
>jump to the correct location (it seems to go to the same place every
>time, no matter what).
>
>
>>Pavel
>>
> Jacob
>
>
>I
> had never even heard of forward or reverse search til this thread but 
>after reading up on it a bit I tried it with LyX 2.0.6 and Ocular
>o.16.5
> and I get the same results.  
>john


  Okular
Version 0.14.3
Using KDE Development Platform 4.8.4 (4.8.4)

Never used reverse search in Okular

If I use LyX client is the same if I use any other, like Kate, which is
not installed on my system as I use FVWM.

Ctrl + F and then I can use "Next" or "Previous"

Sorry I can't assist further

Charlie
-- 
Registered Linux User:- 329524
***

Force without wisdom falls of its own weightHorace

***

Debian GNU/Linux - just the best way to create magic

-


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Jacob Bishop
On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

 Is anyone around with 0.17 version of Okular to test?


I had never used forward or reverse search previously, but, interested in
the possibility, I just tested it on my system. Following the instructions,
forward search seems to work fine, but not reverse search. I am using
Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
and acts like it is working, but does not jump to the correct location (it
seems to go to the same place every time, no matter what).


 Pavel


Jacob


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Neal Becker
Jacob Bishop wrote:

 On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:
 
 Is anyone around with 0.17 version of Okular to test?

 
 I had never used forward or reverse search previously, but, interested in
 the possibility, I just tested it on my system. Following the instructions,
 forward search seems to work fine, but not reverse search. I am using
 Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
 and acts like it is working, but does not jump to the correct location (it
 seems to go to the same place every time, no matter what).
 

 Pavel

 
 Jacob

Can anyone explain how to test this?



Re: Forward/reverse search and LuaTeX

2013-09-18 Thread stefano franchi
On Wed, Sep 18, 2013 at 11:31 AM, Jacob Bishop bishop.ja...@gmail.comwrote:



 On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

 Is anyone around with 0.17 version of Okular to test?


 I had never used forward or reverse search previously, but, interested in
 the possibility, I just tested it on my system. Following the instructions,
 forward search seems to work fine, but not reverse search. I am using
 Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
 and acts like it is working, but does not jump to the correct location (it
 seems to go to the same place every time, no matter what).


Hi Jacob,

with Okular 16.5 you seem to have the opposite problem than me. Just to be
sure, by forward search you mean jumping from Lyx to Okular, right? And
you jump to the right location in the pdf file, while you are unable to
jump back from the pdf to the right location in Lyx? (Sorry for asking, I
am always getting the forward and reverse switched in my mind).

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Pavel Sanda
Neal Becker wrote:
 Can anyone explain how to test this?

Additional features manual, section 5.6/5.7, and read this thread from 
beginning.
Pavel


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Neal Becker
Pavel Sanda wrote:

 Neal Becker wrote:
 Can anyone explain how to test this?
 
 Additional features manual, section 5.6/5.7, and read this thread from
 beginning. Pavel

The manual says how to setup, but I don't know how to activate it.  I found 
that 
reverse search worked by shift left mouse, but I don't know how to activate 
forward search.



Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Pavel Sanda
Neal Becker wrote:
 Pavel Sanda wrote:
 
  Neal Becker wrote:
  Can anyone explain how to test this?
  
  Additional features manual, section 5.6/5.7, and read this thread from
  beginning. Pavel
 
 The manual says how to setup, but I don't know how to activate it.  I found 
 that 
 reverse search worked by shift left mouse, but I don't know how to activate 
 forward search.

Section 5.7:

If forward search is set up (as described in what follows), you can put the
cursor anywhere in your LyX document, and hit Navigate-Forward search (or
select Forward search in the context menu via right mouse click), and then the
viewer will jump to that position as well. 

Pavel


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Jacob Bishop
On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

 Is anyone around with 0.17 version of Okular to test?


I had never used forward or reverse search previously, but, interested in
the possibility, I just tested it on my system. Following the instructions,
forward search seems to work fine, but not reverse search. I am using
Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
and acts like it is working, but does not jump to the correct location (it
seems to go to the same place every time, no matter what).


 Pavel


Jacob


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Neal Becker
Jacob Bishop wrote:

 On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:
 
 Is anyone around with 0.17 version of Okular to test?

 
 I had never used forward or reverse search previously, but, interested in
 the possibility, I just tested it on my system. Following the instructions,
 forward search seems to work fine, but not reverse search. I am using
 Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
 and acts like it is working, but does not jump to the correct location (it
 seems to go to the same place every time, no matter what).
 

 Pavel

 
 Jacob

Can anyone explain how to test this?



Re: Forward/reverse search and LuaTeX

2013-09-18 Thread stefano franchi
On Wed, Sep 18, 2013 at 11:31 AM, Jacob Bishop bishop.ja...@gmail.comwrote:



 On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda sa...@lyx.org wrote:

 Is anyone around with 0.17 version of Okular to test?


 I had never used forward or reverse search previously, but, interested in
 the possibility, I just tested it on my system. Following the instructions,
 forward search seems to work fine, but not reverse search. I am using
 Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
 and acts like it is working, but does not jump to the correct location (it
 seems to go to the same place every time, no matter what).


Hi Jacob,

with Okular 16.5 you seem to have the opposite problem than me. Just to be
sure, by forward search you mean jumping from Lyx to Okular, right? And
you jump to the right location in the pdf file, while you are unable to
jump back from the pdf to the right location in Lyx? (Sorry for asking, I
am always getting the forward and reverse switched in my mind).

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Pavel Sanda
Neal Becker wrote:
 Can anyone explain how to test this?

Additional features manual, section 5.6/5.7, and read this thread from 
beginning.
Pavel


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Neal Becker
Pavel Sanda wrote:

 Neal Becker wrote:
 Can anyone explain how to test this?
 
 Additional features manual, section 5.6/5.7, and read this thread from
 beginning. Pavel

The manual says how to setup, but I don't know how to activate it.  I found 
that 
reverse search worked by shift left mouse, but I don't know how to activate 
forward search.



Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Pavel Sanda
Neal Becker wrote:
 Pavel Sanda wrote:
 
  Neal Becker wrote:
  Can anyone explain how to test this?
  
  Additional features manual, section 5.6/5.7, and read this thread from
  beginning. Pavel
 
 The manual says how to setup, but I don't know how to activate it.  I found 
 that 
 reverse search worked by shift left mouse, but I don't know how to activate 
 forward search.

Section 5.7:

If forward search is set up (as described in what follows), you can put the
cursor anywhere in your LyX document, and hit Navigate-Forward search (or
select Forward search in the context menu via right mouse click), and then the
viewer will jump to that position as well. 

Pavel


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Jacob Bishop
On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda  wrote:

> Is anyone around with 0.17 version of Okular to test?
>

I had never used forward or reverse search previously, but, interested in
the possibility, I just tested it on my system. Following the instructions,
forward search seems to work fine, but not reverse search. I am using
Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
and acts like it is working, but does not jump to the correct location (it
seems to go to the same place every time, no matter what).

>
> Pavel
>

Jacob


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Neal Becker
Jacob Bishop wrote:

> On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda  wrote:
> 
>> Is anyone around with 0.17 version of Okular to test?
>>
> 
> I had never used forward or reverse search previously, but, interested in
> the possibility, I just tested it on my system. Following the instructions,
> forward search seems to work fine, but not reverse search. I am using
> Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
> and acts like it is working, but does not jump to the correct location (it
> seems to go to the same place every time, no matter what).
> 
>>
>> Pavel
>>
> 
> Jacob

Can anyone explain how to test this?



Re: Forward/reverse search and LuaTeX

2013-09-18 Thread stefano franchi
On Wed, Sep 18, 2013 at 11:31 AM, Jacob Bishop wrote:

>
>
> On Tue, Sep 10, 2013 at 12:09 PM, Pavel Sanda  wrote:
>
>> Is anyone around with 0.17 version of Okular to test?
>>
>
> I had never used forward or reverse search previously, but, interested in
> the possibility, I just tested it on my system. Following the instructions,
> forward search seems to work fine, but not reverse search. I am using
> Okular  0.16.5, pdflatex, and LyX 2.0.3. The forward search option shows,
> and acts like it is working, but does not jump to the correct location (it
> seems to go to the same place every time, no matter what).
>
>
Hi Jacob,

with Okular 16.5 you seem to have the opposite problem than me. Just to be
sure, by "forward search" you mean jumping from Lyx to Okular, right? And
you jump to the right location in the pdf file, while you are unable to
jump back from the pdf to the right location in Lyx? (Sorry for asking, I
am always getting the "forward" and "reverse" switched in my mind).

Stefano


-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Pavel Sanda
Neal Becker wrote:
> Can anyone explain how to test this?

Additional features manual, section 5.6/5.7, and read this thread from 
beginning.
Pavel


Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Neal Becker
Pavel Sanda wrote:

> Neal Becker wrote:
>> Can anyone explain how to test this?
> 
> Additional features manual, section 5.6/5.7, and read this thread from
> beginning. Pavel

The manual says how to setup, but I don't know how to activate it.  I found 
that 
reverse search worked by shift left mouse, but I don't know how to activate 
forward search.



Re: Forward/reverse search and LuaTeX

2013-09-18 Thread Pavel Sanda
Neal Becker wrote:
> Pavel Sanda wrote:
> 
> > Neal Becker wrote:
> >> Can anyone explain how to test this?
> > 
> > Additional features manual, section 5.6/5.7, and read this thread from
> > beginning. Pavel
> 
> The manual says how to setup, but I don't know how to activate it.  I found 
> that 
> reverse search worked by shift left mouse, but I don't know how to activate 
> forward search.

Section 5.7:

If forward search is set up (as described in what follows), you can put the
cursor anywhere in your LyX document, and hit Navigate->Forward search (or
select Forward search in the context menu via right mouse click), and then the
viewer will jump to that position as well. 

Pavel


Re: Forward/reverse search and LuaTeX

2013-09-10 Thread Pavel Sanda
stefano franchi wrote:
 Has anyone managed to get forward/reserve search fully working when using
 LuaTeX as a backend?
 Automatic setting fails with LuaTeX (for me, at least).
 
 I got reverse search (from pdf to lyx) working by following the manual
 setup instructions in the Additional Features manual: creating a custom
 format (pdf6: Luatex/Synctex) and changing the compilation instruction to:
 
 lualatex -synctex=1 $$i

Time to send us patch with some paragraph or footnote in additional manual :)

 Regular LuaTeX compilation would otherwise fail with an Undefined control
 sequence error on the /synctex line in the preamble.
 
 But I cannot get the forward search (lyx--pdf) working properly. When I
 select Forward search from the pop-up dialog I always get a new okular
 instance. The Okular command in Tools-Preferences-Output-General is
 
 okular --unique $$o#src:$$n $$f
 
 
 Apparently, the unique flag is ignored.

Does forward search work with normal pdflatex? Any error message?
How old is your okular, IIRC there were such issues with old versions.
Pavel


Re: Forward/reverse search and LuaTeX

2013-09-10 Thread stefano franchi
On Tue, Sep 10, 2013 at 12:21 PM, Pavel Sanda sa...@lyx.org wrote:

 stefano franchi wrote:
  Has anyone managed to get forward/reserve search fully working when using
  LuaTeX as a backend?
  Automatic setting fails with LuaTeX (for me, at least).
 
  I got reverse search (from pdf to lyx) working by following the manual
  setup instructions in the Additional Features manual: creating a custom
  format (pdf6: Luatex/Synctex) and changing the compilation instruction
 to:
 
  lualatex -synctex=1 $$i

 Time to send us patch with some paragraph or footnote in additional manual
 :)


Ok, will do that.


  Regular LuaTeX compilation would otherwise fail with an Undefined
 control
  sequence error on the /synctex line in the preamble.
 
  But I cannot get the forward search (lyx--pdf) working properly. When I
  select Forward search from the pop-up dialog I always get a new okular
  instance. The Okular command in Tools-Preferences-Output-General is
 
  okular --unique $$o#src:$$n $$f
 
 
  Apparently, the unique flag is ignored.

 Does forward search work with normal pdflatex?


Hmm, no, just checked (should have thought of it). Same issue: new instance
and always landing on page 1


 Any error message?


No error message in the console. I see the command issued is exactly what
it should be:

 Running: okular --unique Myfile.pdf#src:54

But apparently the --unique flag is ignored as wells as the src:54 part,
since I always lend on the first page (on the new instance)


 How old is your okular, IIRC there were such issues with old versions.


I believe my version is pretty recent:
[stefano@gorgias ~]$ okular --version
Qt: 4.8.5
KDE Development Platform: 4.11.00
Okular: 0.17.0


Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Forward/reverse search and LuaTeX

2013-09-10 Thread Pavel Sanda
 On Tue, Sep 10, 2013 at 12:21 PM, Pavel Sanda sa...@lyx.org wrote:
  Does forward search work with normal pdflatex?
 
 Hmm, no, just checked (should have thought of it). Same issue: new instance
 and always landing on page 1

Ok, but Okular is known to work with pdflatex forward search, IIRC at least in 
version 0.14.
Is anyone around with 0.17 version of Okular to test?

Pavel


Re: Forward/reverse search and LuaTeX

2013-09-10 Thread Pavel Sanda
stefano franchi wrote:
 Has anyone managed to get forward/reserve search fully working when using
 LuaTeX as a backend?
 Automatic setting fails with LuaTeX (for me, at least).
 
 I got reverse search (from pdf to lyx) working by following the manual
 setup instructions in the Additional Features manual: creating a custom
 format (pdf6: Luatex/Synctex) and changing the compilation instruction to:
 
 lualatex -synctex=1 $$i

Time to send us patch with some paragraph or footnote in additional manual :)

 Regular LuaTeX compilation would otherwise fail with an Undefined control
 sequence error on the /synctex line in the preamble.
 
 But I cannot get the forward search (lyx--pdf) working properly. When I
 select Forward search from the pop-up dialog I always get a new okular
 instance. The Okular command in Tools-Preferences-Output-General is
 
 okular --unique $$o#src:$$n $$f
 
 
 Apparently, the unique flag is ignored.

Does forward search work with normal pdflatex? Any error message?
How old is your okular, IIRC there were such issues with old versions.
Pavel


Re: Forward/reverse search and LuaTeX

2013-09-10 Thread stefano franchi
On Tue, Sep 10, 2013 at 12:21 PM, Pavel Sanda sa...@lyx.org wrote:

 stefano franchi wrote:
  Has anyone managed to get forward/reserve search fully working when using
  LuaTeX as a backend?
  Automatic setting fails with LuaTeX (for me, at least).
 
  I got reverse search (from pdf to lyx) working by following the manual
  setup instructions in the Additional Features manual: creating a custom
  format (pdf6: Luatex/Synctex) and changing the compilation instruction
 to:
 
  lualatex -synctex=1 $$i

 Time to send us patch with some paragraph or footnote in additional manual
 :)


Ok, will do that.


  Regular LuaTeX compilation would otherwise fail with an Undefined
 control
  sequence error on the /synctex line in the preamble.
 
  But I cannot get the forward search (lyx--pdf) working properly. When I
  select Forward search from the pop-up dialog I always get a new okular
  instance. The Okular command in Tools-Preferences-Output-General is
 
  okular --unique $$o#src:$$n $$f
 
 
  Apparently, the unique flag is ignored.

 Does forward search work with normal pdflatex?


Hmm, no, just checked (should have thought of it). Same issue: new instance
and always landing on page 1


 Any error message?


No error message in the console. I see the command issued is exactly what
it should be:

 Running: okular --unique Myfile.pdf#src:54

But apparently the --unique flag is ignored as wells as the src:54 part,
since I always lend on the first page (on the new instance)


 How old is your okular, IIRC there were such issues with old versions.


I believe my version is pretty recent:
[stefano@gorgias ~]$ okular --version
Qt: 4.8.5
KDE Development Platform: 4.11.00
Okular: 0.17.0


Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Forward/reverse search and LuaTeX

2013-09-10 Thread Pavel Sanda
 On Tue, Sep 10, 2013 at 12:21 PM, Pavel Sanda sa...@lyx.org wrote:
  Does forward search work with normal pdflatex?
 
 Hmm, no, just checked (should have thought of it). Same issue: new instance
 and always landing on page 1

Ok, but Okular is known to work with pdflatex forward search, IIRC at least in 
version 0.14.
Is anyone around with 0.17 version of Okular to test?

Pavel


Re: Forward/reverse search and LuaTeX

2013-09-10 Thread Pavel Sanda
stefano franchi wrote:
> Has anyone managed to get forward/reserve search fully working when using
> LuaTeX as a backend?
> Automatic setting fails with LuaTeX (for me, at least).
> 
> I got reverse search (from pdf to lyx) working by following the manual
> setup instructions in the Additional Features manual: creating a custom
> format (pdf6: Luatex/Synctex) and changing the compilation instruction to:
> 
> lualatex -synctex=1 $$i

Time to send us patch with some paragraph or footnote in additional manual :)

> Regular LuaTeX compilation would otherwise fail with an "Undefined control
> sequence" error on the /synctex line in the preamble.
> 
> But I cannot get the forward search (lyx-->pdf) working properly. When I
> select "Forward search" from the pop-up dialog I always get a new okular
> instance. The Okular command in Tools->Preferences->Output->General is
> 
> okular --unique "$$o#src:$$n $$f"
> 
> 
> Apparently, the unique flag is ignored.

Does forward search work with normal pdflatex? Any error message?
How old is your okular, IIRC there were such issues with old versions.
Pavel


Re: Forward/reverse search and LuaTeX

2013-09-10 Thread stefano franchi
On Tue, Sep 10, 2013 at 12:21 PM, Pavel Sanda  wrote:

> stefano franchi wrote:
> > Has anyone managed to get forward/reserve search fully working when using
> > LuaTeX as a backend?
> > Automatic setting fails with LuaTeX (for me, at least).
> >
> > I got reverse search (from pdf to lyx) working by following the manual
> > setup instructions in the Additional Features manual: creating a custom
> > format (pdf6: Luatex/Synctex) and changing the compilation instruction
> to:
> >
> > lualatex -synctex=1 $$i
>
> Time to send us patch with some paragraph or footnote in additional manual
> :)
>
>
Ok, will do that.


> > Regular LuaTeX compilation would otherwise fail with an "Undefined
> control
> > sequence" error on the /synctex line in the preamble.
> >
> > But I cannot get the forward search (lyx-->pdf) working properly. When I
> > select "Forward search" from the pop-up dialog I always get a new okular
> > instance. The Okular command in Tools->Preferences->Output->General is
> >
> > okular --unique "$$o#src:$$n $$f"
> >
> >
> > Apparently, the unique flag is ignored.
>
> Does forward search work with normal pdflatex?


Hmm, no, just checked (should have thought of it). Same issue: new instance
and always landing on page 1


> Any error message?
>

No error message in the console. I see the command issued is exactly what
it should be:

 Running: okular --unique "Myfile.pdf#src:54

But apparently the --unique flag is ignored as wells as the src:54 part,
since I always lend on the first page (on the new instance)


> How old is your okular, IIRC there were such issues with old versions.
>

I believe my version is pretty recent:
[stefano@gorgias ~]$ okular --version
Qt: 4.8.5
KDE Development Platform: 4.11.00
Okular: 0.17.0


Cheers,

Stefano

-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic StudiesPh:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Forward/reverse search and LuaTeX

2013-09-10 Thread Pavel Sanda
> On Tue, Sep 10, 2013 at 12:21 PM, Pavel Sanda  wrote:
> > Does forward search work with normal pdflatex?
> 
> Hmm, no, just checked (should have thought of it). Same issue: new instance
> and always landing on page 1

Ok, but Okular is known to work with pdflatex forward search, IIRC at least in 
version 0.14.
Is anyone around with 0.17 version of Okular to test?

Pavel