Debian Codegraph @

texk/xdvik/xdvizilla.1

raw
1 .\" Copyright (c) 2002-2004 Paul Vojta
2 .\"
3 .\" Permission is hereby granted, free of charge, to any person obtaining a copy
4 .\" of this software and associated documentation files (the "Software"), to
5 .\" deal in the Software without restriction, including without limitation the
6 .\" rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
7 .\" sell copies of the Software, and to permit persons to whom the Software is
8 .\" furnished to do so, subject to the following conditions:
9 .\"
10 .\" The above copyright notice and this permission notice shall be included in
11 .\" all copies or substantial portions of the Software.
12 .\"
13 .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 .\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 .\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
16 .\" PAUL VOJTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17 .\" IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
18 .\" CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19 .\"
20 .TH XDVIZILLA 1 "11 October 2002" "X Version 11"
21 .SH NAME
22 xdvizilla \- Helper application for running xdvi
23 .SH SYNOPSIS
24 .B xdvizilla
25 [\fB\-no\-rm\fP]
26 .I file
27 .SH DESCRIPTION
28 Presently (October 2002), Mozilla has some bugs with helper applications:
29 it passes gzipped
30 .RB ( .gz )
31 files directly to the helper application without uncompressing, and it
32 passes compressed
33 .RB ( .Z )
34 files as empty files.
35 .PP
36 To work around these problems,
37 .B xdvizilla
38 was written to look at files and decompress them correctly (depending on
39 their file types).
40 .PP
41 In addition, some sites produced tarred
42 .I dvi
43 files (including the
44 .I dvi
45 file as well as some included figures), and
46 .B xdvizilla
47 correctly handles those files as well.
48 .SH OPTIONS
49 Only one option is supported:
50 .TP
51 .B \-no\-rm
52 Normally
53 .B xdvizilla
54 will remove
55 .I file
56 before finishing. This option inhibits this behavior.
57 .SH INSTALLATION
58 In addition to installing
59 .B xdvizilla
60 in a directory on the default search path, it is necessary to set it up
61 as a helper application within the browser.
62 .PP
63 For
64 .BR "Netscape 4.x" ,
65 add the following lines to the
66 .B mailcap
67 file:
68 .RS 5
69 .nf
70 .ft 3
71 .sp 1n
72 application/x-dvi; xdvi -safer %s
73 application/x-dvi-tar; xdvizilla -no-rm %s
74 .sp 1n
75 .ft
76 .fi
77 .RE
78 .PP
79 For
80 .BR "Netscape 6.x" ,
81 .BR "Netscape 7.x" ,
82 or
83 .BR "Mozilla 1.x" ,
84 add the following lines to the
85 .B mailcap
86 file:
87 .RS 5
88 .nf
89 .ft 3
90 .sp 1n
91 application/x-dvi; xdvizilla %s
92 application/x-dvi-tar; xdvizilla %s
93 .sp 1n
94 .ft
95 .fi
96 .RE
97 .PP
98 In addition, it would be useful to check that the following line is included
99 in the
100 .B mime.types
101 file:
102 .RS 5
103 .nf
104 .ft 3
105 .sp 1n
106 type=application/x-dvi exts="dvi" desc="TeX dvi file"
107 .sp 1n
108 .ft
109 .fi
110 .RE
111 .SH SEE ALSO
112 .BR X (1),
113 .BR xdvi (1).
114 .SH AUTHOR
115 Paul Vojta, U.C. Berkeley.