Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-26 Thread Joao Luis Meloni Assirati

As far as I know, It is not possible to reverse search from a pdf file. You 
need to use the dvi, which supports marks known as dvi specials. I don't 
maintain my patches anymore.

Best regards,
João.

On Tuesday 24 February 2009 15:54:01 Pavel Sanda wrote:
 Stefano Franchi wrote:
  On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
   Stefano Franchi wrote:
I am starting to work on the final editing of  a long manuscript and
I would very much appreciate the option to click on a page in the pdf
viewer app and jump directly to the corresponding block of text in
the source file.
   
I do not think this is possible with LyX, presently---am I  wrong?
  
   http://bugzilla.lyx.org/show_bug.cgi?id=94
  
   pavel
 
  Thanks Pavel.
 
  If I understood the bugzilla exchange correctly, the situation is:

 there was very lenghty discussion
 http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg87046.html
 from which is seems everybody wanted it in the tree so it seems like
 a mystery its not already there :)

  1. Reverse seaerching (I guess that's the term) works from kdvi to a
  Latex file opened in a standard editor
 
  2. Georg Baum provided a patch that would  make it work from kdvi to LyX,
  but the patch never made into released version of Lyx, for reasons
  unknown (as of 2/24/09)
 
 
  So there is a workaround, and there is hope!

 i just tried to use this patch, unfortunately most of the code moved around
 so its not easy to patch it again. on the other hand, the changes which are
 needed look like more of mechanical work then some actual rewrite...

 CC-ing to Georg, Joao and lyx-devel.
 may be somebody knows what was the problem.

 pavel




Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-26 Thread James C. Sutherland


On Feb 24, 2009, at 8:46 PM, Joao Luis Meloni Assirati wrote:



As far as I know, It is not possible to reverse search from a pdf  
file. You
need to use the dvi, which supports marks known as dvi specials. I  
don't

maintain my patches anymore.

Best regards,
João.


There was a recent discussion on this issue.  At least on Mac it is  
possible (I use this occasionally) using the PDFSYNC package.  See

http://wiki.lyx.org/Mac/Mac#toc13

Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-26 Thread Joao Luis Meloni Assirati

As far as I know, It is not possible to reverse search from a pdf file. You 
need to use the dvi, which supports marks known as dvi specials. I don't 
maintain my patches anymore.

Best regards,
João.

On Tuesday 24 February 2009 15:54:01 Pavel Sanda wrote:
 Stefano Franchi wrote:
  On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
   Stefano Franchi wrote:
I am starting to work on the final editing of  a long manuscript and
I would very much appreciate the option to click on a page in the pdf
viewer app and jump directly to the corresponding block of text in
the source file.
   
I do not think this is possible with LyX, presently---am I  wrong?
  
   http://bugzilla.lyx.org/show_bug.cgi?id=94
  
   pavel
 
  Thanks Pavel.
 
  If I understood the bugzilla exchange correctly, the situation is:

 there was very lenghty discussion
 http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg87046.html
 from which is seems everybody wanted it in the tree so it seems like
 a mystery its not already there :)

  1. Reverse seaerching (I guess that's the term) works from kdvi to a
  Latex file opened in a standard editor
 
  2. Georg Baum provided a patch that would  make it work from kdvi to LyX,
  but the patch never made into released version of Lyx, for reasons
  unknown (as of 2/24/09)
 
 
  So there is a workaround, and there is hope!

 i just tried to use this patch, unfortunately most of the code moved around
 so its not easy to patch it again. on the other hand, the changes which are
 needed look like more of mechanical work then some actual rewrite...

 CC-ing to Georg, Joao and lyx-devel.
 may be somebody knows what was the problem.

 pavel




Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-26 Thread James C. Sutherland


On Feb 24, 2009, at 8:46 PM, Joao Luis Meloni Assirati wrote:



As far as I know, It is not possible to reverse search from a pdf  
file. You
need to use the dvi, which supports marks known as dvi specials. I  
don't

maintain my patches anymore.

Best regards,
João.


There was a recent discussion on this issue.  At least on Mac it is  
possible (I use this occasionally) using the PDFSYNC package.  See

http://wiki.lyx.org/Mac/Mac#toc13

Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-26 Thread Joao Luis Meloni Assirati

As far as I know, It is not possible to reverse search from a pdf file. You 
need to use the dvi, which supports marks known as dvi specials. I don't 
maintain my patches anymore.

Best regards,
João.

On Tuesday 24 February 2009 15:54:01 Pavel Sanda wrote:
> Stefano Franchi wrote:
> > On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
> > > Stefano Franchi wrote:
> > > > I am starting to work on the final editing of  a long manuscript and
> > > > I would very much appreciate the option to click on a page in the pdf
> > > > viewer app and jump directly to the corresponding block of text in
> > > > the source file.
> > > >
> > > > I do not think this is possible with LyX, presently---am I  wrong?
> > >
> > > http://bugzilla.lyx.org/show_bug.cgi?id=94
> > >
> > > pavel
> >
> > Thanks Pavel.
> >
> > If I understood the bugzilla exchange correctly, the situation is:
>
> there was very lenghty discussion
> http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg87046.html
> from which is seems everybody wanted it in the tree so it seems like
> a mystery its not already there :)
>
> > 1. Reverse seaerching (I guess that's the term) works from kdvi to a
> > Latex file opened in a standard editor
> >
> > 2. Georg Baum provided a patch that would  make it work from kdvi to LyX,
> > but the patch never made into released version of Lyx, for reasons
> > unknown (as of 2/24/09)
> >
> >
> > So there is a workaround, and there is hope!
>
> i just tried to use this patch, unfortunately most of the code moved around
> so its not easy to patch it again. on the other hand, the changes which are
> needed look like more of mechanical work then some actual rewrite...
>
> CC-ing to Georg, Joao and lyx-devel.
> may be somebody knows what was the problem.
>
> pavel




Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-26 Thread James C. Sutherland


On Feb 24, 2009, at 8:46 PM, Joao Luis Meloni Assirati wrote:



As far as I know, It is not possible to reverse search from a pdf  
file. You
need to use the dvi, which supports marks known as dvi specials. I  
don't

maintain my patches anymore.

Best regards,
João.


There was a recent discussion on this issue.  At least on Mac it is  
possible (I use this occasionally) using the PDFSYNC package.  See

http://wiki.lyx.org/Mac/Mac#toc13

Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Stefano Franchi
I am starting to work on the final editing of  a long manuscript and I would 
very much appreciate the option to click on a page in the pdf viewer app and 
jump directly to the corresponding block of text in the source file.

I do not think this is possible with LyX, presently---am I  wrong?

If not, does anyone know of a similar facility for LaTeX? I vaguely remember 
something along this line as (perhaps) an Emacs mode plus a specific pdf (or 
dvi, I am not sure) reader. I tried googling, but I am not sure how this 
option would be called, so my results were meagre.

Thanks for  the help,
S.


__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Stefano Franchi wrote:
 I am starting to work on the final editing of  a long manuscript and I would 
 very much appreciate the option to click on a page in the pdf viewer app and 
 jump directly to the corresponding block of text in the source file.
 
 I do not think this is possible with LyX, presently---am I  wrong?

http://bugzilla.lyx.org/show_bug.cgi?id=94

pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Stefano Franchi
On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
 Stefano Franchi wrote:
  I am starting to work on the final editing of  a long manuscript and I
  would very much appreciate the option to click on a page in the pdf
  viewer app and jump directly to the corresponding block of text in the
  source file.
 
  I do not think this is possible with LyX, presently---am I  wrong?

 http://bugzilla.lyx.org/show_bug.cgi?id=94

 pavel


Thanks Pavel.

If I understood the bugzilla exchange correctly, the situation is:

1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex file 
opened in a standard editor

2. Georg Baum provided a patch that would  make it work from kdvi to LyX, but 
the patch never made into released version of Lyx, for reasons unknown (as of 
2/24/09)


So there is a workaround, and there is hope!

Cheers,

S.


__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Stefano Franchi wrote:
 On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
  Stefano Franchi wrote:
   I am starting to work on the final editing of  a long manuscript and I
   would very much appreciate the option to click on a page in the pdf
   viewer app and jump directly to the corresponding block of text in the
   source file.
  
   I do not think this is possible with LyX, presently---am I  wrong?
 
  http://bugzilla.lyx.org/show_bug.cgi?id=94
 
  pavel
 
 
 Thanks Pavel.
 
 If I understood the bugzilla exchange correctly, the situation is:

there was very lenghty discussion
http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg87046.html
from which is seems everybody wanted it in the tree so it seems like
a mystery its not already there :)


 
 1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex 
 file 
 opened in a standard editor

 2. Georg Baum provided a patch that would  make it work from kdvi to LyX, but 
 the patch never made into released version of Lyx, for reasons unknown (as of 
 2/24/09)
 
 
 So there is a workaround, and there is hope!

