Skim - Forward/Reverse Search

2011-10-04 Thread Giuseppe Ragusa
Dear All,

I am trying to set-up forward reverse search with lyx 2.0.0.

I Can't use the newer 2.0.1 because Lions does not play nice with it.

I am following the instructions here: http://www.lyx.org/trac/ticket/7186

Lyx side configuration: (File Handling/File Formats/PDF (pdflatex)

[OMITTED]/displayline -b -r $$n $$o $$t

Skim side:
command: /Applications/LyX.app/Contents/MacOS/lyxeditor
arguments: %file %line; /usr/bin/osascript \\
   -e 'tell application LyX to activate'


The problem is that with this setup the pdf is not open.

I started lyx with -dbg all and I can see that the command that lyx 
try to run is the following:

 Systemcall: 
'[OMITTED]/displayline -b -r  $$n [OMITTED]/LyxTemplate.pdf $$t'

It seems that $$n and $$t are not expanded to the line number and the 
.tex file, respectively.

Anything I maybe missing?

Thank you in advance.



Skim - Forward/Reverse Search

2011-10-04 Thread Giuseppe Ragusa
Dear All,

I am trying to set-up forward reverse search with lyx 2.0.0.

I Can't use the newer 2.0.1 because Lions does not play nice with it.

I am following the instructions here: http://www.lyx.org/trac/ticket/7186

Lyx side configuration: (File Handling/File Formats/PDF (pdflatex)

[OMITTED]/displayline -b -r $$n $$o $$t

Skim side:
command: /Applications/LyX.app/Contents/MacOS/lyxeditor
arguments: %file %line; /usr/bin/osascript \\
   -e 'tell application LyX to activate'


The problem is that with this setup the pdf is not open.

I started lyx with -dbg all and I can see that the command that lyx 
try to run is the following:

 Systemcall: 
'[OMITTED]/displayline -b -r  $$n [OMITTED]/LyxTemplate.pdf $$t'

It seems that $$n and $$t are not expanded to the line number and the 
.tex file, respectively.

Anything I maybe missing?

Thank you in advance.



Skim - Forward/Reverse Search

2011-10-04 Thread Giuseppe Ragusa
Dear All,

I am trying to set-up forward reverse search with lyx 2.0.0.

I Can't use the newer 2.0.1 because Lions does not play nice with it.

I am following the instructions here: http://www.lyx.org/trac/ticket/7186

Lyx side configuration: (File Handling/File Formats/PDF (pdflatex)

[OMITTED]/displayline -b -r $$n $$o $$t

Skim side:
command: /Applications/LyX.app/Contents/MacOS/lyxeditor
arguments: "%file" %line; /usr/bin/osascript \\
   -e 'tell application "LyX" to activate'


The problem is that with this setup the pdf is not open.

I started lyx with -dbg all and I can see that the command that lyx 
try to run is the following:

 Systemcall: 
'[OMITTED]/displayline -b -r  $$n "[OMITTED]/LyxTemplate.pdf" $$t'

It seems that $$n and $$t are not expanded to the line number and the 
.tex file, respectively.

Anything I maybe missing?

Thank you in advance.