O'Reilly logo

Linux Pocket Guide, 2nd Edition by Daniel J. Barrett

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

xdvi — stdin  stdout  - file  -- opt  --help  --version

Synopsis

xdvi [options] file

The document processing system TeX produces binary output files in a format called DVI, with suffix .dvi. The viewer xdvi displays a DVI file in an X window. While displaying a file, xdvi has a column of buttons down the right-hand side with obvious uses, such as Next to move to the next page. (You can hide the buttons by invoking xdvi with the -expert option.) You can also navigate the file by keystroke.

Keystroke

Meaning

q

Quit.

n

Jump to next page. (Alternatively, press Space bar, Enter, or Pagedown.) Precede it with a number N to jump by N pages.

p

Jump to previous page. (Alternatively, press Backspace, Delete, or Pageup.) Precede it with a number N to jump by N pages.

<

Jump to first page.

>

Jump to last page.

^L

Redisplay the page.

R

Reread the DVI file, say, after you’ve modified it.

Any mouse button

Magnify a rectangular region under the mouse cursor.

xdvi has dozens of command-line options for tailoring its colors, geometry, zoom, and overall behavior.

If you prefer, convert a DVI file to PostScript via the dvips command and then use GhostView (gv) to display it:

$ dvips -o myfile.ps myfile.dvi
$ gv myfile.ps

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required