i just tried to use this patch, unfortunately most of the code moved around
so its not easy to patch it again. on the other hand, the changes which are 
needed look like more of mechanical work then some actual rewrite...

CC-ing to Georg, Joao and lyx-devel.
may be somebody knows what was the problem.

pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Konrad Hofbauer

Stefano Franchi wrote:

If I understood the bugzilla exchange correctly, the situation is:

1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex file 
opened in a standard editor


It works on the Mac using Skim as pdf-viewer and pdfsync (no 
synctex-support as of now in LyX).


Skim simply calls
  lyxeditor @file @line

The same should be possible with any other better DVI/PDF viewer. So in 
LyX the necessary infrastructure is there (at least on Mac and Linux).


/Konrad



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Konrad Hofbauer wrote:
 Stefano Franchi wrote:
 If I understood the bugzilla exchange correctly, the situation is:
 1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex 
 file opened in a standard editor

 It works on the Mac using Skim as pdf-viewer and pdfsync (no 
 synctex-support as of now in LyX).

 Skim simply calls
   lyxeditor @file @line

 The same should be possible with any other better DVI/PDF viewer. So in LyX 
 the necessary infrastructure is there (at least on Mac and Linux).

you claim this works out of the box? havent you changed your convertor scripts
/ document header or so?

