Find a file
Hans Petter Bieker 88d1993362 CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST"
:-)

svn path=/trunk/kdegraphics/kdvi/; revision=59876
2000-08-06 10:25:11 +00:00
doc added DVI-file (Kulow suggested not to run latex during make) 2000-07-18 10:41:49 +00:00
examples genl. bugfixes and small improvements 2000-06-14 04:15:22 +00:00
kpathsea provide a default for vartexfonts (/var/tmp/texfonts), that paths.h is no 2000-07-17 15:11:53 +00:00
make somehow make-3.77 doesn't like the stuff out of tetex's Makefiles 1999-06-08 12:15:48 +00:00
pix New icon names 2000-03-25 19:33:58 +00:00
AUTHORS Implemented Hyperlinks 2000-06-11 07:04:57 +00:00
c-openmx.h imported kdvi 1997-10-18 11:34:02 +00:00
ChangeLog Bernd: KDvi uses KFileDialog now 1998-06-29 06:42:15 +00:00
configure.in.in adding support in am_edit for 1999-11-11 15:10:22 +00:00
dvi.h imported kdvi 1997-10-18 11:34:02 +00:00
dvi_init.cpp CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST" 2000-08-06 10:25:11 +00:00
dvi_init.h added PSGraphics-cache, source cleanup 2000-06-23 00:22:44 +00:00
dviwin.cpp CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST" 2000-08-06 10:25:11 +00:00
dviwin.h CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST" 2000-08-06 10:25:11 +00:00
dviwin_draw.cpp CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST" 2000-08-06 10:25:11 +00:00
font.cpp fixed word puzzles 2000-07-13 15:50:19 +00:00
font.h Further re-implementation of PostScript 2000-06-09 05:31:11 +00:00
glyph.cpp i18n-ification 2000-07-08 11:10:43 +00:00
glyph.h Source code cleanup 2000-05-23 00:20:27 +00:00
kdvi Make kdvi usable again in the menu, as well as in 2000-05-15 08:39:49 +00:00
kdvi.desktop Ok, my mistake ;-))) 2000-06-04 15:55:22 +00:00
kdvi.lsm * Qt v1.3x etc -> Qt 1999-04-13 16:35:48 +00:00
kdvi_multipage.cpp CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST" 2000-08-06 10:25:11 +00:00
kdvi_multipage.h CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST" 2000-08-06 10:25:11 +00:00
kdvi_part.rc beautification & Error Form 2000-07-05 10:44:59 +00:00
Makefile.am change to retrigger Makefile regeneration 2000-07-17 15:21:30 +00:00
oconfig.h QT-ification and C++-ification 2000-02-29 11:27:53 +00:00
optiondialog.cpp minor bugfixes 2000-08-02 10:32:02 +00:00
optiondialog.h minor bugfixes 2000-08-02 10:32:02 +00:00
pk.cpp bzero -> memset 2000-07-24 21:21:21 +00:00
print.cpp CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST" 2000-08-06 10:25:11 +00:00
print.dlg imported kdvi 1997-10-18 11:34:02 +00:00
print.h CXXFLAGS="$CXXFLAGS -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST" 2000-08-06 10:25:11 +00:00
print.prj imported kdvi 1997-10-18 11:34:02 +00:00
printData.cpp includemocs. Again. 2000-07-17 15:18:43 +00:00
printData.h CVS_SILENT ported to Qt 2.0 1999-03-01 23:45:56 +00:00
printSetup.cpp includemocs. Again. 2000-07-17 15:18:43 +00:00
printSetup.dlg imported kdvi 1997-10-18 11:34:02 +00:00
printSetup.h imported kdvi 1997-10-18 11:34:02 +00:00
printSetupData.cpp includemocs. Again. 2000-07-17 15:18:43 +00:00
printSetupData.h CVS_SILENT ported to Qt 2.0 1999-03-01 23:45:56 +00:00
psgs.cpp Added help for kdvi; minor bugfixing 2000-06-30 06:41:47 +00:00
psgs.h added psgs.h which I had forgotten 2000-06-24 04:43:55 +00:00
psheader.txt added PSGraphics-cache, source cleanup 2000-06-23 00:22:44 +00:00
README.kdvi * kfm is actually konqueror (more or less). 2000-05-19 20:45:35 +00:00
special.cpp Fix hyperlink bug, remove "beta" from version name 2000-07-18 11:38:27 +00:00
squeeze.c WABA: Fixed compiler warning 1999-07-24 21:08:11 +00:00
TODO minor bugfixes 2000-08-02 10:32:02 +00:00
util.cpp i18n-ification 2000-07-08 11:10:43 +00:00
vf.cpp bzero -> memset 2000-07-24 21:21:21 +00:00
xdvi.h added PSGraphics-cache, source cleanup 2000-06-23 00:22:44 +00:00

