![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Gee! These Aren't Roasted!
![]() Join Date: Feb 2007
Location: Sweden
Beans: 203
|
How can I do an inverse search between okular and kile?
How can I do an inverse search between okular and kile?
Or alternatively how can I change my dvi viewer in kile from okular to Kdvi viewer?
__________________
I use Ubuntu 9.10
|
|
|
|
|
|
#2 | |
|
A Carafe of Ubuntu
![]() |
Re: How can I do an inverse search between okular and kile?
Quote:
Go to configure okular and change the editor from the default "Kate" to Kile. Shift-click to do inverse search, as supposed to control-click in KDvi. To make kdvi your default viewer in kile, go to configure kile --> tool --> build Replace "okular" with "kdvi" for dvi viewers. By the way, I would change the LaTeX command option to --src-specials -interaction=nonstopmode '%source' , so that it will do forward search right.
__________________
There are two sides to every story: my side and the wrong side.
|
|
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2009
Beans: 3
|
Re: How can I do an inverse search between okular and kile?
I have done all this and I still cannot get either forward or inverse search to work! I have a 2-button wheel mouse so the Kile manual's instruction to press the middle mouse button does not help... is it possible to reconfigure this somehow? (Pressing left and right mouse button's together doesn't work either)
Or Plan B: Where can I get KDVI? The KDVI website says this is part of the kdegraphics package but it (no longer?) appears to be included... peter Last edited by ub-pir; December 31st, 2009 at 11:27 AM.. |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2009
Beans: 2
|
Hi,
I just upgraded to Karmic, and experimented a bit with Kile and Okular. I got it working exactly like KDVI. lethalfang's instructions are mostly correct, however there are two more things. First you have to change the LaTeX build tools from Default to Modern (go to the build tool configuration menu and select Latex, then select Modern in the drop-down menu to the right). Secondly, you have to set up your viewer in the ForwardDVI tool, not the ViewDVI! I suspect the view tools do not forward the necessary info to the Viewer. Alternatively, you could create a new tool, but then make sure you select ForwardDVI for Class in the Advanced tab. At the moment it does not seem to work for PDFs though. I read in the German ubuntuusers-forum that this feature is oly available in TeXlive 2008, and Karmic still comes with 2007. Edit: actually I find Okular a bit unstable when used with forward search through Kile, so that I would recommend KDVI for now. (But otherwise Okular seems pretty stable.) Hope that helps, Chopstick Last edited by Khopstick; 4 Weeks Ago at 06:09 PM.. |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2010
Location: Madrid, Spain
Beans: 1
Ubuntu 9.10 Karmic Koala
|
Re: How can I do an inverse search between okular and kile?
Thanks a lot for your help, Khopstick. I already have inverse search working in Okular. However, I am still fighting with one problem. Each time I do an inverse search, a new copy of my LaTeX source file opens in Kile. Have you met this problem?
I have tried to change this behavior, in the Okular editor configuration, adding some --unique option, or something like that. But the editor command option seems to be fixed in Okular. Best regards. |
|
|
|
| Bookmarks |
| Tags |
| kdvi, kile, okular |
| Thread Tools | |
| Display Modes | |
|
|