where does this 'lyxeditor' points to?
pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Pavel Sanda wrote:
lyxeditor @file @line
 
  The same should be possible with any other better DVI/PDF viewer. So in LyX 
  the necessary infrastructure is there (at least on Mac and Linux).
 
 you claim this works out of the box? havent you changed your convertor scripts
 / document header or so?
 
 where does this 'lyxeditor' points to?

now i see we distribute in our tarball :) it seems to be mac-related script
and also looking http://wiki.lyx.org/Mac/Mac#toc11 seems other things need to
be done.

anyway the same seems to be doable in linux as well with some kind of tweaking
around. one need to use xdvi and pass some external script which sends
proper server-goto-file-row lfun to lyx.

i have even found some old reference to cygwin solution
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg63984.html

pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Pavel Sanda wrote:
 anyway the same seems to be doable in linux as well with some kind of tweaking
 around. one need to use xdvi and pass some external script which sends
 proper server-goto-file-row lfun to lyx.

or even simpler: lyxclient -g file line
pavel


Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Stefano Franchi
I am starting to work on the final editing of  a long manuscript and I would 
very much appreciate the option to click on a page in the pdf viewer app and 
jump directly to the corresponding block of text in the source file.

I do not think this is possible with LyX, presently---am I  wrong?

If not, does anyone know of a similar facility for LaTeX? I vaguely remember 
something along this line as (perhaps) an Emacs mode plus a specific pdf (or 
dvi, I am not sure) reader. I tried googling, but I am not sure how this 
option would be called, so my results were meagre.

Thanks for  the help,
S.


__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Stefano Franchi wrote:
 I am starting to work on the final editing of  a long manuscript and I would 
 very much appreciate the option to click on a page in the pdf viewer app and 
 jump directly to the corresponding block of text in the source file.
 
 I do not think this is possible with LyX, presently---am I  wrong?

http://bugzilla.lyx.org/show_bug.cgi?id=94

pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Stefano Franchi
On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
 Stefano Franchi wrote:
  I am starting to work on the final editing of  a long manuscript and I
  would very much appreciate the option to click on a page in the pdf
  viewer app and jump directly to the corresponding block of text in the
  source file.
 
  I do not think this is possible with LyX, presently---am I  wrong?

 http://bugzilla.lyx.org/show_bug.cgi?id=94

 pavel


Thanks Pavel.

If I understood the bugzilla exchange correctly, the situation is:

1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex file 
opened in a standard editor

2. Georg Baum provided a patch that would  make it work from kdvi to LyX, but 
the patch never made into released version of Lyx, for reasons unknown (as of 
2/24/09)


So there is a workaround, and there is hope!

Cheers,