kdvi 0.4 - Alpha release
~~~~~~~~~~~~~~~~~~~~~~~~

This is a port of xdvik version 18f by many authors (see files AUTHORS)
to the K Desktop Environment. kdvi is used to view TeX DVI files. It is
a replacement of xdvi from tetex-distribution and uses the kpathsea
library to find the needed pk-font files. If you have tetex you should be
able to run kdvi. It requires also Ghostcript to render any postscript
specials in dvi files. kdvi uses the Qt toolkit.

This version is quite useable.


Note.	The make step currently runs configure in the kpathsea subdirectory.
	I may eliminate this in a later version.

If xdvi from tetex works for you then so should kdvi.
However, it has only been tested on Linux. The support for handling the xdvi
command line arguments and X application defaults is missing (partly replaced
by KConfig, see below and online help).
Postscript special handling only supported with Ghostscript.


CONFIGURATION
~~~~~~~~~~~~~

Version 0.4 can be configured through dialogs.

Before giving kdvi a file to open you should set the following entries in Fonts
page of Preferences:

o Resolution	Set this to the base resolution of your printer if you
		have already PK-fonts for printer available.

o MetafontMode  This you can set to match the definition of your printer or
		use the default mode '/'.

It is necessary to set the Resolution as required by your TeX installation.
(tetex stores this usually in /usr/lib/texmf/texmf/xdvi/XDvi). MetafontMode is
needed when you want to enable automatic pk-font generation (menu option).
See online help for more info.

These variables should preferably be set in the system wide configuration file.
The system administrator can set the proper values ( and other settings as
desired ) with kdvi and copy the config file ~/.kde/share/config/kdvirc
to $KDEDIR/share/config/kdvirc. 

You can also specify the paths where your pk-fonts are located, if
kdvi does not find them automatically, by setting entry 'PK Font Path' to
the list of directories to be searched:

/var/lib/texmf/fonts/pk/ljfour/:/some/other/place

You can make kdvi search recursively by adding an extra / at the end of
directory name:

/var/lib/texmf/fonts//

This works like xdvi's XDVIFONTS environment variable.
There is also good (gnu info) documentation available for the kpathsea library
that kdvi uses for font searching.

USAGE:
~~~~~~

The dvi viewer may be started using a file name to display a file, e.g:

	kdvi somepath/paper.dvi

or without a file name as

	kdvi

kdvi will then allow a file to be opened from a dialog or when dropped from
file manager (konqueror).

The usual parameters handled by Qt should also work:

	kdvi -style windows -display :0 -geometry 400x400+0+0


CHANGES:
~~~~~~~~

Version 0.4
~~~~~~~~~~~

-	Antialiased PostScript specials

-	Support session management

-	Changes menu accelerators according to KKeyConfig settings.
	Shortcuts should follow KDE standard.
	
-	Statusbar shows the coordinates of a clicked point in millimeters.

-	Changed build to use automake (not for kpathsea yet)

-	Better print dialog + print setup dialog. Support for dvilj4 and dvips.

-	Automatic reload when dvi file is updated

-	Uses KToolbar, KStatusbar and KTopLevelWidget

-	Command line option '-caption'

-	Uses KIconLoader and KDebugDialog

-	Partial support for translations

-	Many bug fixes

-	Internal changes

-	Miscellanous other changes


Version 0.3
~~~~~~~~~~~

-	Preferences dialog

-	Paper type selectable

-	Configurable key bindings with kkeyconfig (first cut)

-	Works with kdisplay

-	Uses KMsgBox dialogs

-	Sticky popup menus

-	Needs Qt 1.2 ( check marks in menus )

-	Many bug fixes

-	More KDE conforming


Version 0.2	
~~~~~~~~~~~

-	Configuration file uses different variables

-	Status bar and vertical toolbar

-	Added a page list for selecting the current page and marking pages
	for printing.

-	Initial print dialog. Does not support printing of marked pages that
	have page numbers different from the sequence number (pages are not
	numbered as 1,2,3...). Requires dvips for converting dvi to PostScript,
	gv for previewing PS and mpage for printing multiple pages per sheet.
	(These should be replaced by kprogs.)

-	A scroller widget that can also select the next or previous page.

-	Support for new TeX config file format of tetex 4

-	File drops accepted (local files only)

-	Many bug fixes

-	Builds using configure

-	Screen updating reduced and scrolling made smoother.
	This results in kdvi allocating huge amounts of memory when using large
	magnifications.

Version 0.1
~~~~~~~~~~~

First release. Should be quite usable, with some problems on error handling
(bad dvi etc.) and postscript special handling. All enabled menu entries and
toolbar buttons are operational, many keybindings are available (see help)
allthough probably not KDE-conformant (expect changes).