econo phd <econophd <at> gmail.com> writes:

> 2. Configuring lyx for inverse and forward search is quite cumbersome, for 
some reason inverse search was not working since sumatrapdf was called from "C:
\Program Files\Lyx20\bin". 
this was happening to me too with lyx 2.0.0 on windows vista

> I added SumatraPDF folder in LyX:Preferences:Paths:PATH prefix
DId this
C:\Program Files\SumatraPDF

> SumatraView.bat as PDF viewer under file formats, pdf (pdflatex) as viewver
> 

this confuses me. First of all, I need to use pdf (xetex)
but anyhow, if I put your files in the directory above, and use for FORMAT :
pdf (xetex)
and for VIEWER:
"C:\Program Files\SumatraPDF\SumatraView.bat"

and 
CMCDDE SUMATRA control [ForwardSearch(\"$$o\",\"$$t\",$$n,0,0,1)]
as my tools:preferences:output:general:Forward search:pdf command

and then I reconfigure

what happens is that
when I view the file as pdf (xetex)
Sumatra.bat runs
00:54:37.609: "C:\Program Files\SumatraPDF\SumatraView.bat" "C:/Users/HP_User/
AppData/Local/Temp/lyx_tmpdir.Hp5416/lyx_tmpbuf2/Mybook.version.2.pdf"
00:54:37.674: Successful preview of format: pdf4

and opens the pdf
and the options for the pdf show
lyxeditor.exe %f %l
as my return editor

but neither forward search or reverse synch work.

If I forward search it gives me
00:56:23.928: CMCDDE SUMATRA control [ForwardSearch
("""Mybook.version.2.pdf""","""Mybook.version.2.tex""",892,0,0,1)]
00:56:23.937: (forward-search)

but it doesn't do anything.

reverse sync /double click tells me "no synchronization file present"

this was with document :settings: output: synchronize:  turned off.


if I turn that on with
\synctex=-1
as my macro

reconfigure
restart

and all other settings as above, and redo view pdf (xetex)

and:
same as above. 






Reply via email to