S.


__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Stefano Franchi wrote:
 On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
  Stefano Franchi wrote:
   I am starting to work on the final editing of  a long manuscript and I
   would very much appreciate the option to click on a page in the pdf
   viewer app and jump directly to the corresponding block of text in the
   source file.
  
   I do not think this is possible with LyX, presently---am I  wrong?
 
  http://bugzilla.lyx.org/show_bug.cgi?id=94
 
  pavel
 
 
 Thanks Pavel.
 
 If I understood the bugzilla exchange correctly, the situation is:

there was very lenghty discussion
http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg87046.html
from which is seems everybody wanted it in the tree so it seems like
a mystery its not already there :)


 
 1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex 
 file 
 opened in a standard editor

 2. Georg Baum provided a patch that would  make it work from kdvi to LyX, but 
 the patch never made into released version of Lyx, for reasons unknown (as of 
 2/24/09)
 
 
 So there is a workaround, and there is hope!

i just tried to use this patch, unfortunately most of the code moved around
so its not easy to patch it again. on the other hand, the changes which are 
needed look like more of mechanical work then some actual rewrite...

CC-ing to Georg, Joao and lyx-devel.
may be somebody knows what was the problem.

pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Konrad Hofbauer

Stefano Franchi wrote:

If I understood the bugzilla exchange correctly, the situation is:

1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex file 
opened in a standard editor


It works on the Mac using Skim as pdf-viewer and pdfsync (no 
synctex-support as of now in LyX).


Skim simply calls
  lyxeditor @file @line

The same should be possible with any other better DVI/PDF viewer. So in 
LyX the necessary infrastructure is there (at least on Mac and Linux).


/Konrad



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Konrad Hofbauer wrote:
 Stefano Franchi wrote:
 If I understood the bugzilla exchange correctly, the situation is:
 1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex 
 file opened in a standard editor

 It works on the Mac using Skim as pdf-viewer and pdfsync (no 
 synctex-support as of now in LyX).

 Skim simply calls
   lyxeditor @file @line

 The same should be possible with any other better DVI/PDF viewer. So in LyX 
 the necessary infrastructure is there (at least on Mac and Linux).

you claim this works out of the box? havent you changed your convertor scripts
/ document header or so?

where does this 'lyxeditor' points to?
pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Pavel Sanda wrote:
lyxeditor @file @line
 
  The same should be possible with any other better DVI/PDF viewer. So in LyX 
  the necessary infrastructure is there (at least on Mac and Linux).
 
 you claim this works out of the box? havent you changed your convertor scripts
 / document header or so?
 
 where does this 'lyxeditor' points to?

now i see we distribute in our tarball :) it seems to be mac-related script
and also looking http://wiki.lyx.org/Mac/Mac#toc11 seems other things need to
be done.

anyway the same seems to be doable in linux as well with some kind of tweaking
around. one need to use xdvi and pass some external script which sends
proper server-goto-file-row lfun to lyx.

i have even found some old reference to cygwin solution
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg63984.html

pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Pavel Sanda wrote:
 anyway the same seems to be doable in linux as well with some kind of tweaking
 around. one need to use xdvi and pass some external script which sends
 proper server-goto-file-row lfun to lyx.

or even simpler: lyxclient -g file line
pavel


Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Stefano Franchi
I am starting to work on the final editing of  a long manuscript and I would 
very much appreciate the option to click on a page in the pdf viewer app and 
jump directly to the corresponding block of text in the source file.

I do not think this is possible with LyX, presently---am I  wrong?

If not, does anyone know of a similar facility for LaTeX? I vaguely remember 
something along this line as (perhaps) an Emacs mode plus a specific pdf (or 
dvi, I am not sure) reader. I tried googling, but I am not sure how this 
option would be called, so my results were meagre.

Thanks for  the help,
S.


__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Stefano Franchi wrote:
> I am starting to work on the final editing of  a long manuscript and I would 
> very much appreciate the option to click on a page in the pdf viewer app and 
> jump directly to the corresponding block of text in the source file.
> 
> I do not think this is possible with LyX, presently---am I  wrong?

http://bugzilla.lyx.org/show_bug.cgi?id=94

pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Stefano Franchi
On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
> Stefano Franchi wrote:
> > I am starting to work on the final editing of  a long manuscript and I
> > would very much appreciate the option to click on a page in the pdf
> > viewer app and jump directly to the corresponding block of text in the
> > source file.
> >
> > I do not think this is possible with LyX, presently---am I  wrong?
>
> http://bugzilla.lyx.org/show_bug.cgi?id=94
>
> pavel


Thanks Pavel.

If I understood the bugzilla exchange correctly, the situation is:

1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex file 
opened in a standard editor

2. Georg Baum provided a patch that would  make it work from kdvi to LyX, but 
the patch never made into released version of Lyx, for reasons unknown (as of 
2/24/09)


So there is a workaround, and there is hope!

Cheers,

S.


__
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Stefano Franchi wrote:
> On Tuesday 24 February 2009 11:42:30 Pavel Sanda wrote:
> > Stefano Franchi wrote:
> > > I am starting to work on the final editing of  a long manuscript and I
> > > would very much appreciate the option to click on a page in the pdf
> > > viewer app and jump directly to the corresponding block of text in the
> > > source file.
> > >
> > > I do not think this is possible with LyX, presently---am I  wrong?
> >
> > http://bugzilla.lyx.org/show_bug.cgi?id=94
> >
> > pavel
> 
> 
> Thanks Pavel.
> 
> If I understood the bugzilla exchange correctly, the situation is:

there was very lenghty discussion
http://www.mail-archive.com/lyx-de...@lists.lyx.org/msg87046.html
from which is seems everybody wanted it in the tree so it seems like
a mystery its not already there :)


> 
> 1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex 
> file 
> opened in a standard editor
>
> 2. Georg Baum provided a patch that would  make it work from kdvi to LyX, but 
> the patch never made into released version of Lyx, for reasons unknown (as of 
> 2/24/09)
> 
> 
> So there is a workaround, and there is hope!

i just tried to use this patch, unfortunately most of the code moved around
so its not easy to patch it again. on the other hand, the changes which are 
needed look like more of mechanical work then some actual rewrite...

CC-ing to Georg, Joao and lyx-devel.
may be somebody knows what was the problem.

pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Konrad Hofbauer

Stefano Franchi wrote:

If I understood the bugzilla exchange correctly, the situation is:

1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex file 
opened in a standard editor


It works on the Mac using Skim as pdf-viewer and pdfsync (no 
synctex-support as of now in LyX).


Skim simply calls
  lyxeditor "@file" @line

The same should be possible with any other better DVI/PDF viewer. So in 
LyX the necessary infrastructure is there (at least on Mac and Linux).


/Konrad



Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Konrad Hofbauer wrote:
> Stefano Franchi wrote:
>> If I understood the bugzilla exchange correctly, the situation is:
>> 1. Reverse seaerching (I guess that's the term) works from kdvi to a Latex 
>> file opened in a standard editor
>
> It works on the Mac using Skim as pdf-viewer and pdfsync (no 
> synctex-support as of now in LyX).
>
> Skim simply calls
>   lyxeditor "@file" @line
>
> The same should be possible with any other better DVI/PDF viewer. So in LyX 
> the necessary infrastructure is there (at least on Mac and Linux).

you claim this works out of the box? havent you changed your convertor scripts
/ document header or so?

where does this 'lyxeditor' points to?
pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Pavel Sanda wrote:
> >   lyxeditor "@file" @line
> >
> > The same should be possible with any other better DVI/PDF viewer. So in LyX 
> > the necessary infrastructure is there (at least on Mac and Linux).
> 
> you claim this works out of the box? havent you changed your convertor scripts
> / document header or so?
> 
> where does this 'lyxeditor' points to?

now i see we distribute in our tarball :) it seems to be mac-related script
and also looking http://wiki.lyx.org/Mac/Mac#toc11 seems other things need to
be done.

anyway the same seems to be doable in linux as well with some kind of tweaking
around. one need to use xdvi and pass some external script which sends
proper server-goto-file-row lfun to lyx.

i have even found some old reference to cygwin solution
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg63984.html

pavel


Re: Jumping back from Pdf file to LyX (Latex) source?

2009-02-24 Thread Pavel Sanda
Pavel Sanda wrote:
> anyway the same seems to be doable in linux as well with some kind of tweaking
> around. one need to use xdvi and pass some external script which sends
> proper server-goto-file-row lfun to lyx.

or even simpler: lyxclient -g file line
pavel