]> git.lyx.org Git - features.git/commitdiff
xpdf support for forward view via synctex. This is quite powerful tool.
authorPavel Sanda <sanda@lyx.org>
Fri, 16 Apr 2010 16:36:41 +0000 (16:36 +0000)
committerPavel Sanda <sanda@lyx.org>
Fri, 16 Apr 2010 16:36:41 +0000 (16:36 +0000)
To sum it up forward search support:
Okular and Skim can be supported directly if somebody comes with correct syntax.
Evince can be solved in the same way as xpdf, again syntax has to be reported.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34167 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiPrefs.cpp

index 41fa9ab77266d9e329ca5c0fd2861a7a59d565a3..123dbd1ce8cdfc5ba844ea7c3ccaf8e49b04d719 100644 (file)
@@ -377,6 +377,7 @@ PrefOutput::PrefOutput(GuiPreferences * form)
        dviCB->addItem("yap -1 -s $$n$$t $$o");
        pdfCB->addItem("");
        pdfCB->addItem("CMCDDE SUMATRA control [ForwardSearch(\\\"$$o\\\",\\\"$$t\\\",$$n,0,0,1)]");
+       pdfCB->addItem("synctex view -i $$n:1:$$t -o $$o -x \"xpdf -raise -remote $$t.tmp $$o %{page+1}\"");
 }