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