[Okular-devel] [Bug 308690] New: Inverse search not working with forward search in the same time
Sergey Daikov
sergdkv at gmail.com
Sat Oct 20 03:46:34 UTC 2012
https://bugs.kde.org/show_bug.cgi?id=308690
Bug ID: 308690
Severity: normal
Version: 0.14.3
Priority: NOR
Assignee: okular-devel at kde.org
Summary: Inverse search not working with forward search in the
same time
Classification: Unclassified
OS: Linux
Reporter: sergdkv at gmail.com
Hardware: Ubuntu Packages
Status: UNCONFIRMED
Component: PDF backend
Product: okular
Lyx start view SyncTeX PDF file by command
okular lyx-notes.pdf
and inverse search worked well (with command lyxclient -g
/tmp/lyx_tmpdir.MT9825/lyx_tmpbuf2/lyx-notes.tex 418)
When Lyx start view SyncTeX PDF file by forward search command
okular --unique "file:lyx-notes.dvi#src:273 lyx-notes.tex"
all works well, but inverse search is not working,
Okular dont run lyxclient command for inverse seach .
Reproducible: Always
Steps to Reproduce:
1.
cat >a.tex <<EOF
\documentclass{article}
\begin{document}
page1
\newpage
page2
\newpage
page3
\end{document}
EOF
2. pdflatex -synctex=1 a.tex
3. cat >/home/sergdkv/bin/lyxclient <<EOF
#!/bin/bash
( echo
date
echo \$*
echo ) >$HOME/bin/lyxclient.log
EOF
chmod +x /home/sergdkv/bin/lyxclient
4. okular a.pdf
5. Configure -> Editor options
Editor : Custom text editor
Command : /home/sergdkv/bin/lyxclient -g %f %l
6. goto page 2
7. press shift + left mouse button
8. cat ~/bin/lyxclient.log
Сб. окт. 20 14:29:18 VLAT 2012
-g /home/sergdkv/tmp/a.tex 7
THIS IS OK
9. exit for okular
10. rm ~/bin/lyxclient.log
11. okular --unique "file:a.pdf#src:7 a.tex"
12. press shift + left mouse button on "page3"
13. exit
14. cat ~/bin/lyxclient.log
cat: /home/sergdkv/bin/lyxclient.log: No such file ...
THIS IS BAD. inverse search in not working
Actual Results:
14. cat ~/bin/lyxclient.log
cat: /home/sergdkv/bin/lyxclient.log: No such file ...
THIS IS BAD. inverse search in not working
Expected Results:
8. cat ~/bin/lyxclient.log
Сб. окт. 20 14:29:18 VLAT 2012
-g /home/sergdkv/tmp/a.tex 7
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Okular-devel
mailing list