KileForwardDVI not working

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
Post Reply
mf205
Posts: 7
Joined: Mon May 25, 2009 12:18 pm

ForwardDVI not working

Post by mf205 »

For some reason ForwardDVI doesn't work for me - when I run it, the log gives me the following:

***** ForwardDVI output:
***** cd "/home/matt/papers"
***** okular --unique 'file:/home/matt/papers/crystal.dvi#src:1312 ./crystal.tex'
*****
Object::connect: No such slot fontProgressDialog::helpClickedSlot( const QString& )

Then when I switch to the Okular window, I'm at the top of the dvi. Should I be using a different DVI viewer?

I'm new to Linux/Kile, so please forgive me if this is an old or simple problem.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

ForwardDVI not working

Post by localghost »

You have to give more details about the involved versions (Kile, Okular, perhaps KDE and Linux system). I personally have problems with the cooperation of Kile 2.0.81 (development version) and Okular 0.8.3 when just viewing a DVI file. There seem to be some problems with kpsewhich though it is working well but it neither can be a problem with Okular because viewing DVI file works in general. Thus forward DVI search doesn't work for me either. The output of the error message is very similar to yours. I guess there is just some more time necessary for further development. For the present Kile 2.0.3 under KDE 3.5.10 on my older machine is working fine for me.


Best regards and welcome to the board
Thorsten
mf205
Posts: 7
Joined: Mon May 25, 2009 12:18 pm

Re: ForwardDVI not working

Post by mf205 »

Thanks for the reply. I'm running

Ubuntu 9.04 Jauny Jackalope 64-bit
GNOME 2.26.1
Kile 2.1
Okular 0.8.2

Could the problem be that I have GNOME instead of KDE?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

ForwardDVI not working

Post by localghost »

mf205 wrote:[...] Could the problem be that I have GNOME instead of KDE?
No, that's not the problem. At least I think so. For me the cause seems to be the development version of Kile. It just needs some more time to become finished.
mf205
Posts: 7
Joined: Mon May 25, 2009 12:18 pm

Re: ForwardDVI not working

Post by mf205 »

OK, now I've downgraded to Kile 2.0.1, and ForwardDVI still doesn't work. But now the log in Kile says

[ForwardDVI] lltalg.dvi (okular)
[ForwardDVI] Done!

It does open Okular if it's not already open, and it refreshes the dvi if Okular is already open, but Okular is always looking at the top of the dvi.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: ForwardDVI not working

Post by frabjous »

Well, you're certainly not the only one having trouble with this. From googling a bit, it seems you may need a version of Okular later than 0.8.2:

Some evidence:

http://osdir.com/ml/okular-devel/2009-05/msg00159.html
https://bugs.launchpad.net/ubuntu/+sour ... bug/373286

I think you could probably get it working with KDVI instead, however.
paulrazafi
Posts: 1
Joined: Wed Nov 18, 2009 12:23 pm

Re: ForwardDVI not working

Post by paulrazafi »

The forwarddvi works well with KILE associated with KDVI.
What you need to do is to set up kile and kdvi properly.

KILE: Got to
Settings=> Confifure Kile=> Tools+ Build
For the Latex section choose the Modern configuration instead of Default. Then set the Dvi viewer to kdvi (click on the ViewDvi button). Now go to the Forwarddvi section and choose the kdvi configuration for the forwarddvi tool. Sometimes the choice kdvi is not there so you have to create this as a new choice by clicking on the new button.

KDVI:
go to Settings=>Configure KDVi=> DVI specials

and set KILE to be the editor for inverse search
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

ForwardDVI not working

Post by localghost »

paulrazafi wrote:The forwarddvi works well with KILE associated with KDVI.
What you need to do is to set up kile and kdvi properly. [...]
Since the current Kile 2.1 beta 2 is properly configured to work with Okular, these settings seem not be needed any more. This is true at least for running under KDE4.


Best regards and welcome to the board
Thoersten¹
Post Reply