XDVI(1)
NAME
xdvi - DVI Previewer for the X Window System
SYNOPSIS
xdvi
[+[page]] [-s shrink] [-S density]
[-nogrey] [-gamma g]
[-p pixels]
[-margins dimen]
[-sidemargin dimen] [-topmargin dimen]
[-offsets dimen]
[-xoffset dimen] [-yoffset dimen]
[-paper papertype] [-altfont font]
[-nomakepk]
[-mfmode mode-def]
[-l]
[-rv]
[-expert]
[-mgs[n] size]
[-hush]
[-hushspecials] [-hushchars] [-hushchecksums]
[-safer]
[-fg color] [-bg color] [-hl color]
[-bd color] [-cr color]
[-bw width]
[-display host:display] [-geometry geometry]
[-icongeometry geometry] [-iconic]
[-font font]
[-keep] [-copy] [-thorough]
[-nopostscript]
[-noscan]
[-allowshell]
[-noghostscript]
[-interpreter path]
[-nogssafer]
[-gspalette palette]
[-debug bitmask] [-version]
dvi_file
DESCRIPTION
xdvi
is a program which runs under the X window system. It is used to preview
dvi
files, such as are produced by
tex
(1).
This program has the capability of showing the file shrunken by various
(integer) factors, and also has a ``magnifying glass'' which allows one
to see a small part of the unshrunk image momentarily.
Before displaying any page or part thereof, it checks to see if the
dvi
file has changed since the last time it was displayed. If this is the case,
then
xdvi
will reinitialize itself for the new
dvi
file. For this reason, exposing parts of the
xdvi
window while is running should be avoided. This feature allows you
to preview many versions of the same file while running
xdvi
only once.
In addition to using keystrokes to move within the file,
xdvi
provides buttons on the right side of the window, which are synonymous
with various sequences of keystrokes.
xdvi
can show PostScript<tm> specials by any of three methods.
It will try first to use Display PostScript<tm>, then NeWS, then it
will try to use Ghostscript to render the images. All of these options
depend on additional software to work properly; moreover, some of them
may not be compiled into this copy of
xdvi
.
For performance reasons,
xdvi
does not render PostScript specials in the magnifying glass.
OPTIONS
In addition to specifying the
dvi
file (with or without the
.dvi
extension),
xdvi
supports the following command line options. If the option begins with a
`
+
'
instead of a
`
-
',
the option is restored to its default value. By default, these options can
be set via the resource names given in parentheses in the description of
each option.
+
page
Specifies the first page to show. If
+
is given without a number, the last page is assumed; the first page is
the default.
-allowshell
(
.allowShell
)
This option enables the shell escape in PostScript specials.
(For security reasons, shell escapes are usually disabled.)
This option should be rarely used; in particular it should not be used just
to uncompress files: that function is done automatically if the file name
ends in
.Z
or
.gz
.
Shell escapes are always turned off if the
-safer
option is used.
-altfont
font
(
.altFont
)
Declares a default font to use when the font in the
dvi
file cannot be found. This is useful, for example, with PostScript <tm> fonts.
-background
color
(
.background
)
Determines the color of the background. Same as
-bg
.
-bd
color
(
.borderColor
)
Determines the color of the window border.
-bg
color
(
.background
)
Determines the color of the background.
-bordercolor
color
Same as
-bd
.
-borderwidth
width
(
.borderWidth
)
Specifies the width of the border of the window. Same as
-bw
.
-bw
width
(
.borderWidth
)
Specifies the width of the border of the window.
-copy
(
.copy
)
Always use the
copy
operation when writing characters to the display.
This option may be necessary for correct operation on a color display, but
overstrike characters will be incorrect.
If greyscale anti-aliasing is in use, the
-copy
operation will disable the use of colorplanes and make overstrikes come
out incorrectly.
See also
-thorough
.
-cr
color
(
.cursorColor
)
Determines the color of the cursor. The default is the color of the page
border.
-debug
bitmask
(
.debugLevel
)
If nonzero, prints additional debugging information on standard output.
The bitmask should be given as a decimal number. The values of the bits
are defined in the source file
xdvi.h
.
-density
density
(
.densityPercent
)
Determines the density used when shrinking bitmaps for fonts.
A higher value produces a lighter font. The default value is 40. Same as
-S
.
-display
host
:
display
Specifies the host and screen to be used for displaying the
dvi
file. By default this is obtained from the environment variable