On Fri, Dec 18, 2009 at 04:47:59AM -0500, Ben M. wrote:

> 3)  Don't use lyxeditor.bat.  Many steps are necessary to create this
> file and ensure that it's discovered by SumatraPDF.  Instead, we can
> recommend setting the pdflatex viewer to
>     SumatraPDF $$i -inverse-search "cmd /C echo
> LYXCMD:revdvi:server-goto-file-row:%f %l> \\.\pipe\lyxpipe.in & type
> \\.\pipe\lyxpipe.out"

This way, you have still to know the pipe name entered in preferences.
A better approach would be converting to a python script the shell script
development/tools/lyxeditor and extending it to also account for native
Windows. Then, the pdflatex viewer could be simply set to
     SumatraPDF $$i -inverse-search "/path/to/lyxeditor.py %f %l"

I am sure you are up to the task :)

-- 
Enrico

Reply via email to