Version: 0.11.2 (using KDE 4.5.2) OS: Linux I use okular as a pdf viewer for emacs+auctex and run it as "okular --unique --page n document.pdf". If okular is already running I'd expect it to switch to the specified document and page. But it won't. Instead it either jumps to the first page or just stays on the current one. Reproducible: Always Steps to Reproduce: 1. Run "okular --unique --page n document.pdf" 2. Run "okular --unique --page m document.pdf" Actual Results: Okular stays on page n. Expected Results: Okular switches to page m.
I can confirm that bug, but there's a even better variant for the forward search than using the -p option that already works. Use this definition in your .emacs: (setq TeX-view-program-list '(("Okular" ("okular --unique %o" (mode-io-correlate "#src:%n%b")))))
SVN commit 1218022 by aacid: Obey the page argument when using the unique option Patch by Victor Blazquez BUGS: 254917 M +3 -0 main.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1218022