KileHow to configure Kile with xdvi

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
Post Reply
mdiabolo
Posts: 1
Joined: Thu Apr 26, 2007 10:16 am

How to configure Kile with xdvi

Post by mdiabolo »

Hi,

I do not manage to install Kdvi on my system so I am using Xdvi. I would like to know which command line I should write in the compilation option becaus at the moment, it is not working really good.

Thanks,

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

How to configure Kile with xdvi

Post by localghost »

Look for the package kdegraphics3-pdf in the package manager of your (to me unknown) Linux distribution. There should be no difficulties in installing that package.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
ha_entry
Posts: 4
Joined: Wed Sep 17, 2008 11:41 am

How to configure Kile with xdvi

Post by ha_entry »

a late reply, but still:

to use the inverse search xdv/kile you only have to do some configuration in kile.

go to: Settings -> Configure Kile -> Tools -> Build and select ViewDVI

define a new view configuration (xdvi for example), if you don't already have one for xdvi.
on the General tab fill in the following values:
Command: xdvi
Options: -editor 'kile %f --line %l' '%target'
the fields on the other tabs should be selfexplanatory.

that's it.

to jump in your latex code from xdvi use Ctrl + Left Mouse Button.

(of course, your latex code should contain the srcltx.sty package for inverse search, and the latex build tool should have the following options: -interaction=nonstopmode '%source' )

cheers!

p.s. i'm using fedora core 9, with gnome and kde4 libraries where no kdvi is available. okular should be the one replacing it, but it doesn't yet contain the inverse search feature. should be ready soon they say.
kalwisti
Posts: 8
Joined: Thu May 10, 2007 6:50 am

How to configure Kile with xdvi

Post by kalwisti »

Hi, ha_entry,

Many thanks for posting this time-saving tip! I tried it tonight (I'm using the same software you are [the default GNOME version of Fedora Core 9) and it is working great.

When I first tried running Kile, it wasn't configured for xdvi so I began Googling for a possible fix. Someone in the Fedora Forum had recommended installing the kdegraphics package in order to get KDVI, but I hesitated when I saw how large the download was going to be.

With best wishes,
=david

P.S. To anyone else searching this thread:

Texmaker is also available as a LaTeX IDE in Fedora 9, and it works well. If you have installed TeX Live 2007 (rather than teTeX) and are using xdvi as your DVI viewer, one change you'll need to make is the following:

Under Options > Configure Texmaker,

change the command for using the Dvi Viewer to

xdvi %.dvi

If you install both Kile and Texmaker, you'll be able to procrastinate by waffling on which of these fine IDEs to use. :)
lunio
Posts: 2
Joined: Tue Oct 14, 2008 9:42 am

Re: How to configure Kile with xdvi

Post by lunio »

Hi all.

I've tried steps mentioned above, still getting though:
'KDVI (Critical failure, Kile will not function properly)
Binary: Could not find the binary for this essential tool. (kdvi=>)'

Any clue?
ha_entry
Posts: 4
Joined: Wed Sep 17, 2008 11:41 am

Re: How to configure Kile with xdvi

Post by ha_entry »

hi lunio,

from your post i infer you have no Kdvi on your system. can you run this program at your shell?

[my previous post was about configuring Kile with Xdvi, NOT with Kdvi. under Fedora Core 9, Kdvi is not available, unless you downgrade to kde3 (i DO have kdegraphics installed).]

cheers.
lunio
Posts: 2
Joined: Tue Oct 14, 2008 9:42 am

Re: How to configure Kile with xdvi

Post by lunio »

Indeed I can run xdvi from my console (honestly though, don't have kdvi ) and the first mentioned runs fine; while running system test at kile, however, I constantly get the same message in result. Got so confused that I've even considered changing distribution to KDE based :( Maybe the fact that I have x86_64 kernel has any meaning... should't IMO.
ha_entry
Posts: 4
Joined: Wed Sep 17, 2008 11:41 am

Re: How to configure Kile with xdvi

Post by ha_entry »

oh, this system check kile does (Settings -> System Check ...)? i get that error too and ignore it as it's just a test. it does not make problems if you have another dvi viewer configured. my guess is that the kile people only test for kdvi because kile is part of the kde application family.

cheers.
Post Reply