Most of the time, KDVI will be started by just clicking
onto a .dvi
file in the file
manager. For convenience there exists a command
kdvi which calls KViewshell with the KDVI
plugin preloaded. The viewer may thus be started using the command
kdvi
. The command
lines somepath/paper.dvi
kdvi
or
somepath/paper
kdvi
will also
work. If you are connected to the internet, you can access files
which reside on other computers by giving a URL as a parameter,
like this: somepath/paper.
kdvi
http://somepath/paper.dvi
If you give a URL as a parameter, you can tell KDVI to
jump directly to certain place of the DVI file.
For example, kdvi
will make
KDVI to open page 43. If you have included source file
information, a command like file:paper.dvi#43
kdvi
will make KDVI search for the place in the DVI file which
corresponds to line 43 in the TeX file
file:paper.dvi#src:43paper.tex
paper.tex
. You will hardly use this option
yourself — read the section on forward search to learn how to
set up your editor to start KDVI automatically.
Don't forget the file:
prefix or it will give unexpected results. For example, the command
kdvi
will open
page 43 of the file file:paper.dvi#43
paper.dvi
. The command
kdvi
will try to open
the file paper.dvi#43
paper.dvi#43
.
There is another option which you will most likely not need
to specify yourself. If you type
kdvi
, KDVI will
load the file if there is no other instance running which has the
file already loaded. If there is, this instance of KDVI will pop
to the front. A command like --unique
somepath/paper.dvi
kdvi
can be used
in shell scripts to make a running instance of KDVI to jump to
page 43.--unique
file:paper.dvi#43
The usual parameters handled by Qt™ and KDE applications
also work: kdvi
-style
windows
-display
:0
-geometry
400x400+0+0
-caption
"DVI"
Would you like to comment or contribute an update to this page?
Send feedback to the TDE Development Team