Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old March 6th, 2009   #1
ali780
Gee! These Aren't Roasted!
 
ali780's Avatar
 
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
ali780 is offline   Reply With Quote
Old May 8th, 2009   #2
lethalfang
A Carafe of Ubuntu
 
lethalfang's Avatar
 
Join Date: Jan 2009
Location: Los Angeles, CA
Beans: 115
Ubuntu 9.10 Karmic Koala
Send a message via AIM to lethalfang
Re: How can I do an inverse search between okular and kile?

Quote:
Originally Posted by ali780 View Post
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?
To do inverse search in okular:
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.
lethalfang is offline   Reply With Quote
Old December 31st, 2009   #3
ub-pir
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..
ub-pir is offline   Reply With Quote
Old 4 Weeks Ago   #4
Khopstick
First Cup of Ubuntu
 
Join Date: Oct 2009
Beans: 2
Thumbs down Re: How can I do an inverse search between okular and kile?

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..
Khopstick is offline   Reply With Quote
Old 2 Weeks Ago   #5
sansegundo
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.
sansegundo is offline   Reply With Quote

Bookmarks

Tags
kdvi, kile, okular

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:40 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry