@@ -7,8 +7,8 @@ \section{Standard Module \sectcode{mailcap}}
77as mail readers and Web browsers react to files with different MIME
88types. (The name `` mailcap'' is derived from the phrase `` mail
99capability'' .) For example, a mailcap file might contain a line like
10- \verb \ video/mpeg; xmpeg %s \ . Then, if the user encounters an email
11- message or Web document with the MIME type video/mpeg, \verb \%s \ will be
10+ \samp { video/mpeg; xmpeg \% s} . Then, if the user encounters an email
11+ message or Web document with the MIME type video/mpeg, \code { \% s} will be
1212replaced by a filename (usually one belonging to a temporary file) and
1313the xmpeg program can be automatically started to view the file.
1414
@@ -38,11 +38,11 @@ \section{Standard Module \sectcode{mailcap}}
3838
3939\var {plist} can be a list containing named parameters; the default
4040value is simply an empty list. Each entry in the list must be a
41- string containing the parameter name, an equals sign (= ), and the
41+ string containing the parameter name, an equals sign (\code {=} ), and the
4242parameter's value. Mailcap entries can contain
43- named parameters like \verb \ % {foo} \ , which will be replaced by the
43+ named parameters like \code { \%\ { foo\} } , which will be replaced by the
4444value of the parameter named 'foo' . For example, if the command line
45- \verb \ showpartial % {id} % {number} % {total} \
45+ \samp { showpartial \%\ { id\} \%\ { number\} \%\ { total\} }
4646was in a mailcap file, and \var {plist} was set to \code {['id=1',
4747'number=2' , 'total=3' ]}, the resulting command line would be
4848\code {"showpartial 1 2 3"}.
@@ -56,7 +56,7 @@ \section{Standard Module \sectcode{mailcap}}
5656
5757\begin {funcdesc }{getcaps}{}
5858Returns a dictionary mapping MIME types to a list of mailcap file
59- entries. This dictionary must be passed to the \code {findmatch}
59+ entries. This dictionary must be passed to the \code {findmatch() }
6060function. An entry is stored as a list of dictionaries, but it
6161shouldn't be necessary to know the details of this representation.
6262
0 commit comments