]>
Commit | Line | Data |
---|---|---|
768e5264 AM |
1 | diff -up texlive-2007/texk/tetex/texdoc.man.texdoc texlive-2007/texk/tetex/texdoc.man |
2 | --- texlive-2007/texk/tetex/texdoc.man.texdoc 2008-01-22 09:34:54.000000000 +0100 | |
3 | +++ texlive-2007/texk/tetex/texdoc.man 2008-01-22 09:37:03.000000000 +0100 | |
4 | @@ -28,28 +28,37 @@ distribution\&. | |
5 | .PP | |
6 | .SH "OPTIONS" | |
7 | .PP | |
8 | -.IP "\fB--help\fP" | |
9 | +.IP "\fB\-\-help\fP" | |
10 | Display a brief summary of options\&. | |
11 | .IP | |
12 | -.IP "\fB-l\fP" | |
13 | +.IP "\fB\-l\fP" | |
14 | List matching files\&. Does not start a viewer\&. | |
15 | -.IP "\fB-v\fP" | |
16 | +.PP | |
17 | +.IP "\fB\-s\fP" | |
18 | +Search the disk. From all documentation files found by texdoc, the | |
19 | +ones whose names match the remaining arguments (as egrep pattern) will | |
20 | +be displayed. | |
21 | +.IP "\fB\-v\fP" | |
22 | Sets verbose mode\&. Shows the command being used to | |
23 | display the documentation\&. | |
24 | .PP | |
25 | .SH "ENVIRONMENT" | |
26 | .PP | |
27 | .IP "\fB$TEXDOCVIEW_dvi\fP" | |
28 | -DVI viewer\&. Defaults to \fBxdvi\fP(1)\&. | |
29 | +DVI viewer\&. The default is to use the program specified | |
30 | +by the freedesktop standard\&. | |
31 | .IP "\fB$TEXDOCVIEW_pdf\fP" | |
32 | -PDF viewer\&. Defaults to \fBacroread\fP(1)\&. | |
33 | +PDF viewer\&. The default is to use the program specified | |
34 | +by the freedesktop standard\&. | |
35 | .IP "\fB$TEXDOCVIEW_ps\fP" | |
36 | -PostScript viewer\&. Defaults to | |
37 | -\fBghostview\fP(1)\&. | |
38 | +PostScript viewer\&. The default is to use the program specified | |
39 | +by the freedesktop standard\&. | |
40 | .IP "\fB$TEXDOCVIEW_html\fP" | |
41 | -HTML viewer\&. Defaults to \fBnetscape\fP(1)\&. | |
42 | +HTML viewer\&. The default is to use a program through | |
43 | +\fBxdg-open\fP\&. | |
44 | .IP "\fB$TEXDOCVIEW_txt\fP" | |
45 | -Text viewer\&. Defaults to \fB$PAGER-more\fP\&. | |
46 | +Text viewer\&. Defaults is to use the program specified | |
47 | +by the freedesktop standard\&. | |
48 | .PP | |
49 | The environment variables should be set with a ``%s\&'\&' as a placeholder | |
50 | for the name of the file\&. For example, | |
51 | @@ -66,10 +75,18 @@ hostname$ TEXDOCVIEW_html="mozilla %s" | |
52 | hostname$ export TEXDOCVIEW_html | |
53 | .EE | |
54 | .PP | |
55 | +.SH "SPECIFIC TO DEBIAN AND FEDORA" | |
56 | +.PP | |
57 | +The Debian and Fedora TeX Live packages texdoc use the mime-support package to determine | |
58 | +the appropriate viewer for the respective file type except for | |
59 | +\fIdvi\fP. texdoc of Debian and Fedora is able to handle gzip- and | |
60 | +bzip2-compressed files. If texdoc finds more than on file for a string | |
61 | +the first hit is displayed. The file extensions are regarded and the | |
62 | +search order can be configured in \fItexmf.cnf\fP (\fI90TeXDoc.cnf\fP). | |
63 | +.PP | |
64 | .SH "SEE ALSO" | |
65 | .PP | |
66 | -\fBacroread\fP(1), \fBgv\fP(1), \fBkpsewhich\fP(1), | |
67 | -\fBless\fP(1), \fBmore\fP(1), \fBxdvi\fP(1) | |
68 | +\fBxdg-open\fP(1) | |
69 | .PP | |
70 | Web page: <http://tug\&.org/teTeX/> | |
71 | .PP | |
72 | diff -up texlive-2007/texk/tetex/texdoc.texdoc texlive-2007/texk/tetex/texdoc | |
73 | --- texlive-2007/texk/tetex/texdoc.texdoc 2006-01-17 22:41:51.000000000 +0100 | |
74 | +++ texlive-2007/texk/tetex/texdoc 2008-01-22 09:39:17.000000000 +0100 | |
75 | @@ -17,6 +17,15 @@ | |
76 | # | |
77 | # Support for compressed documentation implemented by adopting changes | |
78 | # made by debian. Thomas Esser, Dec. 2004. | |
79 | +# | |
80 | +# Debian specific changes: | |
81 | +# Denis Barbier <barbier@imacs.polytechnique.fr>, Feb 15 2000 | |
82 | +# * accept gzipped files on input | |
83 | +# * temporary directory set according to TMPDIR | |
84 | +# | |
85 |