Dear All,

I am trying to set-up forward search in lyx 2.0.0 using skim. I have
followed the instructions posted in
trac: 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 when I generate the PDF file, the PDF opens, but
the forward and reverse search do not
work. I have tried to investigate the issue by starting lyx with the
"-dbg" flag. The System call lyx executes is the
following (I am omitting the paths):

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

It seems that both $$n (the line number) and $$t (the .tex file)  are
not expanded and thus are not
correctly passed down to the displayline script of lyx.

Am I doing something wrong?

P.S.: I have posted a similar question to the lyx-users but I did not
received any reply.

Reply via email to