Since version 1.9 SumatraPDF supports forward search without DDE commands.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40879 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2012-03-06 23:30:23 +00:00
parent dc7fd33b84
commit b7cc97e2d0
2 changed files with 4 additions and 0 deletions

View File

@ -410,6 +410,7 @@ PrefOutput::PrefOutput(GuiPreferences * form)
dviCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"evince -i %{page+1} $$o\""); dviCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"evince -i %{page+1} $$o\"");
pdfCB->addItem(""); pdfCB->addItem("");
pdfCB->addItem("CMCDDE SUMATRA control [ForwardSearch(\\\"$$o\\\",\\\"$$t\\\",$$n,0,0,1)]"); pdfCB->addItem("CMCDDE SUMATRA control [ForwardSearch(\\\"$$o\\\",\\\"$$t\\\",$$n,0,0,1)]");
pdfCB->addItem("SumatraPDF -reuse-instance $$o -forward-search $$t $$n");
pdfCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"xpdf -raise -remote $$t.tmp $$o %{page+1}\""); pdfCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"xpdf -raise -remote $$t.tmp $$o %{page+1}\"");
pdfCB->addItem("okular --unique \"file:$$o#src:$$n $$t\""); pdfCB->addItem("okular --unique \"file:$$o#src:$$n $$t\"");
pdfCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"evince -i %{page+1} $$o\""); pdfCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"evince -i %{page+1} $$o\"");

View File

@ -40,6 +40,9 @@ What's new
- Fix undo warning when inserting plain text file (bug 7916). - Fix undo warning when inserting plain text file (bug 7916).
- New command for forward search with SumatraPDF without the need of an
external DDE program (requires SumatraPDF version 1.9 or higher).
* DOCUMENTATION AND LOCALIZATION * DOCUMENTATION AND LOCALIZATION